Ensure isinff, isinfl, isnanf, and isnanl are defined (Bug 19439)
[glibc.git] / ChangeLog
blobb481aa5f80d26dbaac4cbfaff8a9791020919902
1 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
2             Jonathan Wakely  <jwakely@redhat.com>
3             Carlos O'Donell  <carlos@redhat.com>
5         [BZ 19439]
6         * math/Makefile (tests): Add test-math-isinff.
7         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8         * math/bits/mathcalls.h [__USE_MISC]: Use
9         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
10         functions not in C++11 and which don't conflict e.g. isinff,
11         isinfl etc.
12         * math/test-math-isinff.cc: New file.
14 2016-02-12  Florian Weimer  <fweimer@redhat.com>
16         * misc/bug18240.c (do_test): Set RLIMIT_AS.
18 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20         [BZ #19529]
21         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
23 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
27 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
29         [BZ #19550]
30         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
31         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
32         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
33         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
34         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
35         New syscall entry.
36         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
37         New syscall entry.
38         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
39         syscall entry.
41 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
43         [BZ #18240]
44         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
45         unsigned int wraparound.
47 2016-01-27  Florian Weimer  <fweimer@redhat.com>
49         [BZ #18240]
50         * misc/bug18240.c: New test.
51         * misc/Makefile (tests): Add it.
53 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
54             Joseph Myers  <joseph@codesourcery.com>
56         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
57         load in branch delay slot when less than a word of input left.
59 2016-01-27  Andreas Schwab  <schwab@suse.de>
61         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
62         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
63         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
64         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
66 2016-01-26  David S. Miller  <davem@davemloft.net>
68         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
70 2016-01-25  David S. Miller  <davem@davemloft.net>
72         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
73         __sqrtl_finite.
74         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
75         instead using versioned_symbol.
76         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
77         of entries.
79         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
80         __sqrtl_finite to GLIBC_2.23
82 2016-01-25  Ricchard Henderson  <rth@redhat.com>
84         * sysdeps/alpha/fpu/libm-test-ulps: Update.
86 2016-01-25  Andreas Schwab  <schwab@suse.de>
88         [BZ #17514]
89         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
90         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
91         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
92         * nptl/tst-mutex-errorcheck.c: New file.
94 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
96         [BZ #18560]
97         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
98         (IPCOP_semop): Likewise.
99         (IPCOP_semget): Likewise.
100         (IPCOP_semctl): Likewise.
101         (IPCOP_msgsnd): Likewise.
102         (IPCOP_msgrcv): Likewise.
103         (IPCOP_msgget): Likewise.
104         (IPCOP_msgctl): Likewise.
105         (IPCOP_shmat): Likewise.
106         (IPCOP_shmdt): Likewise.
107         (IPCOP_shmget): Likewise.
108         (IPCOP_shmctl): Likewise.
110 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
112         * string/tst-endian.c: Include <libc-internal.h>.
113         (do_test): Ignore tautological-compare warnings around
114         "htobeXX (beXXtoh (i)) != i" and
115         "htoleXX (leXXtoh (i)) != i" if-statements.
117 2016-01-24  David S. Miller  <davem@davemloft.net>
119         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
120         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
121         alias.
122         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
123         __sqrtl_finite.
125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
127 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
129         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
130         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
131         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
133 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
135         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
136         (thread_func): Use new function to simplify barrier check.
137         (do_test): Use new function to simplify checking barrier exit
138         code, and actually join the child thread.
140 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
142         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
143         semicolon.
144         (__libc_tend): Likewise.
145         (__libc_tabort): Likewise.
147 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
149         * sysdeps/nios2/libm-test-ulps: Update.
150         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
151         (__gtsf2): Likewise.
152         (__unorddf2): Likewise.
153         (__unordsf2): Likewise.
154         (__ledf2): Likewise.
156 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
158         * nis/nis_table.c (__follow_path): Disable diagnostic for
159         uninitialized variable that is a false positive for gcc 4.7.
160         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
162 2016-01-20  Roland McGrath  <roland@hack.frob.com>
164         * sysdeps/nacl/lowlevellock-futex.h
165         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
166         Always evaluate PRIVATE argument.
168 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
170         [BZ #19490]
171         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
172         (pthread_cond_broadcast): Use ENTRY/END
173         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
174         (pthread_cond_signal): Likewise
175         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
176         Likewise
177         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
178         Likewise
179         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
180         Likewise
182 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
184         * sysdeps/ieee754/dbl-64/s_finite.c
185         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
186         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
187         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
188         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
189         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
192         (__gtsf2): Add as optional for libc.so.
193         (__unordsf2): Likewise.
194         (__signbit): Remove for libc.so.
195         (__signbitl): Likewise.
197 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
199         * iconvdata/bug-iconv11.c (test_ibm93x):
200         Use %zu printf format specifier for size_t argument.
202 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
204         * math/gen-libm-test.pl (parse_ulps): Do not reduce
205         already-recorded ulps.
206         * sysdeps/arm/libm-test-ulps: Regenerated.
207         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
208         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
209         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
211 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
212             Paul Pluzhnikov  <ppluzhnikov@google.com>
214         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
215         assembler not supporting AVX-512.
217 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
219         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
221 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
223         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
224         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
226         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
228         * sysdeps/arm/libm-test-ulps: Regenerated.
230 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
232         [BZ #19451]
233         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
235 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
237         [BZ #19486]
238         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
239         * sysdeps/generic/fix-fp-int-convert-overflow.h
240         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
241         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
242         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
243         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
244         Likewise.
245         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
246         Avoid conversions to long int where inexact exceptions
247         could be raised.
248         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
249         Likewise.
250         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
251         Avoid conversions to long long int where inexact exceptions
252         could be raised.
253         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
254         Likewise.
256 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
258         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
259         * configure: Regenerated.
261 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
263         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
265 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
267         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
268         outside of comment.
270 2016-01-15  Torvald Riegel  <triegel@redhat.com>
272         * nptl/tst-barrier1.c: Add description on first line.
273         * nptl/tst-barrier2.c: Likewise.
274         * nptl/tst-barrier3.c: Likewise.
275         * nptl/tst-barrier4.c: Likewise.
276         * nptl/tst-barrier5.c: Likewise.
278 2016-01-15  Torvald Riegel  <triegel@redhat.com>
280         [BZ #18868]
281         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
283 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
285         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
286         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
287         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
288         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
289         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
290         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
291         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
292         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
293         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
294         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
295         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
297 2016-01-15  Torvald Riegel  <triegel@redhat.com>
299         [BZ #13065]
300         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
301         new implementation.
302         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
303         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
304         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
305         (BARRIER_IN_THRESHOLD): New macro.
306         * nptl/pthread_barrierattr_setpshared.c
307         (pthread_barrierattr_setpshared): Clean up.
308         * nptl/tst-barrier4.c: Correct comment.
309         * nptl/tst-barrier5.c: New file.
310         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
311         (gen-as-const-headers): Remove lowlevelbarrier.sym.
312         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
313         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
314         * nptl/lowlevelbarrier.sym: Remove.
315         * nptl/DESIGN-barrier.txt: Remove.
316         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
317         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
318         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
319         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
320         error.
321         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
322         implementation.
324 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
326         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
327         (do_child): Mask SIGRTMIN while thr is running.
329 2016-01-15  Martin Sebor  <msebor@redhat.com>
331         [BZ #19432]
332         * iconvdata/Makefile: Add bug-iconv11.
333         * iconvdata/bug-iconv11.c: New test.
334         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
335         * iconvdata/ibm933.c: Same.
336         * iconvdata/ibm935.c: Same.
337         * iconvdata/ibm937.c: Same.
338         * iconvdata/ibm939.c: Same.
340 2016-01-15  Martin Sebor  <msebor@redhat.com>
342         [BZ #19443]
343         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
344         [DEBUG] (_ufc_set_bits): Declare used.
345         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
346         [DEBUG] (print_all): Declare used.
347         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
348         operands of the ternary ?: expression to target type.
349         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
350         calling the undeclared abort.
351         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
353 2016-01-15  Martin Sebor  <msebor@redhat.com>
355         [BZ #18755]
356         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
357         warnings.
358         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
359         (__gai_create_helper_thread): Same.
360         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
361         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
362         to suppress -Wmaybe-uninitialized warnings.
364 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
366         [BZ #19465]
367         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
368         inside if.
369         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
370         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
371         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
373 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
375         [BZ #19466]
376         * time/tst-mktime2.c (time_t_max): Removed.
377         (time_t_min): Likewise.
378         (TYPE_SIGNED): New.
379         (TYPE_MINIMUM): Likewise.
380         (TYPE_MAXIMUM): Likewise.
381         (TIME_T_MIN): Likewise.
382         (TIME_T_MAX): Likewise.
383         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
384         and TIME_T_MIN.
385         (do_test): Likewise.
387 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
389         [BZ #19467]
390         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
391         index_Fast_Unaligned_Load flag for Excavator family CPUs.
393 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
395         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
397 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
399         * benchtests/Makefile (PYTHON): Define.
400         (bench-func): Use $(PYTHON) to run python scripts.
401         ($(objpfx)bench-%.c): Likewise.
403 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
405         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
406         leading slash when `file_name' is "/".
408 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
410         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
411         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
412         Likewise.
413         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
414         Likewise.
415         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
416         Likewise.
417         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
418         enum constant and macro.
419         (PTRACE_SETSIGMASK): Likewise.
420         (PTRACE_SECCOMP_GET_FILTER): Likewise.
421         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
422         (PTRACE_GETSIGMASK): Likewise.
423         (PTRACE_SETSIGMASK): Likewise.
424         (PTRACE_SECCOMP_GET_FILTER): Likewise.
425         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
426         Likewise.
427         (PTRACE_SETSIGMASK): Likewise.
428         (PTRACE_SECCOMP_GET_FILTER): Likewise.
429         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
430         (PTRACE_GETSIGMASK): Likewise.
431         (PTRACE_SETSIGMASK): Likewise.
432         (PTRACE_SECCOMP_GET_FILTER): Likewise.
433         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
434         Likewise.
435         (PTRACE_SETSIGMASK): Likewise.
436         (PTRACE_SECCOMP_GET_FILTER): Likewise.
437         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
438         Likewise.
439         (PTRACE_SETSIGMASK): Likewise.
440         (PTRACE_SECCOMP_GET_FILTER): Likewise.
441         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
442         Likewise.
443         (PTRACE_SETSIGMASK): Likewise.
444         (PTRACE_SECCOMP_GET_FILTER): Likewise.
446 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
447             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
449         [BZ #19439]
450         * math/bits/mathcalls.h
451         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
452         prototype.
453         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
455 2016-01-11  Andreas Schwab  <schwab@suse.de>
457         [BZ #19253]
458         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
459         cache when TZDEFRULES was used.
460         * time/tst-tzname.c: New file.
461         * time/Makefile (test): Add tst-tzname.
462         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
463         * timezone/Makefile (test-zones): Add $(posixrules-file).
464         ($(testdata)/$(posixrules-file)): New rule.
466 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
468         Fix doc quoting problems with Texinfo 5
469         Without this change, in the info file output, Texinfo 5 quotes code
470         in text with undirected single quotes 'like this' and generates
471         code examples that with many PDF readers cannot be cut out of PDFs
472         and pasted into code.
473         * manual/libc.texinfo: Configure the libc manual like the GNU
474         Emacs manual, by using @documentencoding and setting
475         txicodequoteundirected and txicodequotebacktick.  This way,
476         Texinfo 5 quotes code in text with directed single quotes ‘like
477         this’ and produces examples that can be cut out of PDFs.  This
478         change causes Texinfo 5 to generate info files that contain UTF-8
479         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
480         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
482 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
484         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
485         __libc_tabort, __libc_tend): New wrappers that enforce compiler
486         barriers to their respective compiler built-ins.
487         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
488         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
489         * sysdeps/powerpc/sysdep.h: Likewise.
490         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
491         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
492         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
494 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
496         * scripts/config.guess: Revert previous shebang change.
497         * scripts/config.sub: Likewise.
498         * scripts/mkinstalldirs: Likewise.
500 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
502         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
503         PPC_FEATURE2_HAS_IEEE128.
504         * sysdeps/powerpc/dl-procinfo.c:
505         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
507 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
509         [BZ #19415]
510         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
511         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
512         (_dl_lookup_address): Rewrite using function resolver trampoline.
513         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
514         two bits in address.
516 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
518         * longlong.h: Change !__SHMEDIA__ to
519         (!defined (__SHMEDIA__) || !__SHMEDIA__).
520         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
522 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
523             Joseph Myers  <joseph@codesourcery.com>
524             Mark Shinwell  <shinwell@codesourcery.com>
525             Andrew Stubbs  <ams@codesourcery.com>
526             Rich Felker <dalias@libc.org>
528         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
530 2016-01-07  Richard Henderson  <rth@redhat.com>
532         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
534 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
536         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
537         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
538         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
539         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
540         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
542 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
543             Joseph Myers  <joseph@codesourcery.com>
545         * timezone/private.h: Update from tzcode 2015g.
546         * timezone/tzfile.h: Likewise.
547         * timezone/tzselect.ksh: Likewise.
548         * timezone/zdump.c: Likewise.
549         * timezone/zic.c: Likewise.
550         * timezone/ialloc.c: Remove file.
551         * timezone/scheck.c: Likewise.
552         * timezone/Makefile (extra-objs): Remove variable.
553         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
554         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
555         -Wno-maybe-uninitialized.
556         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
557         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
558         (CFLAGS-ialloc.c): Remove variable.
559         (CFLAGS-scheck.c): Likewise.
560         * timezone/README: Update list of files from tzcode.
562 2016-01-07  Khem Raj  <raj.khem@gmail.com>
564         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
565         instead of __fxprintf when _LIBC is undefined.
567 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
569         * catgets/test-gencat.sh: Remove space after shebang.
570         * conform/GlibcConform.pm: Likewise.
571         * conform/check-header-lists.sh: Likewise.
572         * conform/conformtest.pl: Likewise.
573         * conform/linknamespace.pl: Likewise.
574         * conform/list-header-symbols.pl: Likewise.
575         * debug/catchsegv.sh: Likewise.
576         * elf/genrtldtbl.awk: Likewise.
577         * elf/tst-pathopt.sh: Likewise.
578         * elf/tst-rtld-load-self.sh: Likewise.
579         * grp/tst_fgetgrent.sh: Likewise.
580         * iconvdata/gen-8bit-gap-1.sh: Likewise.
581         * iconvdata/gen-8bit-gap.sh: Likewise.
582         * iconvdata/gen-8bit.sh: Likewise.
583         * iconvdata/run-iconv-test.sh: Likewise.
584         * intl/tst-gettext.sh: Likewise.
585         * intl/tst-gettext2.sh: Likewise.
586         * intl/tst-gettext4.sh: Likewise.
587         * intl/tst-gettext6.sh: Likewise.
588         * intl/tst-translit.sh: Likewise.
589         * io/ftwtest-sh: Likewise.
590         * libio/test-freopen.sh: Likewise.
591         * locale/gen-translit.pl: Likewise.
592         * malloc/tst-mtrace.sh: Likewise.
593         * manual/check-safety.sh: Likewise.
594         * manual/libc-texinfo.sh: Likewise.
595         * manual/tsort.awk: Likewise.
596         * manual/xtract-typefun.awk: Likewise.
597         * nptl/tst-cancel-wrappers.sh: Likewise.
598         * nptl/tst-tls6.sh: Likewise.
599         * posix/globtest.sh: Likewise.
600         * posix/tst-getconf.sh: Likewise.
601         * posix/wordexp-tst.sh: Likewise.
602         * scripts/check-c++-types.sh: Likewise.
603         * scripts/check-local-headers.sh: Likewise.
604         * scripts/config.guess: Likewise.
605         * scripts/config.sub: Likewise.
606         * scripts/cpp: Likewise.
607         * scripts/cross-test-ssh.sh: Likewise.
608         * scripts/documented.sh: Likewise.
609         * scripts/evaluate-test.sh: Likewise.
610         * scripts/gen-libc-abis: Likewise.
611         * scripts/gen-sorted.awk: Likewise.
612         * scripts/list-fixed-bugs.py: Likewise.
613         * scripts/merge-test-results.sh: Likewise.
614         * scripts/mkinstalldirs: Likewise.
615         * scripts/rellns-sh: Likewise.
616         * scripts/test-installation.pl: Likewise.
617         * scripts/update-copyrights: Likewise.
618         * stdio-common/tst-printf.sh: Likewise.
619         * stdio-common/tst-unbputc.sh: Likewise.
620         * stdlib/tst-fmtmsg.sh: Likewise.
621         * stdlib/tst-setcontext3.sh: Likewise.
622         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
623         * sysdeps/unix/make-syscalls.sh: Likewise.
625 2016-01-06  John David Anglin  <dave.anglin@bell.net>
627         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
628         asm stw with atomic_exchange_rel.  Add explanatory comment.
629         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
630         Likewise.
632 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
634         [BZ #19122]
635         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
636         * sysdeps/generic/dl-unistd.h: New file.
637         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
639 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
641          [BZ #19122]
642          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
643          * sysdeps/generic/dl-mman.h: New file.
644          * sysdeps/mach/hurd/dl-mman.h: Likewise.
646 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
648         * manual/texinfo.tex: Update to version 2016-01-04.21 with
649         trailing whitespace removed.
650         * scripts/config.guess: Update to version 2016-01-01.
651         * scripts/config.sub: Update to version 2016-01-01.
652         * scripts/move-if-change: Update from gnulib.
654 2016-01-04  Anton Blanchard  <anton@samba.org>
656         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
657         for array indices.
658         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
660 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
662         * NEWS: Update copyright dates.
663         * catgets/gencat.c (print_version): Likewise.
664         * csu/version.c (banner): Likewise.
665         * debug/catchsegv.sh: Likewise.
666         * debug/pcprofiledump.c (print_version): Likewise.
667         * debug/xtrace.sh (do_version): Likewise.
668         * elf/ldconfig.c (print_version): Likewise.
669         * elf/ldd.bash.in: Likewise.
670         * elf/pldd.c (print_version): Likewise.
671         * elf/sotruss.sh: Likewise.
672         * elf/sprof.c (print_version): Likewise.
673         * iconv/iconv_prog.c (print_version): Likewise.
674         * iconv/iconvconfig.c (print_version): Likewise.
675         * locale/programs/locale.c (print_version): Likewise.
676         * locale/programs/localedef.c (print_version): Likewise.
677         * login/programs/pt_chown.c (print_version): Likewise.
678         * malloc/memusage.sh (do_version): Likewise.
679         * malloc/memusagestat.c (print_version): Likewise.
680         * malloc/mtrace.pl: Likewise.
681         * manual/libc.texinfo: Likewise.
682         * nptl/version.c (banner): Likewise.
683         * nscd/nscd.c (print_version): Likewise.
684         * nss/getent.c (print_version): Likewise.
685         * nss/makedb.c (print_version): Likewise.
686         * posix/getconf.c (main): Likewise.
687         * scripts/test-installation.pl: Likewise.
688         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
690         * All files with FSF copyright notices: Update copyright dates
691         using scripts/update-copyrights.
692         * intl/plural.c: Regenerated.
693         * locale/programs/charmap-kw.h: Likewise.
694         * locale/programs/locfile-kw.h: Likewise.
696 2016-01-02  Helge Deller  <deller@gmx.de>
698         [BZ #19285]
699         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
700         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
701         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
702         (MADV_xxK_PAGES): Remove.
704 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
706         [BZ #15421]
707         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
708         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
709         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
710         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
712 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
714         [BZ #19408]
715         * sysdeps/unix/sysv/linux/personality.c: New file.
716         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
717         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
718         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
719         (sysdep_routines): Add personality.
720         (tests): Add tst-personality.
721         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
722         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
723         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
724         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
725         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
726         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
727         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
728         Likewise.
729         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
730         Likewise.
731         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
732         Likewise.
733         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
734         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
735         Likewise.
737 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
739         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
740         (PATH_ARM_SYSTYPE): Remove.
741         (PATH_CPUINFO): Likewise.
742         (IO_BASE_FOOTBRIDGE): Likewise.
743         (IO_SHIFT_FOOTBRIDGE): Likewise.
744         (struct platform): Likewise.
745         (init_iosys): Remove compatibility code for 2.4 kernels.
746         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
748 2015-12-29  Florian Weimer  <fweimer@redhat.com>
750         * malloc/tst-malloc-thread-fail.c: New file.
751         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
752         (tst-malloc-thread-fail): Link against libpthread.
754 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
756         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
757         (get_parser): New function.
758         (main): New function.
760 2015-12-29  Rob Wu  <rob@robwu.nl>
762         [BZ #19369]
763         * resolv/res_init.c (__res_vinit): Reset defdname before use.
765 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
767         [BZ #19270]
768         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
770 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
772         [BZ #15421]
773         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
775 2015-12-23  Torvald Riegel  <triegel@redhat.com>
777         [BZ #13690]
778         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
779         after releasing it.
780         (__lll_robust_unlock): Likewise.
781         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
782         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
783         (lll_robust_unlock): Likewise.
784         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
785         Prevent warnings in callers.
787 2015-12-23  Florian Weimer  <fweimer@redhat.com>
789         * malloc/arena.c (list_lock): Update comment.
791 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
793         * sysdeps/powerpc/hwcapinfo.c: Export symbol
794         __parse_hwcap_and_convert_at_platform to libc.a.
796 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
798         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
799         platform and feature support for POWER9.
800         * sysdeps/powerpc/dl-procinfo.h: Likewise.
801         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
802         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
803         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
804         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
805         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
806         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
807         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
809 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
811         Harmonize generic stdio-lock support with nptl
813         This fixes build when _IO_funlockfile is a macro, fixes build where
814         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
815         stack unwind.
817         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
818         _IO_release_lock ): Use cleanup attribute on new
819         _IO_acquire_lock_file variable instead of assuming that
820         _IO_release_lock will be called.
821         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
822         _IO_acquire_lock_needs_exceptions_enabled.
823         (_IO_acquire_lock_clear_flags2): New macro.
825 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
827         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
829 2015-12-21  Florian Weimer  <fweimer@redhat.com>
831         [BZ #19182]
832         * malloc/arena.c (list_lock): Document lock ordering requirements.
833         (free_list_lock): New lock.
834         (ptmalloc_lock_all): Comment on free_list_lock.
835         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
836         (detach_arena): Update comment.  free_list_lock is now needed.
837         (_int_new_arena): Use free_list_lock around detach_arena call.
838         Acquire arena lock after list_lock.  Add comment, including FIXME
839         about incorrect synchronization.
840         (get_free_list): Switch to free_list_lock.
841         (reused_arena): Acquire free_list_lock around detach_arena call
842         and attached threads counter update.  Add two FIXMEs about
843         incorrect synchronization.
844         (arena_thread_freeres): Switch to free_list_lock.
845         * malloc/malloc.c (struct malloc_state): Update comments to
846         mention free_list_lock.
848 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
850         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
851         Remove functions.
852         (sloww, sloww1): Accept argument to offset quadrant.
853         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
854         quadrant.
855         (__sin, __cos): Consolidate common code into new functions.
856         (reduce_sincos_1, do_sincos_1): New functions.
857         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
859         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
860         code to new functions.
861         (reduce_sincos_2, do_sincos_2): New functions.
862         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
864         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
865         common code for sincos.
866         (__cos) [!IN_SINCOS]: Likewise.
867         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
868         New function.
869         (__sincos): Use it.
871 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
873         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
874         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
875         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
877 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
879         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
881         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
882         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
883         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
884         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
885         index_Prefer_No_VZEROUPPER): New feature.
886         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
887         Prefer_No_VZEROUPPER for Knights Landing.
889 015-12-18  Torvald Riegel  <triegel@redhat.com>
891         * math/atest-exp2.c (mp_exp_m1): Remove.
893 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
895         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
896         syscalls.
897         (__SYSCALL0): New macro.
898         (__SYSCALL1): Likewise.
899         (__SYSCALL2): Likewise.
900         (__SYSCALL3): Likewise.
901         (__SYSCALL4): Likewise.
902         (__SYSCALL5): Likewise.
903         (__SYSCALL6): Likewise.
904         (__SYSCALL_CONCAT_X): Likewise.
905         (__SYSCALL_CONCAT): Likewise.
906         (__SYSCALL_DIST): Likewise.
907         (__SYSCALL_CALL): Likewise.
909 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
911         [BZ #19363]
912         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
914 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
916         [BZ #19375]
917         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
918         negative subnormals.
920 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
922         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
923         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
924         (INTERNAL_SYSCALL_NCS): Use it.
925         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
927 2015-12-16  Florian Weimer  <fweimer@redhat.com>
929         [BZ #19243]
930         * malloc/arena.c (get_free_list): Remove assert and adjust
931         reference count handling.  Add comment about reused_arena
932         interaction.
933         (reused_arena): Add comments abount get_free_list interaction.
934         * malloc/tst-malloc-thread-exit.c: New file.
935         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
936         (tst-malloc-thread-exit): Link against libpthread.
938 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
940         [BZ #19367]
941         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
942         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
943         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
944         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
945         (index_Prefer_MAP_32BIT_EXEC): Likewise.
947 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
949         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
950         Silvermont optimizations for Knights Landing.
952 2015-12-15  Andreas Schwab  <schwab@suse.de>
954         [BZ #17197]
955         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
956         immediately after emitting SI.
957         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
958         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
959         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
960         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
961         * iconvdata/bug-iconv10.c: New file.
962         * iconvdata/Makefile (tests): Add bug-iconv10.
963         ($(objpfx)bug-iconv10.out): New rule.
965 2015-12-15  Florian Weimer  <fweimer@redhat.com>
967         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
968         aliasing violation.
970 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
972         [BZ #18472]
973         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
974         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
975         conditionals for them.
976         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
977         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
978         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
979         sys/kdaemon.h.
980         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
981         compat-only syscall, obsoleted in glibc 2.23.
982         (create_module): Likewise.
983         (get_kernel_syms): Likewise.
984         (query_module): Likewise.
985         (uselib): Likewise.
986         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
988 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
990         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
991         <linux/version.h>.
992         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
993         conditional code.
994         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
995         and ioshift_name initialization.
997 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
999         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1000         Fix indentation.
1002 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1004         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
1006 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
1008         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
1010 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
1011             Jakub Wilk  <jwilk@debian.org>
1013         [BZ #19347]
1014         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
1015         to change the group of the device to the tty group.
1017 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
1019         Split large string section; add truncation advice
1020         * manual/examples/strncat.c: Remove.
1021         This example was misleading, as the code would have undefined
1022         behavior if "hello" was longer than SIZE.  Anyway, the manual
1023         shouldn't encourage strncpy+strncat for this sort of thing.
1024         * manual/string.texi (Copying Strings and Arrays): Split into
1025         three sections Copying Strings and Arrays, Concatenating Strings,
1026         and Truncating Strings, as this section was way too long.  All
1027         cross-referenced changed.  Add advice about string-truncation
1028         functions.  Remove misleading strncat example.
1030 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
1032         * manual/nss.texi (NSS Modules Interface): Document
1033         NSS_STATUS_NOTFOUND and SUCCESS.
1035 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1037         [BZ 18568]
1038         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1039         201505L, for Unicode 8.
1041 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
1043         * locale/C-translit.h: Regenerate.
1045 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
1047         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
1048         and U+0153.
1050 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
1052         [BZ #19351]
1053         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
1054         expanding log(1+z), compare z rather than its square with epsilon
1055         to determine when to avoid evaluating the expansion.
1057         [BZ #19350]
1058         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1059         Increase overflow threshold.
1061         [BZ #19349]
1062         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
1063         when small.
1065         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1066         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1067         New macro.
1068         [__LINUX_KERNEL_VERSION >= 0x040300]
1069         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1070         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1071         Likewise.
1072         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1073         Likewise.
1074         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1075         Likewise.
1076         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1077         Likewise.
1078         [__LINUX_KERNEL_VERSION >= 0x040300]
1079         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1080         [__LINUX_KERNEL_VERSION >= 0x040300]
1081         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1082         [__LINUX_KERNEL_VERSION >= 0x040300]
1083         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1084         [__LINUX_KERNEL_VERSION >= 0x040300]
1085         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1086         [__LINUX_KERNEL_VERSION >= 0x040300]
1087         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1088         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1089         Likewise.
1090         [__LINUX_KERNEL_VERSION >= 0x040300]
1091         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1092         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1093         Likewise.
1094         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1095         Likewise.
1096         [__LINUX_KERNEL_VERSION >= 0x040300]
1097         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1098         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1099         Likewise.
1100         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1101         Likewise.
1102         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1103         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
1104         Likewise.
1105         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
1106         Likewise.
1107         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1108         Likewise.
1109         [__LINUX_KERNEL_VERSION >= 0x040300]
1110         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1111         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1112         Likewise.
1113         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1114         Likewise.
1115         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1116         Likewise.
1117         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1118         Likewise.
1119         [__LINUX_KERNEL_VERSION >= 0x040300]
1120         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1121         [__LINUX_KERNEL_VERSION >= 0x040300]
1122         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1123         [__LINUX_KERNEL_VERSION >= 0x040300]
1124         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1125         [__LINUX_KERNEL_VERSION >= 0x040300]
1126         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1127         [__LINUX_KERNEL_VERSION >= 0x040300]
1128         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1129         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1130         Likewise.
1131         [__LINUX_KERNEL_VERSION >= 0x040300]
1132         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1133         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1134         Likewise.
1135         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1136         Likewise.
1137         [__LINUX_KERNEL_VERSION >= 0x040300]
1138         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1139         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1140         Likewise.
1141         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1142         Likewise.
1143         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1144         (__ASSUME_SOCKET_SYSCALL): Likewise.
1145         (__ASSUME_BIND_SYSCALL): Likewise.
1146         (__ASSUME_CONNECT_SYSCALL): Likewise.
1147         (__ASSUME_LISTEN_SYSCALL): Likewise.
1148         (__ASSUME_ACCEPT_SYSCALL): Likewise.
1149         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1150         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1151         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1152         (__ASSUME_SEND_SYSCALL): Likewise.
1153         (__ASSUME_SENDTO_SYSCALL): Likewise.
1154         (__ASSUME_RECV_SYSCALL): Likewise.
1155         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1156         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
1157         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1158         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1159         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1160         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1161         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1162         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
1163         Likewise.
1164         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
1165         Likewise.
1166         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
1167         Likewise.
1168         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
1169         Likewise.
1170         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
1171         Likewise.
1172         [__LINUX_KERNEL_VERSION >= 0x020625]
1173         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1174         [__LINUX_KERNEL_VERSION >= 0x020625]
1175         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1176         [__LINUX_KERNEL_VERSION >= 0x020625]
1177         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1178         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
1179         Likewise.
1180         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
1181         Likewise.
1182         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
1183         Likewise.
1184         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
1185         Likewise.
1186         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
1187         Likewise.
1188         [__LINUX_KERNEL_VERSION >= 0x020625]
1189         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1190         [__LINUX_KERNEL_VERSION >= 0x020625]
1191         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1192         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
1193         Likewise.
1194         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
1195         Likewise.
1197 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1199         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
1200         record the current if the current ABI and CPU support the FP64
1201         extension.
1202         (has-modd-spreg): Define to record the current if the current ABI and
1203         CPU support 32-bit floating point values in odd FPU registers.
1204         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1205         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
1206         $(has-modd-spreg) equals yes.
1207         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
1208         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
1209         $(has-modd-spreg) equal yes.
1211 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
1213         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
1214         basename.
1216 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
1218         * benchtests/Makefile (bench-math): Move ffs and ffsll...
1219         (bench-string): ... here.
1220         (bench): Add bench-string.
1221         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
1222         to *-benchset to reflect what they are.
1223         (benchset): Adjust.
1225         * benchtests/sincos-inputs: Add inputs from sin-inputs and
1226         cos-inputs.
1228 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
1230         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
1231         __attribute__ ((__simd__)) for vector math function declarations.
1233 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1235         Fix typo in strncat, wcsncat manual entries
1236         * manual/string.texi (Copying and Concatenation): Fix typos in
1237         sample implementations of strncat and wcsncat, by having them use
1238         the old value of the destination length, not the new one.
1240 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
1242         [BZ #16961]
1243         [BZ #16962]
1244         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
1245         string on the stack for strtod.
1246         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
1247         a string on the stack for strtof.
1248         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
1249         constructing a string on the stack for strtold.
1250         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
1251         __strtold_nan to GLIBC_PRIVATE.
1252         * math/test-nan-overflow.c: New file.
1253         * math/test-nan-payload.c: Likewise.
1254         * math/Makefile (tests): Add test-nan-overflow and
1255         test-nan-payload.
1257 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1259         Consistency about byte vs character in string.texi
1260         * manual/string.texi (String and Array Utilities):
1261         Distinguish more carefully among bytes, multibyte characters,
1262         and wide characters.  Use "byte" when talking about C 'char',
1263         to distinguish it more clearly from multibyte characters.
1264         Say "wide character" or "multibyte character" instead of
1265         "character", when a wide or multibyte character is intended.
1266         Similarly for "multibyte string" versus "string".
1267         Define these terms more carefully.
1269 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
1271         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
1272         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
1273         Likewise.
1274         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1275         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1276         * sysdeps/sh/math_private.h: New file.
1277         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
1278         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
1279         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
1280         long double function name.
1281         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1282         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1283         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1284         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1285         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1287         Remove __finitel, __isinfl, and __isnanl.
1288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1289         Likewise.
1290         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1292         Remove __finitel.
1293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1294         Likewise.
1295         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1297 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
1299         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
1300         installed libmvec_nonshared.a.
1302 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1304         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
1305         (sysdep_routines): Likewise.
1306         (sysdep-rtld-routines): Likewise.
1307         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
1308         [$(subdir) = nptl](tests-static): test-get_hwcap-static
1309         * sysdeps/powerpc/Versions: Added new
1310         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
1311         * sysdeps/powerpc/hwcapinfo.c: New file.
1312         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
1313         and parse hwcap, hwcap2 and platform number information.
1314         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
1315         to store HWCAP+HWCAP2 and platform number.
1316         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
1317         for HWCAP+HWCAP2 and platform number in the TCB.
1318         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
1319         the HWCAP, HWCAP2 and platform number in the TCB.
1320         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
1321         (TLS_INIT_TP): Included calls to add the hwcap and
1322         at_platform values in the TCB in TP initialization.
1323         (TLS_DEFINE_INIT_TP): Likewise.
1324         (THREAD_GET_HWCAP): New macro.
1325         (THREAD_SET_HWCAP): Likewise.
1326         (THREAD_GET_AT_PLATFORM): Likewise.
1327         (THREAD_SET_AT_PLATFORM): Likewise.
1328         * sysdeps/powerpc/powerpc32/dl-machine.h:
1329         (dl_platform_init): New function that calls
1330         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
1331         powerpc32.
1332         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
1333         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
1334         this functionality, static linking case.
1335         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
1336         linking case.
1337         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
1338         __parse_hwcap_and_convert_at_platform for the static linking case.
1339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
1340         Included the new __parse_hwcap_and_convert_at_platform symbol in the
1341         ABI list for GLIBC 2.23.
1342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
1343         Likewise.
1344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
1345         Likewise.
1347 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
1349         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
1350         * configure: Regenerate.
1351         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
1352         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
1354 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
1356         * iconvdata/ibm930.c: Add comment explaining encoding uses.
1357         * iconvdata/ibm933.c: Likewise.
1358         * iconvdata/ibm935.c: Likewise.
1359         * iconvdata/ibm937.c: Likewise.
1360         * iconvdata/ibm939.c: Likewise.
1362 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1364         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
1365         pthread_join.
1366         * nptl/tst-cancel21.c (tf): Likewise.
1368 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
1370         [BZ #19313]
1371         * bits/typesizes.h (__CPU_MASK_TYPE): New.
1372         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1373         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1374         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
1375         Likewise.
1376         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
1377         Likewise.
1378         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
1379         Likewise.
1380         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
1381         Likewise.
1382         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
1383         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
1384         unsigned long int with __CPU_MASK_TYPE.
1386 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1388         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1390 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
1392         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
1393         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
1394         t512.x.
1395         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
1397 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
1399         [BZ #19214]
1400         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
1401         argument to return extended model.  Update family and model
1402         with extended family and model when family == 0x0f.
1403         (init_cpu_features): Updated.
1405 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1407         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
1408         signed off_t, so 32bit bigger than 2GiB values are fine actually.
1410         * sysdeps/mach/hurd/mmap64.c: New file.
1412 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
1414         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
1415         rights for its main user thread in NEWTASK.
1417 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
1419         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
1420         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
1422 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
1424         [BZ #14259]
1425         * Makeconfig: Rename localedir to complocaledir.
1426         Rename inst_localedir to inst_complocaledir.
1427         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
1428         * config.make.in: Use complocaledir and libc_cv_complocaledir.
1429         * configure.ac: Use libc_cv_complocaledir.
1430         * configure: Regenerate.
1431         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
1432         -DCOMPLOCALEDIR.
1433         * locale/findlocale.c: Use COMPLOCALEDIR.
1434         * locale/loadarchive.c: Likewise.
1435         * locale/programs/locale.c: Likewise.
1436         * locale/programs/localedef.c: Likewise.
1437         * locale/programs/locarchive.c: Likewise.
1438         * localedata/Makefile: Use inst_complocaledir.
1439         * sysdeps/gnu/configure: Regenerate.
1440         * sysdeps/hppa/configure: Regenerate.
1441         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
1442         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1444         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
1445         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
1446         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
1447         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
1449 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
1451         [BZ #19058]
1452         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
1453         AS_NEEDED.
1454         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
1455         workaround.
1456         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
1457         libmvec-static-only-routines): Added new file.
1458         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
1460 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1462         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
1463         of interrupted RPC instead of restoring it.
1465         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
1466         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
1467         libc_hidden_def.
1468         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
1469         into initialized data instead of common. Define rtld_hidden_data_def.
1470         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
1471         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
1472         libc_hidden_def.
1473         (if_freenameindex): Add libc_hidden_weak.
1474         (if_nameindex): Add libc_hidden_weak.
1475         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
1476         __open64.
1477         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
1478         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
1479         * sysdeps/mach/nanosleep.c: Include <time.h>
1480         (__nanosleep): Rename to __libc_nanosleep.
1481         (__nanosleep): Add weak_alias.
1482         (nanosleep): Update alias.
1484 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
1486         * stdlib/strtod_nan.c: New file.
1487         * stdlib/strtod_nan_double.h: Likewise.
1488         * stdlib/strtod_nan_float.h: Likewise.
1489         * stdlib/strtod_nan_main.c: Likewise.
1490         * stdlib/strtod_nan_narrow.h: Likewise.
1491         * stdlib/strtod_nan_wide.h: Likewise.
1492         * stdlib/strtof_nan.c: Likewise.
1493         * stdlib/strtold_nan.c: Likewise.
1494         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
1495         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
1496         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
1497         * wcsmbs/wcstod_nan.c: Likewise.
1498         * wcsmbs/wcstof_nan.c: Likewise.
1499         * wcsmbs/wcstold_nan.c: Likewise.
1500         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
1501         strtold_nan.
1502         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
1503         wcstof_nan.
1504         * include/stdlib.h (__strtof_nan): Declare and use
1505         libc_hidden_proto.
1506         (__strtod_nan): Likewise.
1507         (__strtold_nan): Likewise.
1508         (__wcstof_nan): Likewise.
1509         (__wcstod_nan): Likewise.
1510         (__wcstold_nan): Likewise.
1511         * include/wchar.h (____wcstoull_l_internal): Declare.
1512         * stdlib/strtod_l.c: Do not include <ieee754.h>.
1513         (____strtoull_l_internal): Remove declaration.
1514         (STRTOF_NAN): Define macro.
1515         (SET_MANTISSA): Remove macro.
1516         (STRTOULL): Likewise.
1517         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
1518         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
1519         (STRTOF_NAN): Define macro.
1520         (SET_MANTISSA): Remove macro.
1521         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
1522         (SET_MANTISSA): Remove macro.
1523         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
1524         macro.
1525         (SET_MANTISSA): Remove macro.
1526         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
1527         macro.
1528         (SET_MANTISSA): Remove macro.
1529         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
1530         (SET_MANTISSA): Remove macro.
1531         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
1532         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
1533         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
1535         [BZ #19266]
1536         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
1537         upper case and lower case letters inside NAN(), not using TOLOWER.
1538         * stdlib/tst-strtod-nan-locale-main.c: New file.
1539         * stdlib/tst-strtod-nan-locale.c: Likewise.
1540         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
1541         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
1542         Depend on $(gen-locales).
1543         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
1544         * wcsmbs/tst-wcstod-nan-locale.c: New file.
1545         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
1546         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
1547         Depend on $(gen-locales).
1548         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
1550 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
1552         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
1554         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
1556         __finitel, __isinfl, and __isnanl.
1557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1558         Likewise.
1559         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
1561         __finitel.
1562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1563         Likewise.
1564         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1566 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1568         * malloc/memusage.c (me): Remove redundant getenv call.
1570 2015-10-24  Florian Weimer  <fweimer@redhat.com>
1572         [BZ #19143]
1573         [BZ #19164]
1574         * nptl/check-cpuset.h: Remove.
1575         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1576         Remove CPU set size check.
1577         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1578         Likewise.
1579         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
1580         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1581         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
1582         (__pthread_setaffinity_new): Remove CPU set size check.
1583         * sysdeps/unix/sysv/linux/sched_setaffinity.c
1584         (__kernel_cpumask_size): Remove.
1585         (__sched_setaffinity_new): Remove CPU set size check.
1586         * manual/threads.texi (Default Thread Attributes): Remove stale
1587         reference to check_cpuset_attr, determine_cpumask_size in comment.
1588         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
1589         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
1590         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
1591         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
1592         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
1593         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
1594         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
1595         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
1596         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
1597         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
1598         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
1599         skeleton test file.
1600         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
1601         tst-affinity-pid.
1603 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1605         * scripts/update-abilist.sh: New file.
1606         * Makefile (+subdir_targets): Add subdir_update-all-abi.
1607         * Makerules (update-all-abi-%, update-all-abi)
1608         (subdir_update-all-abi): New targets.
1609         * elf/Makefile (update-all-abi): New target.
1611 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1613         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
1614         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
1615         (__libc_lock_define_initialized): Use it.
1616         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
1617         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
1618         * malloc/malloc.c (main_arena): Likewise.
1619         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1620         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1622 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
1624         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1625         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
1626         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1627         (PTRACE_O_MASK): Update value.
1628         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
1629         New value in enum __ptrace_setoptions.
1630         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1631         (PTRACE_O_MASK): Update value.
1632         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1633         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1634         (PTRACE_O_MASK): Update value.
1635         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1636         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1637         (PTRACE_O_MASK): Update value.
1638         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
1639         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1640         (PTRACE_O_MASK): Update value.
1641         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
1642         New value in enum __ptrace_setoptions.
1643         (PTRACE_O_MASK): Update value.
1644         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
1645         New value in enum __ptrace_setoptions.
1646         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1647         (PTRACE_O_MASK): Update value.
1649         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
1650         New macro.
1651         (PACKET_AUXDATA): Likewise.
1652         (PACKET_ORIGDEV): Likewise.
1653         (PACKET_VERSION): Likewise.
1654         (PACKET_HDRLEN): Likewise.
1655         (PACKET_RESERVE): Likewise.
1656         (PACKET_TX_RING): Likewise.
1657         (PACKET_LOSS): Likewise.
1658         (PACKET_VNET_HDR): Likewise.
1659         (PACKET_TX_TIMESTAMP): Likewise.
1660         (PACKET_TIMESTAMP): Likewise.
1661         (PACKET_FANOUT): Likewise.
1662         (PACKET_TX_HAS_OFF): Likewise.
1663         (PACKET_QDISC_BYPASS): Likewise.
1664         (PACKET_ROLLOVER_STATS): Likewise.
1665         (PACKET_FANOUT_DATA): Likewise.
1666         (PACKET_MR_UNICAST): Likewise.
1668         [BZ #19242]
1669         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
1670         (TOUPPER): Likewise.
1671         * stdlib/tst-strtol-locale-main.c: New file.
1672         * stdlib/tst-strtol-locale.c: Likewise.
1673         * stdlib/Makefile (tests): Add tst-strtol-locale.
1674         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
1675         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
1676         Depend on $(gen-locales).
1677         * wcsmbs/tst-wcstol-locale.c: New file.
1678         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
1679         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
1680         tr_TR.ISO-8859-9.
1681         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
1682         Depend on $(gen-locales).
1684 2015-11-20  Roland McGrath  <roland@hack.frob.com>
1686         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
1687         __glibc_likely instead of __builtin_expect.  After falling back to
1688         dyncode_create in a non-ET_DYN case, use the allocate_code_data
1689         system interface to register the code pages as occupied.
1691 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
1693         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1694         [!ARM_MATH_PRIVATE_H].
1695         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
1696         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1697         [!HPPA_MATH_PRIVATE_H].
1698         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
1699         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
1700         to [!I386_MATH_PRIVATE_H].
1701         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
1702         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
1703         Change guard to [!M68K_MATH_PRIVATE_H].
1704         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
1705         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
1706         guard to [!MICROBLAZE_MATH_PRIVATE_H].
1707         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
1708         macro.
1709         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1710         [!MIPS_MATH_PRIVATE_H].
1711         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
1712         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1713         [!NIO2_MATH_PRIVATE_H].
1714         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
1715         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1716         [!TILE_MATH_PRIVATE_H].
1717         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
1719         [BZ #15421]
1720         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
1721         initialize with 0 and define as weak alias of __signgam.
1722         * include/math.h [!_ISOMAC] (__signgam): Declare.
1723         * math/Makefile (libm-calls): Add w_lgamma_compat.
1724         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
1725         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
1726         test-signgam-ullong-init.
1727         (tests-static): Add test-signgam-uchar-static,
1728         test-signgam-uchar-init-static, test-signgam-uint-static,
1729         test-signgam-uint-init-static, test-signgam-ullong-static and
1730         test-signgam-ullong-init-static.
1731         (CFLAGS-test-signgam-uchar.c): New variable.
1732         (CFLAGS-test-signgam-uchar-init.c): Likewise.
1733         (CFLAGS-test-signgam-uchar-static.c): Likewise.
1734         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
1735         (CFLAGS-test-signgam-uint.c): Likewise.
1736         (CFLAGS-test-signgam-uint-init.c): Likewise.
1737         (CFLAGS-test-signgam-uint-static.c): Likewise.
1738         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
1739         (CFLAGS-test-signgam-ullong.c): Likewise.
1740         (CFLAGS-test-signgam-ullong-init.c): Likewise.
1741         (CFLAGS-test-signgam-ullong-static.c): Likewise.
1742         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
1743         * math/Versions (libm): Add GLIBC_2.23.
1744         * math/lgamma-compat.h: New file.
1745         * math/test-signgam-main.c: Likewise.
1746         * math/test-signgam-uchar-init-static.c: Likewise.
1747         * math/test-signgam-uchar-init.c: Likewise.
1748         * math/test-signgam-uchar-static.c: Likewise.
1749         * math/test-signgam-uchar.c: Likewise.
1750         * math/test-signgam-uint-init-static.c: Likewise.
1751         * math/test-signgam-uint-init.c: Likewise.
1752         * math/test-signgam-uint-static.c: Likewise.
1753         * math/test-signgam-uint.c: Likewise.
1754         * math/test-signgam-ullong-init-static.c: Likewise.
1755         * math/test-signgam-ullong-init.c: Likewise.
1756         * math/test-signgam-ullong-static.c: Likewise.
1757         * math/test-signgam-ullong.c: Likewise.
1758         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
1759         wrapper of w_lgamma_main.c.
1760         * math/w_lgamma_compat.c: New file.
1761         * math/w_lgamma_compatf.c: Likewise.
1762         * math/w_lgamma_compatl.c: Likewise.
1763         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
1764         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1765         defining compatibility symbols.
1766         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
1767         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
1768         wrapper of w_lgammaf_main.c.
1769         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
1770         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1771         defining compatibility symbols.
1772         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
1773         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
1774         wrapper of w_lgammal_main.c.
1775         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
1776         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1777         defining compatibility symbols.
1778         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
1779         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
1780         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
1781         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
1782         <lgamma-compat.h>.
1783         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
1784         (__ieee754_gamma): Define as alias.
1785         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
1786         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
1787         <lgamma-compat.h>.
1788         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
1789         (__ieee754_gammaf): Define as alias.
1790         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
1791         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
1792         <lgamma-compat.h>.
1793         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
1794         (__ieee754_gammal): Define as alias.
1795         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
1796         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
1797         <math/w_lgamma_compat.c>.
1798         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
1799         Define as alias of __lgamma_compat and use in defining lgammal.
1800         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
1801         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
1802         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
1803         (USE_AS_COMPAT): New macro.
1804         (LGAMMA_OLD_VER): Undefine and redefine.
1805         (lgammal): Do not define here.
1806         (gammal): Only define here if [GAMMA_ALIAS].
1807         * conform/linknamespace.pl (@whitelist): Remove signgam.
1808         * sysdeps/nacl/libm.abilist: Update.
1809         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1810         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1811         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1812         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1813         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1814         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1815         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1816         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1817         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1818         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1819         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1820         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1822         Likewise.
1823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1824         Likewise.
1825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1826         Likewise.
1827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1828         Likewise.
1829         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1830         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1831         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1832         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1833         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1835         Likewise.
1836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1837         Likewise.
1838         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1839         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1840         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1842 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1844         [BZ #16364]
1845         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
1846         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
1848 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1850         * sysdeps/s390/fpu/bits/mathinline.h:
1851         Use __asm__ [__volatile__] instead of asm [volatile].
1852         * sysdeps/s390/abort-instr.h: Likewise.
1853         * sysdeps/s390/atomic-machine.h: Likewise.
1854         * sysdeps/s390/bits/string.h: Likewise.
1855         * sysdeps/s390/dl-tls.h: Likewise.
1856         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1857         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1858         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1859         * sysdeps/s390/fpu/fesetround.c: Likewise.
1860         * sysdeps/s390/fpu/fpu_control.h: Likewise.
1861         * sysdeps/s390/fpu/s_fma.c: Likewise.
1862         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
1863         * sysdeps/s390/memusage.h: Likewise.
1864         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
1865         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1866         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1867         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1868         * sysdeps/s390/nptl/tls.h: Likewise.
1869         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
1870         * sysdeps/s390/s390-32/backtrace.c: Likewise.
1871         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1872         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1873         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1874         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1875         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
1876         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1877         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1878         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
1879         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1880         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1881         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1882         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
1883         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
1884         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
1885         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
1886         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1887         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
1888         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1889         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
1890         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1891         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
1893 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1894             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1896         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1897         Add lwarx hint, and use macro for acquire instruction.
1898         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1899         Likewise.
1900         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
1901         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
1902         update to use new atomic macros.
1904 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1906         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1907         (__lll_trylock_elision): Fix setting of adapt_count.
1908         * sysdeps/unix/sysv/linux/powerpc/htm.h
1909         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
1910         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
1911         (_ABORT_SYSCALL): Renumber, and clarify definition.
1912         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
1914 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1916         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
1917         after system headers to prevent MIN/MAX redefinition.  Define
1918         HAVE_ALLOCA to preserve builtin alloca usage.
1920 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1922         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
1923         static and don't set or restore rounding.
1924         (__cos)[IN_SINCOS]: Likewise.
1925         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
1926         (__sincos): Set and restore rounding mode.  Remove check for infinite
1927         or NaN input.
1929         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
1931         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
1932         as used.
1934 2015-11-16  Florian Weimer  <fweimer@redhat.com>
1936         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
1938 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1940         * config.make.in (have-glob-dat-reloc): New.
1941         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
1942         target supports GLOB_DAT relocaton. AC_SUBST.
1943         * configure: Regenerated.
1944         * elf/Makefile (tests): Add tst-prelink.
1945         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1946         (tst-prelink-ENV): New.
1947         ($(objpfx)tst-prelink-conflict.out): Likewise.
1948         ($(objpfx)tst-prelink-cmp.out): Likewise.
1949         * sysdeps/x86/tst-prelink.c: Moved to ...
1950         * elf/tst-prelink.c: Here.
1951         * sysdeps/x86/tst-prelink.exp: Moved to ...
1952         * elf/tst-prelink.exp: Here.
1953         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
1954         (tst-prelink-ENV): Removed.
1955         ($(objpfx)tst-prelink-conflict.out): Likewise.
1956         ($(objpfx)tst-prelink-cmp.out): Likewise.
1957         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
1959 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
1961         [BZ #14551]
1962         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
1963         (__mpn_construct_long_double): If high part overflows to infinity,
1964         set errno and recompute overflowed result of the correct sign.
1965         * sysdeps/ieee754/ldbl-128ibm/Makefile
1966         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
1967         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
1968         $(libm).
1969         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
1971 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
1973         [BZ #15479]
1974         [BZ #19238]
1975         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
1976         floating-point state after first operation on input.  Restore full
1977         state rather than just rounding mode.
1978         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1979         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1980         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1982         [BZ #19235]
1983         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
1984         add 0.5 to integer arguments.
1985         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
1986         Likewise.
1987         (.LC2): New object.
1989 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
1991         * scripts/pylintrc (reports): Set to no.
1993 2015-11-10  Roland McGrath  <roland@hack.frob.com>
1995         * elf/dl-load.c (open_verify): Take new argument FD.
1996         Skip __open call if passed FD is not -1.
1997         (_dl_map_object, open_path): Update callers.
1998         * elf/dl-sysdep-open.h: New file.
1999         * elf/dl-load.c: Include it.
2000         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
2001         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
2002         * sysdeps/nacl/dl-sysdep-open.h: New file.
2003         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
2004         from libc to rtld.
2006 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2008         [BZ #19228]
2009         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
2010         and restore full floating-point state.
2011         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2012         Likewise.
2013         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2014         Likewise.
2015         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2016         Likewise.
2017         * math/test-nearbyint-except-2.c: New file.
2018         * math/Makefile (tests): Add test-nearbyint-except-2.
2020 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
2022         [BZ #19178]
2023         * sysdeps/x86/Makefile (tests): Add tst-prelink.
2024         (tst-prelink-ENV): New.
2025         ($(objpfx)tst-prelink-conflict.out): Likewise.
2026         ($(objpfx)tst-prelink-cmp.out): Likewise.
2027         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2028         * sysdeps/x86/tst-prelink.c: New file.
2029         * sysdeps/x86/tst-prelink.exp: Likewise.
2031 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
2033         * math/auto-libm-test-in: Add another test of pow.
2034         * math/auto-libm-test-out: Regenerated.
2035         * math/libm-test.inc (pow_test_data): Add another test.
2037 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2039         [BZ #19219]
2040         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
2041         weak_alias to nearbyintl.
2043 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2045         * sysdeps/aarch64/bits/string.h: New file.
2046         (_STRING_ARCH_unaligned): Define.
2048 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
2050         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
2051         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2052         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2053         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
2054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
2056 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
2058         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
2059         for original name of the DSO.  Add it to the name list of the DSO
2060         if it is actually given.
2061         (_dl_map_object): Keep track of whether an audit module rewrote
2062         the file name.  If yes, pass the original name to
2063         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
2064         debugging is enabled, log the change of the file name.
2065         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
2066         _dl_map_object_from_fd.
2067         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
2068         * elf/tst-audit11.c: New file
2069         * elf/tst-auditmod11.c: New file.
2070         * elf/tst-audit11mod1.c: New file.
2071         * elf/tst-audit11mod2.c: New file.
2072         * elf/tst-audit11mod2.map: New file.
2073         * elf/tst-audit12.c: New file
2074         * elf/tst-auditmod12.c: New file.
2075         * elf/tst-audit12mod1.c: New file.
2076         * elf/tst-audit12mod2.c: New file.
2077         * elf/tst-audit12mod2.map: New file.
2078         * elf/tst-audit12mod3.c: New file.
2080 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2082         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
2083         Don't create weak aliases,
2084         because versioned symbols are created later.
2085         * sysdeps/s390/s390-32/setjmp.S
2086         (setjmp, _setjmp): Remove weak and rename to an unique name
2087         in SHARED case due to existing versioned symbols.
2088         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2089         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
2090         (getcontext): Create weak alias only in non SHARED case.
2091         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2093 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2095         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
2096         (__ASSUME_*_SYSCALL) Define new macros.
2097         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
2098         Remove socketcall syscalls.
2099         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
2100         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
2101         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
2102         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
2103         * sysdeps/unix/sysv/linux/send.c (__libc_send):
2104         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
2106 2015-11-09  Florian Weimer  <fweimer@redhat.com>
2108         [BZ #12926]
2109         Terminate process on invalid netlink response.
2110         * sysdeps/unix/sysv/linux/netlinkaccess.h
2111         (__netlink_assert_response): Declare.
2112         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
2113         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
2114         (sysdep_routines): Add netlink_assert_response.
2115         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
2116         __netlink_assert_response.
2117         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2118         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2119         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
2120         __netlink_assert_response.
2122 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2124         [BZ #19178]
2125         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
2126         (RTYPE_CLASS_PLT): Likewise.
2127         (RTYPE_CLASS_COPY): Likewise.
2128         (RTYPE_CLASS_TLS): Likewise.
2129         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
2130         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
2131         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
2132         DL_DEBUG_PRELINK.
2134 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
2136         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
2137         calls with argument -0.5.
2138         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
2140         * configure.ac (libc_cv_z_nodelete): Remove configure test.
2141         (libc_cv_z_nodlopen): Likewise.
2142         (libc_cv_z_initfirst): Likewise.
2143         * configure: Regenerated.
2145 2015-11-06  Florian Weimer  <fweimer@redhat.com>
2147         Simplify abilist format to be line-based.
2148         * scripts/abilist.awk: Collect descriptors in the descs variable.
2149         (emit): Write descs variable and sort it
2150         externally, with sort.
2151         * sysdeps/**/*.abilist: Convert to new format.
2153 2015-11-06  Mark Wielaard  <mjw@redhat.com>
2155         [BZ #11460]
2156         * io/Makefile (routines): Add fts64.
2157         (tests): Add tst-fts and tst-fts-lfs.
2158         (CFLAGS-fts64.c): New.
2159         * io/Versions (GLIBC_2.23): New.
2160         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
2161         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
2162         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
2163         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
2164         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
2165         (FTSENT64): Likewise.
2166         (fts64_children): Likewise.
2167         (fts64_close): Likewise.
2168         (fts64_open): Likewise.
2169         (fts64_read): Likewise.
2170         (fts64_set): Likewise.
2171         * io/fts64.c: New file.
2172         * io/tst-fts.c: New test.
2173         * io/tst-fts-lfs.c: Likewise.
2174         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
2175         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
2176         fts64_set.
2177         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2178         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2179         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2180         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2181         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2182         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2183         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2184         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2185         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2186         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2187         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2188         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2189         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2191         Likewise.
2192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2193         Likewise.
2194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2196         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2197         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2198         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2199         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2200         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2203         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2204         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2205         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2206         * sysdeps/wordsize-64/fts.c: New file.
2207         * sysdeps/wordsize-64/fts64.c: Likewise.
2208         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
2209         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
2210         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
2211         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
2213 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2215         * math/libm-test.inc (NON_FINITE): New macro.
2216         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
2217         * math/gen-libm-test.pl (show_exceptions): Add argument
2218         $non_finite.
2219         (parse_args): Update call to show_exceptions.
2220         * math/test-math-finite.h: New file.
2221         * math/test-math-no-finite.h: Likewise.
2222         * math/test-double-finite.c: Likewise.
2223         * math/test-float-finite.c: Likewise.
2224         * math/test-ldouble-finite.c: Likewise.
2225         * math/test-double.c: Include "test-math-no-finite.h".
2226         * math/test-float.c: Include "test-math-no-finite.h".
2227         * math/test-ldouble.c: Include "test-math-no-finite.h".
2228         * math/test-math-inline.h (TEST_FINITE): New macro.
2229         * math/test-math-vector.h (TEST_FINITE): Likewise.
2230         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
2231         (libm-tests): Add test-float-finite and test-double-finite.
2232         ($(objpfx)test-float-finite.o): New dependency on
2233         $(objpfx)libm-test.stmp.
2234         ($(objpfx)test-double-finite.o): Likewise.
2235         ($(objpfx)test-ldouble-finite.o): Likewise.
2236         (libm-test-no-inline-cflags): New variable.
2237         (libm-test-finite-cflags): Likewise.
2238         (CFLAGS-test-float-finite.c): Likewise.
2239         (CFLAGS-test-double-finite.c): Likewise.
2240         (CFLAGS-test-ldouble-finite.c): Likewise.
2241         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
2242         (CFLAGS-test-double.c): Likewise.
2243         (CFLAGS-test-ldouble.c): Likewise.
2245 2015-11-05  Roland McGrath  <roland@hack.frob.com>
2247         * io/fcntl.c (__fcntl): Add ... to prototype.
2248         * misc/ioctl.c (__ioctl): Likewise.
2249         * misc/syscall.c (syscall): Likewise.
2251 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2253         * scripts/list-fixed-bugs.py: New file.
2255         [BZ #19213]
2256         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
2257         returned for argument 1.
2258         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
2259         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
2260         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
2261         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
2262         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
2263         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
2265         [BZ #19211]
2266         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
2267         __USE_XOPEN], not if [!__USE_ISOC99].
2268         (lgammaf): Likewise.
2269         (lgammal): Likewise.
2270         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
2271         (gammaf): Likewise.
2272         (gammal): Likewise.
2273         * math/test-signgam-finite-c11.c: New file.
2274         * math/test-signgam-finite-c99.c: Likewise.
2275         * math/test-signgam-finite.c: Likewise.
2276         * math/Makefile (tests): Add test-signgam-finite,
2277         test-signgam-finite-c99 and test-signgam-finite-c11.
2278         (CFLAGS-test-signgam-finite.c): New variable.
2279         (CFLAGS-test-signgam-finite-c99.c): Likewise.
2280         (CFLAGS-test-signgam-finite-c11.c): Likewise.
2282         [BZ #19212]
2283         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
2284         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
2285         500].
2286         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
2287         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
2288         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
2289         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
2290         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
2291         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
2292         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
2293         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
2294         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
2295         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
2297         [BZ #19209]
2298         * math/bits/math-finite.h (ldexp): Remove declaration.
2299         (ldexpf): Likewise.
2300         (ldexpl): Likewise.
2302         [BZ #19205]
2303         * math/bits/math-finite.h (acosf): Condition declaration on
2304         [__USE_ISOC99].
2305         (acosl): Likewise.
2306         (acoshf): Likewise.
2307         (acoshl): Likewise.
2308         (asinf): Likewise.
2309         (asinl): Likewise.
2310         (atan2f): Likewise.
2311         (atan2l): Likewise.
2312         (atanhf): Likewise.
2313         (atanhl): Likewise.
2314         (coshf): Likewise.
2315         (coshl): Likewise.
2316         (expf): Likewise.
2317         (expl): Likewise.
2318         (fmodf): Likewise.
2319         (fmodl): Likewise.
2320         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
2321         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
2322         (j0l): Likewise.
2323         (y0f): Likewise.
2324         (y0l): Likewise.
2325         (j1f): Likewise.
2326         (j1l): Likewise.
2327         (y1f): Likewise.
2328         (y1l): Likewise.
2329         (jnf): Likewise.
2330         (jnl): Likewise.
2331         (ynf): Likewise.
2332         (ynl): Likewise.
2333         (lgammaf_r): Condition declaration on [__USE_ISOC99].
2334         (lgammal_r): Likewise.
2335         (__lgamma_r_finite): New declaration.
2336         (__lgammaf_r_finite): Likewise.
2337         (__lgammal_r_finite): Likewise.
2338         (lgamma): Use __lgamma_r_finite.
2339         (lgammaf): Condition definition on [__USE_ISOC99].  Use
2340         __lgammaf_r_finite.
2341         (lgammal): Condition definition on [__USE_ISOC99].  Use
2342         __lgammal_r_finite.
2343         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
2344         __lgamma_r_finite.
2345         (gammaf): Condition definition on [__USE_ISOC99].  Use
2346         __lgammaf_r_finite.
2347         (gammal): Condition definition on [__USE_ISOC99].  Use
2348         __lgammal_r_finite.
2349         (logf): Condition declaration on [__USE_ISOC99].
2350         (logl): Likewise.
2351         (log10f): Likewise.
2352         (log10l): Likewise.
2353         (ldexpf): Likewise.
2354         (ldexpl): Likewise.
2355         (powf): Likewise.
2356         (powl): Likewise.
2357         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
2358         __USE_ISOC99].
2359         (remainderf): Condition declaration on [__USE_ISOC99].
2360         (remainderl): Likewise.
2361         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
2362         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
2363         (scalbl): Likewise.
2364         (sinhf): Condition declaration on [__USE_ISOC99].
2365         (sinhl): Likewise.
2366         (sqrtf): Likewise.
2367         (sqrtl): Likewise.
2369 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2371         * sysdeps/arm/atomic-machine.h
2372         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2373         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2374         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
2375         Remove conditional code.
2376         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2377         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2378         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
2379         Change conditional to [__ASSEMBLER__].
2380         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2381         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
2382         [!__ASSEMBLER__].
2383         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
2384         code.
2385         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
2386         conditional macro definitions.
2387         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
2388         (__arch_compare_and_exchange_val_16_acq): Likewise.
2389         (__arch_compare_and_exchange_val_32_acq): Likewise.
2390         (atomic_exchange_and_add): Likewise.
2391         (atomic_add): Likewise.
2392         (atomic_add_negative): Likewise.
2393         (atomic_add_zero): Likewise.
2394         (atomic_bit_set): Likewise.
2395         (atomic_bit_test_set): Likewise.
2396         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
2397         code unconditional.
2398         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2400         * math/test-math-errno.h: New file.
2401         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
2402         empty.
2403         (TEST_ERRNO): New macro.
2404         (TEST_EXCEPTIONS): Likewise.
2405         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
2406         (TEST_EXCEPTIONS): Likewise.
2407         * math/test-math-vector.h (TEST_ERRNO): Likewise.
2408         * math/test-double.c: Include "test-math-errno.h".
2409         * math/test-float.c: Likewise.
2410         * math/test-ldouble.c: Likewise.
2411         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
2412         code unconditional.
2413         (test_exceptions): Only run code if TEST_EXCEPTIONS.
2414         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
2415         unconditional.
2416         (test_errno): Only run code if TEST_ERRNO.
2417         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
2419 2015-11-04  Florian Weimer  <fweimer@redhat.com>
2421         * nptl/tst-once5.cc: Remove attribution.
2423 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2425         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
2426         sqrt, tan, tanh, y0, y1 and yn.
2427         * math/auto-libm-test-out: Regenerated.
2428         * math/libm-test.inc (scalb_test_data): Add more tests.
2429         (scalbn_test_data): Likewise.
2430         (scalbln_test_data): Likewise.
2431         (signbit_test_data): Likewise.
2432         (sin_test_data): Likewise.
2433         (sincos_test_data): Likewise.
2434         (sinh_test_data): Likewise.
2435         (sqrt_test_data): Likewise.
2436         (tan_test_data): Likewise.
2437         (tanh_test_data): Likewise.
2438         (tgamma_test_data): Likewise.
2439         (y0_test_data): Likewise.
2440         (y1_test_data): Likewise.
2441         (yn_test_data): Likewise.
2442         (significand_test_data): Likewise.
2443         * sysdeps/i386/fpu/libm-test-ulps: Update.
2445 2015-11-03  David Kastrup  <dak@gnu.org>
2447         [BZ #18604]
2448         * assert/assert.h (assert): Don't macro-expand failed assertion
2449         expression in error message.
2450         * malloc/malloc.c (assert): Likewise.
2452 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
2454         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
2455         test.
2456         * configure: Regenerated.
2458 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
2460         * math/libm-test.inc (modf_test_data): Add more tests.
2461         (nearbyint_test_data): Likewise.
2462         (nextafter_test_data): Likewise.
2463         (nexttoward_test_data): Likewise.
2464         (pow_test_data): Likewise.
2465         (remainder_test_data): Likewise.
2466         (remquo_test_data): Likewise.
2467         (rint_test_data): Likewise.
2469         [BZ #19201]
2470         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2471         Check for zero remainder in case of large exponents and ensure
2472         correct sign of result in that case.
2473         * math/libm-test.inc (remainder_test_data): Add more tests.
2475         [BZ #6799]
2476         * math/s_nextafter.c: Include <errno.h>.
2477         (__nextafter): Set errno on overflow and underflow.
2478         * math/s_nexttowardf.c: Include <errno.h>.
2479         (__nexttowardf): Set errno on overflow and underflow.
2480         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
2481         (__nextafterl): Set errno on overflow and underflow.
2482         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
2483         (__nexttoward): Set errno on overflow and underflow.
2484         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
2485         (__nexttowardf): Set errno on overflow and underflow.
2486         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
2487         (__nextafterf): Set errno on overflow and underflow.
2488         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
2489         (__nextafterl): Set errno on overflow and underflow.
2490         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
2491         (__nexttoward): Set errno on overflow and underflow.
2492         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
2493         (__nexttowardf): Set errno on overflow and underflow.
2494         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
2495         (__nextafterl): Set errno on overflow and underflow.
2496         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
2497         (__nexttoward): Set errno on overflow and underflow.
2498         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
2499         (__nexttowardf): Set errno on overflow and underflow.
2500         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
2501         (__nexttoward): Set errno on overflow and underflow.
2502         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
2503         (__nexttowardf): Set errno on overflow and underflow.
2504         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
2505         (__nldbl_nexttowardf): Set errno on overflow and underflow.
2506         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
2507         (__nextafterl): Set errno on overflow and underflow.
2508         * math/libm-test.inc (nextafter_test_data): Do not allow errno
2509         setting to be missing on overflow.  Add more tests.
2510         (nexttoward_test_data): Likewise.
2512         * configure.ac (libc_cv_initfini_array): Remove configure test.
2513         * configure: Regenerated.
2515 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
2517         [BZ #19189]
2518         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
2519         non-finite argument handle arguments with negative sign.
2521         * math/libm-test.inc (j0_test_data): Do not test sign of zero
2522         result from infinite argument.
2523         (j1_test_data): Likewise.
2524         (jn_test_data): Likewise.
2525         (y0_test_data): Likewise.
2526         (y1_test_data): Likewise.
2527         (yn_test_data): Likewise.
2529         [BZ #16171]
2530         * math/w_remainder.c (drem): Define as weak alias of __remainder.
2531         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
2532         * math/w_remainderf.c (dremf): Define as weak alias of
2533         __remainderf.
2534         * math/w_remainderl.c (dreml): Define as weak alias of
2535         __remainderl.
2536         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
2537         __remainder.
2538         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
2539         __remainderf.
2540         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
2541         __remainderl.
2542         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
2543         weak alias of remainderl.
2544         * sysdeps/ieee754/ldbl-opt/w_remainder.c
2545         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
2546         alias of __remainder.
2547         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
2548         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
2549         strong alias of __remainderl.
2550         (dreml): Use long_double_symbol.
2551         * math/Makefile (libm-calls): Remove w_drem.
2552         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
2553         (CFLAGS-nldbl-drem.c): Remove variable.
2554         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
2555         * math/w_drem.c: Remove file.
2556         * math/w_dremf.c: Likewise.
2557         * math/w_dreml.c: Likewise.
2558         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
2559         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
2560         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
2562         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
2563         * sysdeps/i386/configure: Regenerated.
2564         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
2565         * sysdeps/x86_64/configure: Regenerated.
2567         * configure.ac (libc_cv_asm_protected_directive): Remove configure
2568         test.
2569         (libc_cv_visibility_attribute): Likewise.
2570         (libc_cv_protected_data): Test unconditionally.
2571         (libc_cv_broken_visibility_attribute): Remove configure test.
2572         (libc_cv_have_sdata_section): Test unconditionally.
2573         * configure: Regenerated.
2575         * include/libc-internal.h (libc_max_align_t): Remove typedef.
2576         * include/scratch_buffer.h: Include <stddef.h> instead of
2577         <libc-internal.h>.
2578         (struct scratch_buffer): Use max_align_t instead of
2579         libc_max_align_t.
2581 2015-10-29  Florian Weimer  <fweimer@redhat.com>
2583         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
2584         instead of extend_alloca.  Change control flow to avoid a goto.
2585         Remove assert which is trivially always true.
2587 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2589         [BZ #16068]
2590         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
2591         (FE_ALL_EXCEPT_X86): New macro.
2592         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2593         FE_ALL_EXCEPT.  Ensure precision control is included in
2594         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2595         handle "denormal operand exception" and clear FZ and DAZ bits.
2596         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
2597         (FE_ALL_EXCEPT_X86): New macro.
2598         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2599         FE_ALL_EXCEPT.  Ensure precision control is included in
2600         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2601         handle "denormal operand exception" and clear FZ and DAZ bits.
2602         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
2603         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
2604         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2605         test-fenv-x87 and test-fenv-sse-2.
2606         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
2608         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
2609         * math/test-double.h (BUILD_COMPLEX): New macro.
2610         * math/test-float.h (BUILD_COMPLEX): Likewise.
2611         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
2613         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
2614         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
2615         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
2616         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
2617         instead of DBL_DENORM_MIN in comment.
2618         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
2619         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2620         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
2621         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
2622         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
2623         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2625 2015-10-28  Florian Weimer  <fweimer@redhat.com>
2627         [BZ# 19048]
2628         * malloc/malloc.c (struct malloc_state): Update comment.  Add
2629         attached_threads member.
2630         (main_arena): Initialize attached_threads.
2631         * malloc/arena.c (list_lock): Update comment.
2632         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
2633         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
2634         (deattach_arena): New function.
2635         (_int_new_arena): Initialize arena reference count and deattach
2636         replaced arena.
2637         (get_free_list, reused_arena): Update reference count and deattach
2638         replaced arena.
2639         (arena_thread_freeres): Update arena reference count and only put
2640         unreferenced arenas on the free list.
2642 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2644         [BZ #19181]
2645         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
2646         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
2647         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
2648         * math/test-fenv-clear-main.c: New file.
2649         * math/test-fenv-clear.c: Likewise.
2650         * math/Makefile (tests): Add test-fenv-clear.
2651         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
2652         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2653         test-fenv-clear-sse.
2654         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
2656         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
2657         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
2658         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
2660 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2662         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
2663         static libc.
2665 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2667         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
2668         test.
2669         * sysdeps/i386/configure: Regenerated.
2670         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
2671         test.
2672         * sysdeps/x86_64/configure: Regenerated.
2673         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
2674         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2675         memset-avx2 unconditionally instead of conditionally on
2676         [$(config-cflags-avx2) = yes].
2677         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2678         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
2679         unconditional.
2680         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
2681         * sysdeps/x86_64/multiarch/memset_chk.S
2682         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
2683         to [IS_IN (libc) && SHARED].
2685 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2687         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
2688         configure test.
2689         * sysdeps/arm/configure: Regenerated.
2690         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
2691         Define variable if not already defined.
2693         [BZ #17404]
2694         * sysdeps/mips/atomic-machine.h
2695         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
2696         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
2697         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2699         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
2700         unconditional.
2701         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
2702         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2703         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
2704         unconditional.
2705         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2706         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
2707         unconditional.
2708         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2709         * stdlib/setenv.c
2710         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
2711         code unconditional.
2712         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
2713         Remove conditional code.
2714         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2715         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
2716         unconditional.
2717         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2718         code.
2719         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2720         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
2721         unconditional.
2722         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2723         code.
2724         * sysdeps/ieee754/ldbl-128/k_tanl.c
2725         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2726         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2727         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2728         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2729         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2730         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2731         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
2732         unconditional.
2733         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2734         code.
2735         * sysdeps/ieee754/ldbl-96/k_tanl.c
2736         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2737         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2739         * nptl/tst-initializers1-c11.c: New file.
2740         * nptl/tst-initializers1-gnu11.c: Likewise.
2741         * nptl/Makefile (tests): Add these new tests.
2742         (CFLAGS-tst-initializers1-c11.c): New variable.
2743         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2745         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
2746         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
2747         instead of -std=gnu99.
2748         * configure.ac (systemtap): Test with -std=gnu11 instead of
2749         -std=gnu99.
2750         * configure: Regenerated.
2751         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
2752         in compilation command in comment.
2754         * sysdeps/nptl/configure.ac: Remove file.
2755         * sysdeps/nptl/configure: Remove generated file.
2756         * configure.ac (libc_cv_forced_unwind): Do not substitute.
2757         * configure: Regenerated.
2758         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
2759         * config.make.in (have-forced-unwind): Remove variable.
2760         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2761         unconditional.
2762         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
2763         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
2764         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
2765         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
2766         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2767         unconditional.
2769 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2771         [BZ #19174]
2772         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
2773         .skip_lock_out_of_tbegin_retries.
2774         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2775         (__lll_lock_elision): Likewise, and respect a value of
2776         try_tbegin <= 0.
2778 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2780         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
2781         statement.
2783 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2785         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
2786         variable.
2787         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2788         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2790         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
2791         of -std=c1x -D_ISOC11_SOURCE.
2793         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
2794         * configure: Regenerated.
2795         * manual/install.texi (Tools for Compilation): Document
2796         requirement for GCC 4.7 or later.
2797         * INSTALL: Regenerated.
2799 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
2801         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
2802         on CNT to a conditional jump to 'puntdata'.
2804 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2806         * configure.ac (libc_cv_gcc___thread): Remove configure test.
2807         (libc_cv_gcc_tls_model_attr): Likewise.
2808         * configure: Regenerated.
2810         * configure.ac (libc_cv_need_minus_P): Remove configure test.
2811         * configure: Regenerated.
2812         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
2814 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
2816         * configure.ac (old_glibc_headers): Remove configure test.
2817         * configure: Regenerated.
2818         * config.make.in (old-glibc-headers): Remove variable.
2819         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
2820         (install): Remove dependency on remove-old-headers.
2821         (headers2_0): Remove variable.
2822         (remove-old-headers): Remove rule.
2824         * configure.ac (libc_cv_dot_text): Remove configure test.
2825         (libc_cv_asm_set_directive): Use .text instead of
2826         ${libc_cv_dot_text} in configure test.
2827         * configure: Regenerated.
2829 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2831         [BZ #19168]
2832         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2834 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2836         * configure.ac (CXX): Clear the variable if the C++ toolchain does
2837         not support static linking.
2838         * configure: Regenerate.
2840 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
2842         * math/libm-test.inc (check_float_internal): Do not special-case
2843         errors up to 0.5 ulp.
2845         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2846         log2.
2847         * math/auto-libm-test-out: Regenerated.
2848         * math/libm-test.inc (MAX_EXP): New macro.
2849         (ilogb_test_data): Add more tests.
2850         (isfinite_test_data): Likewise.
2851         (isgreater_test_data): Likewise.
2852         (isgreaterequal_test_data): Likewise.
2853         (isinf_test_data): Likewise.
2854         (isless_test_data): Likewise.
2855         (islessequal_test_data): Likewise.
2856         (islessgreater_test_data): Likewise.
2857         (isnan_test_data): Likewise.
2858         (isnormal_test_data): Likewise.
2859         (issignaling_test_data): Likewise.
2860         (isunordered_test_data): Likewise.
2861         (j0_test_data): Likewise.
2862         (j1_test_data): Likewise.
2863         (jn_test_data): Likewise.
2864         (lgamma_test_data): Likewise.
2865         (log_test_data): Likewise.
2866         (log10_test_data): Likewise.
2867         (log1p_test_data): Likewise.
2868         (log2_test_data): Likewise.
2869         (logb_test_data): Likewise.
2870         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2872         [BZ #18611]
2873         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
2874         avoid excess range and precision on underflow.
2875         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2876         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
2877         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2878         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
2879         underflow.
2880         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2881         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2882         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2883         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2884         * math/auto-libm-test-in: Do not allow missing errno setting for
2885         tests of j1 and jn.
2886         * math/auto-libm-test-out: Regenerated.
2888 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
2890         [BZ #15491]
2891         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
2892         floating-point environment instead of clearing all exceptions.
2893         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2894         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
2895         merging in "invalid" exceptions from frndint.
2896         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2897         * math/test-nearbyint-except.c: New file.
2898         * math/Makefile (tests): Add test-nearbyint-except.
2900 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
2902         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
2904         * sysdeps/tile/libm-test-ulps: Regenerated.
2906 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
2909         (__NR_sync_file_range2): Assume it is always defined.
2910         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2911         (__NR_sync_file_range): Assume it is always defined.
2913 2015-10-22  Andreas Schwab  <schwab@suse.de>
2915         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2916         INTERNAL_SYSCALL_ERRNO.
2917         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2918         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2919         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2920         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2921         Likewise.
2922         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2924 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2926         * io/tst-fcntl.c (fd): New static variable.
2927         (do_prepare): Open temporary file here....
2928         (do_test): ...not here.
2930         * io/ftwtest-sh: Also trap on exit to remove temporary files.
2932 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2934         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
2935         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2936         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2937         Moved before "#ifdef __ASSEMBLER__".
2939 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2941         [BZ #19156]
2942         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
2943         arguments very close to 0.
2945 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
2947         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
2948         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
2950 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2952         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2953         New.  Defined for GCC 5 and above when not compiling for
2954         profiling.
2955         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2957         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2958         Renamed to ...
2959         (CFLAGS-epoll_pwait.o): This.
2960         (CFLAGS-mmap.c): Renamed to ...
2961         (CFLAGS-mmap.o): This.
2962         (CFLAGS-mmap64.c): Renamed to ...
2963         (CFLAGS-mmap64.o): This.
2964         (CFLAGS-epoll_pwait.os): New.
2965         (CFLAGS-mmap.os): Likewise.
2966         (CFLAGS-mmap64.os): Likewise.
2967         (CFLAGS-semtimedop.os): Likewise.
2968         (CFLAGS-semtimedop.c): Renamed to ...
2969         (CFLAGS-semtimedop.o): This.
2971 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2973         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
2974         warning message.
2976 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2978         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
2979         * Makefile ($(objpfx)c++-types-check.out): Filter out
2980         $(+gccwarn-c) instead of -Wstrict-prototypes.
2982         * io/fts.c (fts_open): Convert to prototype-style function
2983         definition.
2984         * malloc/mcheck.c (mcheck): Likewise.
2985         (mcheck_pedantic): Likewise.
2986         * posix/regexec.c (re_search_2_stub): Likewise.  Use
2987         internal_function.
2988         (re_search_internal): Likewise.
2989         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
2990         prototype-style function definition.
2991         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2992         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2993         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
2994         (xdr_utmpptr): Likewise.
2995         (xdr_utmparr): Likewise.
2996         (xdr_utmpidle): Likewise.
2997         (xdr_utmpidleptr): Likewise.
2998         (xdr_utmpidlearr): Likewise.
3000         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
3001         log, log10 and log2.
3002         * math/auto-libm-test-out: Regenerated.
3003         * math/libm-test.inc (fmod_test_data): Add more tests.
3004         (fpclassify_test_data): Likewise.
3005         (frexp_test_data): Likewise.
3006         (hypot_test_data): Likewise.
3007         (ilogb_test_data): Likewise.
3009 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
3011         * debug/fortify_fail.c (__fortify_fail): Convert to
3012         prototype-style function definition.  Use internal_function.
3013         * libio/genops.c (save_for_backup): Convert to prototype-style
3014         function definition.
3015         * libio/wgenops.c (save_for_wbackup): Likewise.
3016         * login/grantpt.c (grantpt): Likewise.
3017         * login/ptsname.c (ptsname): Likewise.
3018         (__ptsname_r): Likewise.
3019         * login/unlockpt.c (unlockpt): Likewise.
3020         * mach/msgserver.c (__mach_msg_server): Likewise.
3021         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
3022         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
3023         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
3024         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
3025         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
3026         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
3027         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
3028         Likewise.
3029         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
3030         internal_function.
3031         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
3032         prototype-style function definition.
3033         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
3034         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
3035         (__pthread_create_2_0): Likewise.
3036         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
3037         * nptl/register-atfork.c (__register_atfork): Likewise.
3038         * posix/glob.c (glob): Likewise.
3039         * posix/regcomp.c (re_comp): Likewise.
3040         * posix/regexec.c (re_exec): Likewise.
3041         * stdlib/add_n.c [__STDC__]: Make code unconditional.
3042         [!__STDC__]: Remove conditional code.
3043         * stdlib/cmp.c [__STDC__]: Make code unconditional.
3044         [!__STDC__]: Remove conditional code.
3045         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
3046         [!__STDC__]: Remove conditional code.
3047         * stdlib/divrem.c [__STDC__]: Make code unconditional.
3048         [!__STDC__]: Remove conditional code.
3049         * stdlib/lshift.c [__STDC__]: Make code unconditional.
3050         [!__STDC__]: Remove conditional code.
3051         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
3052         [!__STDC__]: Remove conditional code.
3053         * stdlib/mul.c [__STDC__]: Make code unconditional.
3054         [!__STDC__]: Remove conditional code.
3055         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
3056         [!__STDC__]: Remove conditional code.
3057         * stdlib/rshift.c [__STDC__]: Make code unconditional.
3058         [!__STDC__]: Remove conditional code.
3059         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
3060         function definition.
3061         (STRTOF): Likewise.
3062         * stdlib/strtod_l.c (__STRTOF): Likewise.
3063         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
3064         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
3065         (__strtol_l): Likewise.
3066         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
3067         [!__STDC__]: Remove conditional code.
3068         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
3069         definition.
3070         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3071         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3072         type.
3073         (__strcasecmp): Convert to prototype-style function definition.
3074         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
3075         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3076         type.
3077         (__strncasecmp): Convert to prototype-style function definition.
3078         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
3079         * sunrpc/xdr.c (xdr_union): Likewise.
3080         * sunrpc/xdr_array.c (xdr_array): Likewise.
3081         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
3082         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
3083         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
3084         Likewise.
3085         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
3086         Likewise.
3087         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
3088         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
3089         Likewise.
3090         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
3091         (LOCALE_PARAM_PROTO): Likewise.
3092         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
3093         argument type.
3094         (ut_argument_spec): Remove macro.
3095         (ut_argument_spec_iso): Rename to ut_argument_spec.
3096         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
3097         prototype-style function definition.
3098         (memcpy_uppcase): Likewise.
3099         (__strftime_internal): Likewise.
3100         (my_strftime): Likewise.
3101         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
3102         (LOCALE_PARAM_DECL): Likewise.
3103         [_LIBC] (LOCALE_PARAM): Include argument type.
3104         (__strptime_internal): Convert to prototype-style function
3105         definition.
3106         (strptime): Likewise.
3107         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3108         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3109         type.
3110         (__wcscasecmp): Convert to prototype-style function definition.
3111         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
3112         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3113         type.
3114         (__wcsncasecmp): Convert to prototype-style function definition.
3116         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
3117         function definition.
3118         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3119         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3120         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
3121         * elf/dl-minimal.c (_itoa): Likewise.
3122         * hurd/hurdmalloc.c (malloc): Likewise.
3123         (free): Likewise.
3124         (realloc): Likewise.
3125         * inet/inet6_option.c (inet6_option_space): Likewise.
3126         (inet6_option_init): Likewise.
3127         (inet6_option_append): Likewise.
3128         (inet6_option_alloc): Likewise.
3129         (inet6_option_next): Likewise.
3130         (inet6_option_find): Likewise.
3131         * io/ftw.c (FTW_NAME): Likewise.
3132         (NFTW_NAME): Likewise.
3133         (NFTW_NEW_NAME): Likewise.
3134         (NFTW_OLD_NAME): Likewise.
3135         * libio/iofwide.c (_IO_fwide): Likewise.
3136         * libio/strops.c (_IO_str_init_static_internal): Likewise.
3137         (_IO_str_init_static): Likewise.
3138         (_IO_str_init_readonly): Likewise.
3139         (_IO_str_overflow): Likewise.
3140         (_IO_str_underflow): Likewise.
3141         (_IO_str_count): Likewise.
3142         (_IO_str_seekoff): Likewise.
3143         (_IO_str_pbackfail): Likewise.
3144         (_IO_str_finish): Likewise.
3145         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
3146         (_IO_wstr_overflow): Likewise.
3147         (_IO_wstr_underflow): Likewise.
3148         (_IO_wstr_count): Likewise.
3149         (_IO_wstr_seekoff): Likewise.
3150         (_IO_wstr_pbackfail): Likewise.
3151         (_IO_wstr_finish): Likewise.
3152         * locale/programs/localedef.c (normalize_codeset): Likewise.
3153         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3154         (add_locales_to_archive): Likewise.
3155         (delete_locales_from_archive): Likewise.
3156         * malloc/malloc.c (__libc_mallinfo): Likewise.
3157         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
3158         * misc/tsearch.c (__tfind): Likewise.
3159         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
3160         * nptl/pthread_attr_getdetachstate.c
3161         (__pthread_attr_getdetachstate): Likewise.
3162         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
3163         Likewise.
3164         * nptl/pthread_attr_getinheritsched.c
3165         (__pthread_attr_getinheritsched): Likewise.
3166         * nptl/pthread_attr_getschedparam.c
3167         (__pthread_attr_getschedparam): Likewise.
3168         * nptl/pthread_attr_getschedpolicy.c
3169         (__pthread_attr_getschedpolicy): Likewise.
3170         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
3171         Likewise.
3172         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
3173         Likewise.
3174         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
3175         Likewise.
3176         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
3177         Likewise.
3178         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
3179         (__pthread_attr_init_2_0): Likewise.
3180         * nptl/pthread_attr_setdetachstate.c
3181         (__pthread_attr_setdetachstate): Likewise.
3182         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
3183         Likewise.
3184         * nptl/pthread_attr_setinheritsched.c
3185         (__pthread_attr_setinheritsched): Likewise.
3186         * nptl/pthread_attr_setschedparam.c
3187         (__pthread_attr_setschedparam): Likewise.
3188         * nptl/pthread_attr_setschedpolicy.c
3189         (__pthread_attr_setschedpolicy): Likewise.
3190         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
3191         Likewise.
3192         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
3193         Likewise.
3194         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
3195         Likewise.
3196         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
3197         Likewise.
3198         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
3199         Likewise.
3200         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
3201         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
3202         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
3203         use internal_function.
3204         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
3205         prototype-style function definition.
3206         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
3207         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
3208         internal_function.
3209         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
3210         Convert to prototype-style function definition.
3211         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3212         Likewise.
3213         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3214         Likewise.
3215         (__pthread_mutex_unlock): Likewise.
3216         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
3217         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
3218         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
3219         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
3220         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
3221         * nss/makedb.c (process_input): Likewise.
3222         * posix/fnmatch.c (__strchrnul): Likewise.
3223         (__wcschrnul): Likewise.
3224         (fnmatch): Likewise.
3225         * posix/fnmatch_loop.c (FCT): Likewise.
3226         * posix/glob.c (globfree): Likewise.
3227         (__glob_pattern_type): Likewise.
3228         (__glob_pattern_p): Likewise.
3229         * posix/regcomp.c (re_compile_pattern): Likewise.
3230         (re_set_syntax): Likewise.
3231         (re_compile_fastmap): Likewise.
3232         (regcomp): Likewise.
3233         (regerror): Likewise.
3234         (regfree): Likewise.
3235         * posix/regexec.c (regexec): Likewise.
3236         (re_match): Likewise.
3237         (re_search): Likewise.
3238         (re_match_2): Likewise.
3239         (re_search_2): Likewise.
3240         (re_search_stub): Likewise.  Use internal_function
3241         (re_copy_regs): Likewise.
3242         (re_set_registers): Convert to prototype-style function
3243         definition.
3244         (prune_impossible_nodes): Likewise.  Use internal_function.
3245         * resolv/inet_net_pton.c (inet_net_pton): Convert to
3246         prototype-style function definition.
3247         (inet_net_pton_ipv4): Likewise.
3248         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3249         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
3250         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3251         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
3252         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3253         Make variadic.
3254         * time/strptime_l.c (localtime_r): Convert to prototype-style
3255         function definition.
3256         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3257         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3258         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3259         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3261         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
3262         definition.
3263         (_ufc_doit_r): Likewise.
3264         * crypt/crypt_util.c (_ufc_copymem): Likewise.
3265         (_ufc_output_conversion_r): Likewise.
3266         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
3267         * inet/rcmd.c (rcmd_af): Likewise.
3268         (rcmd): Likewise.
3269         (ruserok_af): Likewise.
3270         (ruserok): Likewise.
3271         (ruserok2_sa): Likewise.
3272         (ruserok_sa): Likewise.
3273         (iruserok_af): Likewise.
3274         (iruserok): Likewise.
3275         (__ivaliduser): Likewise.
3276         (__validuser2_sa): Likewise.
3277         * inet/rexec.c (rexec_af): Likewise.
3278         (rexec): Likewise.
3279         * inet/ruserpass.c (ruserpass): Likewise.
3280         * locale/programs/xmalloc.c (xcalloc): Likewise.
3281         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
3282         * math/w_drem.c (__drem): Likewise.
3283         * math/w_dremf.c (__dremf): Likewise.
3284         * math/w_dreml.c (__dreml): Likewise.
3285         * misc/daemon.c (daemon): Likewise.
3286         * resolv/res_debug.c (p_fqnname): Likewise.
3287         * stdlib/div.c (div): Likewise.
3288         * string/memcmp.c (memcmp_bytes): Likewise.
3289         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
3290         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3292         * crypt/cert.c (main): Convert to prototype-style function
3293         definition.
3294         * io/pipe.c (__pipe): Likewise.
3295         * io/pipe2.c (__pipe2): Likewise.
3296         * misc/futimesat.c (futimesat): Likewise.
3297         * misc/utimes.c (__utimes): Likewise.
3298         * posix/execve.c (__execve): Likewise.
3299         * posix/execvp.c (execvp): Likewise.
3300         * posix/execvpe.c (__execvpe): Likewise.
3301         * posix/fexecve.c (fexecve): Likewise.
3302         * socket/socketpair.c (socketpair): Likewise.
3303         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3304         * stdlib/erand48.c (erand48): Likewise.
3305         * stdlib/erand48_r.c (__erand48_r): Likewise.
3306         * stdlib/jrand48.c (jrand48): Likewise.
3307         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
3308         * stdlib/lcong48.c (lcong48): Likewise.
3309         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
3310         * stdlib/nrand48.c (nrand48): Likewise.
3311         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
3312         * stdlib/seed48.c (seed48): Likewise.
3313         * stdlib/seed48_r.c (__seed48_r): Likewise.
3314         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
3315         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
3316         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
3318 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3320         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
3321         * configure: Regenerated.
3322         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
3323         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
3324         unconditional.
3325         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3326         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3327         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3328         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
3329         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
3330         unconditional.
3331         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3333         * posix/Makefile (CFLAGS-regex.c): Remove variable.
3334         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
3336         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
3337         function definition.
3338         * crypt/crypt_util.c (__encrypt_r): Likewise.
3339         * libio/genops.c (_IO_no_init): Likewise.
3340         * libio/iofopncook.c (_IO_fopencookie): Likewise.
3341         (_IO_old_fopencookie): Likewise.
3342         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3343         * libio/iogetline.c (_IO_getline): Likewise.
3344         (_IO_getline_info): Likewise.
3345         * libio/iogetwline.c (_IO_getwline): Likewise.
3346         (_IO_getwline_info): Likewise.
3347         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3348         * libio/vswprintf.c (_IO_vswprintf): Likewise.
3349         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
3350         (find_entry): Likewise.
3351         (iterate_table): Likewise.
3352         (lookup): Likewise.
3353         * login/forkpty.c (forkpty): Likewise.
3354         * misc/hsearch_r.c (__hsearch_r): Likewise.
3355         * misc/select.c (__select): Likewise.
3356         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
3357         Likewise.
3358         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
3359         Likewise.
3360         * nptl/old_pthread_cond_timedwait.c
3361         (__pthread_cond_timedwait_2_0): Likewise.
3362         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
3363         * nptl/pthread_barrierattr_getpshared.c
3364         (pthread_barrierattr_getpshared): Likewise.
3365         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3366         Likewise.
3367         * nptl/pthread_mutex_setprioceiling.c
3368         (pthread_mutex_setprioceiling): Likewise.
3369         * nptl/pthread_mutexattr_getprioceiling.c
3370         (pthread_mutexattr_getprioceiling): Likewise.
3371         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
3372         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3373         Likewise.
3374         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3375         Likewise.
3376         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
3377         Likewise.
3378         * socket/recvfrom.c (__recvfrom): Likewise.
3379         * socket/sendto.c (__sendto): Likewise.
3380         * socket/setsockopt.c (__setsockopt): Likewise.
3381         * stdio-common/_itoa.c (_itoa): Likewise.
3382         * stdio-common/_itowa.c (_itowa): Likewise.
3383         * stdio-common/reg-printf.c (__register_printf_specifier):
3384         Likewise.
3385         (__register_printf_function): Likewise.
3386         * stdio-common/tempname.c (__path_search): Likewise.
3387         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
3388         * stdlib/mul_1.c (mpn_mul_1): Likewise.
3389         * stdlib/random_r.c (__initstate_r): Likewise.
3390         * stdlib/setenv.c (__add_to_environ): Likewise.
3391         * stdlib/submul_1.c (mpn_submul_1): Likewise.
3392         * streams/getpmsg.c (getpmsg): Likewise.
3393         * streams/putmsg.c (putmsg): Likewise.
3394         * streams/putpmsg.c (putpmsg): Likewise.
3395         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
3396         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3397         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
3398         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3399         * sunrpc/pm_getport.c (pmap_getport): Likewise.
3400         * sunrpc/svc_udp.c (cache_get): Likewise.
3401         * sunrpc/xdr_array.c (xdr_vector): Likewise.
3402         * sysdeps/mach/hurd/getcwd.c
3403         (__canonicalize_directory_name_internal): Likewise.
3404         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
3405         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
3406         * sysdeps/mach/hurd/select.c (__select): Likewise.
3407         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
3408         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
3409         * sysdeps/sparc/nptl/pthread_barrier_init.c
3410         (__pthread_barrier_init): Likewise.
3411         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
3412         (__pthread_cond_timedwait): Likewise.
3413         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
3414         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
3415         Likewise.
3416         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
3417         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
3418         Likewise.
3419         * sysvipc/semtimedop.c (semtimedop): Likewise.
3420         * time/setitimer.c (__setitimer): Likewise.
3421         * time/strftime_l.c (emacs_strftime): Likewise.
3423 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3425         * config.make.in (have-ssp): Delete.
3426         (stack-protector): New variable.
3427         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
3428         cache test for -fstack-protector-strong.  Export stack_protector to
3429         the best ssp flag.
3430         * configure: Regenerated.
3431         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
3432         * nscd/Makefile (CFLAGS-nscd): Likewise.
3433         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3435 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
3437         [BZ #19122]
3438         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
3439         attribute_hidden.
3441 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3443         [BZ #18743]
3444         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
3445         code to...
3446         (ELIDE_LOCK): ...here.
3447         (__get_new_count): New function with part of the code from
3448         __elide_lock that updates the value of adapt_count after a
3449         transaction abort.
3450         (__elided_trylock): Moved this code to...
3451         (ELIDE_TRYLOCK): ...here.
3453 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3455         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
3456         * configure: Regenerate.
3457         * INSTALL: Regenerate.
3458         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
3459         and tweak grammar.
3461 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
3463         * login/programs/pt_chown.c: Include signal.h
3464         (main): Clear any signal mask from the parent process.
3466 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3468         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
3469         * configure: Regenerated.
3470         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
3471         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
3472         $(gnu89-inline-CFLAGS).
3474         * configure.ac (libc_cv_asm_weak_directive): Remove configure
3475         test.
3476         (libc_cv_asm_weakext_directive): Likewise.
3477         * configure: Regenerated.
3478         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
3479         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
3480         * include/libc-symbols.h
3481         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
3482         #error.
3483         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
3484         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
3486         * sysdeps/arm/backtrace.c (__backtrace): Convert to
3487         prototype-style function definition.
3488         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3489         * sysdeps/i386/ffs.c (__ffs): Likewise.
3490         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3491         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
3492         Likewise.
3493         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3494         Likewise.
3495         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3496         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3497         Likewise.
3498         * sysdeps/m68k/ffs.c (__ffs): Likewise.
3499         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
3500         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
3501         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
3502         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
3503         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
3504         * sysdeps/mach/hurd/access.c (__access): Likewise.
3505         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3506         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
3507         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3508         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
3509         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
3510         (cthread_getspecific): Likewise.
3511         (cthread_setspecific): Likewise.
3512         (__libc_getspecific): Likewise.
3513         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
3514         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
3515         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
3516         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
3517         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
3518         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
3519         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
3520         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
3521         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
3522         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
3523         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
3524         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
3525         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
3526         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
3527         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
3528         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
3529         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
3530         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
3531         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
3532         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
3533         * sysdeps/mach/hurd/link.c (__link): Likewise.
3534         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
3535         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
3536         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3537         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
3538         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3539         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
3540         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
3541         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
3542         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3543         * sysdeps/mach/hurd/rename.c (rename): Likewise.
3544         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
3545         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
3546         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
3547         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
3548         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
3549         * sysdeps/mach/hurd/send.c (__send): Likewise.
3550         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
3551         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
3552         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
3553         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
3554         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
3555         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
3556         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
3557         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
3558         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
3559         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
3560         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
3561         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3562         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
3563         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
3564         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3565         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3566         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
3567         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
3568         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
3569         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3570         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
3571         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
3572         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
3573         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
3574         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
3575         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
3576         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
3577         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3578         * sysdeps/posix/alarm.c (alarm): Likewise.
3579         * sysdeps/posix/cuserid.c (cuserid): Likewise.
3580         * sysdeps/posix/dirfd.c (dirfd): Likewise.
3581         * sysdeps/posix/dup.c (__dup): Likewise.
3582         * sysdeps/posix/dup2.c (__dup2): Likewise.
3583         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
3584         (main): Likewise.
3585         * sysdeps/posix/flock.c (__flock): Likewise.
3586         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3587         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3588         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
3589         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
3590         * sysdeps/posix/isatty.c (__isatty): Likewise.
3591         * sysdeps/posix/killpg.c (killpg): Likewise.
3592         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3593         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
3594         * sysdeps/posix/raise.c (raise): Likewise.
3595         * sysdeps/posix/remove.c (remove): Likewise.
3596         * sysdeps/posix/rename.c (rename): Likewise.
3597         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
3598         * sysdeps/posix/seekdir.c (seekdir): Likewise.
3599         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3600         * sysdeps/posix/sigignore.c (sigignore): Likewise.
3601         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
3602         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
3603         * sysdeps/posix/sigset.c (sigset): Likewise.
3604         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
3605         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3606         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
3607         * sysdeps/posix/time.c (time): Likewise.
3608         * sysdeps/posix/ttyname.c (getttyname): Likewise.
3609         (ttyname): Likewise.
3610         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
3611         * sysdeps/posix/utime.c (utime): Likewise.
3612         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
3613         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3614         Likewise.
3615         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
3616         (pthread_spin_trylock): Likewise.
3617         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
3618         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
3619         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
3620         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
3621         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
3622         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
3623         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
3624         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
3625         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
3626         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
3627         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
3628         * sysdeps/s390/ffs.c (__ffs): Likewise.
3629         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
3630         Likewise.
3631         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3632         Likewise.
3633         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
3634         Likewise.
3635         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
3636         (pthread_barrier_destroy): Likewise.
3637         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3638         (__pthread_barrier_wait): Likewise.
3639         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
3640         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3641         (__pthread_barrier_wait): Likewise.
3642         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
3643         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
3644         (memcmp_not_common_alignment): Likewise.
3645         (MEMCMP): Likewise.
3646         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
3647         (_wordcopy_fwd_dest_aligned): Likewise.
3648         (_wordcopy_bwd_aligned): Likewise.
3649         (_wordcopy_bwd_dest_aligned): Likewise.
3650         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
3651         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
3652         * sysdeps/unix/bsd/stty.c (stty): Likewise.
3653         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3654         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3655         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
3656         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
3657         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
3658         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
3659         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
3660         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
3661         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3662         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
3663         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
3664         * sysdeps/unix/stime.c (stime): Likewise.
3665         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
3666         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
3667         Likewise.  Use internal_function.
3668         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
3669         Convert to prototype-style function definition.
3670         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3671         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3672         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
3673         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3674         Likewise.  Use internal_function.
3675         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
3676         prototype-style function definition
3677         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3678         Likewise.
3679         (__getlogin_r): Likewise.
3680         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
3681         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
3682         (__pthread_cond_broadcast): Likewise.
3683         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
3684         (__pthread_cond_destroy): Likewise.
3685         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
3686         (__pthread_cond_init): Likewise.
3687         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
3688         (__pthread_cond_signal): Likewise.
3689         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3690         (__pthread_cond_wait): Likewise.
3691         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
3692         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3693         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
3694         Likewise.
3695         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
3696         Likewise.
3697         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
3698         Likewise.
3699         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
3700         Likewise.
3701         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
3702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
3703         (__ftruncate64): Likewise.
3704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
3705         (truncate64): Likewise.
3706         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
3707         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
3708         (pthread_getcpuclockid): Likewise.
3709         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3710         Likewise.
3711         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3712         Likewise.
3713         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
3714         Likewise.
3715         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3716         Likewise.
3717         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
3718         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
3719         (__libc_sigaction): Likewise.
3720         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
3721         Likewise.
3722         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
3723         (__sigprocmask): Likewise.
3724         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
3725         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
3726         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
3727         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3728         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3729         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
3730         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3731         Likewise.
3732         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3733         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3734         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3735         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
3736         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
3737         Likewise.
3738         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
3739         (__sigprocmask): Likewise.
3740         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
3741         (cfgetispeed): Likewise.
3742         (cfsetospeed): Likewise.
3743         (cfsetispeed): Likewise.
3744         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
3745         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
3746         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3747         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3748         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
3749         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
3750         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
3751         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
3752         Likewise.
3753         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
3754         Likewise.
3755         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
3756         Likewise.
3757         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
3758         Likewise.
3759         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3761 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3763         sunrpc: Rewrite with explicit TLS access using __thread.
3764         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
3765         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
3766         directly.
3767         (__rpc_thread_variables): Access thread_rpc_vars directly.
3768         Eliminate redundant assignment of the tvp variable.
3770 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3772         malloc: Rewrite with explicit TLS access using __thread.
3773         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
3774         (tsd_setspecific, tsd_getspecific): Remove.
3775         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
3776         (tsd_setspecific, tsd_getspecific): Likewise.
3777         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
3778         (tsd_setspecific, tsd_getspecific): Likewise.
3779         * malloc/arena.c (thread_arena): New TLS variable.
3780         (arena_key): Remove variable.
3781         (arena_get): Use thread_arena.
3782         (arena_lookup): Remove macro.
3783         (malloc_atfork, free_atfork, ptmalloc_lock_all)
3784         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
3785         (_int_new_arena, get_free_list, reused_arena)
3786         (arena_thread_freeres): Use thread_arena.
3787         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
3788         tsd_getspecific, tsd_setspecific from safety annotations.
3789         (Allocating Cleared Space): Remove arena_lookup from safety
3790         annotations.
3792 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3794         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
3795         struct scratch_buffer instead of extend_alloca.
3797 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3799         * sysdeps/unix/sysv/linux/kernel-features.h
3800         (__ASSUME_SOCK_CLOEXEC): Remove.
3801         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
3802         (__have_paccept): Remove unused macro.
3803         * include/unistd.h (__have_sock_cloexec): Remove declaration.
3804         * misc/syslog.c (openlog_internal): Remove fallback code for
3805         !__ASSUME_SOCK_CLOEXEC.
3806         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
3807         missing SOCK_CLOEXEC.
3808         * nscd/connections.c (have_sock_cloexec): Remove definition.
3809         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3810         * nscd/nscd_helper.c (open_socket): Remove fallback code for
3811         !__ASSUME_SOCK_CLOEXEC.
3812         * resolv/res_send.c (__have_o_nonblock): Remove definition.
3813         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3814         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
3815         definition.
3816         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
3817         code for !__ASSUME_SOCK_CLOEXEC.
3819 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3821         [BZ #18982]
3822         * manual/stdio.texi (Variable Arguments Output): Add portability
3823         note, explaining that vfprintf clobbers the va_list pointer.
3825 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3827         * math/libm-test.inc (fabs_test_data): Add more tests.
3828         (fdim_test_data): Likewise.
3829         (fma_test_data): Likewise.
3830         (fmax_test_data): Likewise.
3831         (fmin_test_data): Likewise.
3832         (fmod_test_data): Likewise.
3834 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
3836         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
3837         data.
3839 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3841         * math/libm-test.inc (ceil_test_data): Add more tests and more
3842         expectations for "inexact".
3843         (floor_test_data): Add more tests.
3844         (round_test_data): Likewise.
3845         (trunc_test_data): Likewise.
3847         * crypt/cert.c (good_bye): Convert to prototype-style function
3848         definition.
3849         (get8): Likewise.
3850         (put8): Likewise.
3851         * crypt/crypt-entry.c (crypt): Likewise.
3852         (__fcrypt): Likewise.
3853         * crypt/crypt_util.c (_ufc_prbits): Likewise.
3854         (_ufc_set_bits): Likewise.
3855         (_ufc_clearmem): Likewise.
3856         (__init_des_r): Likewise.
3857         (shuffle_sb): Likewise.
3858         (shuffle_sb): Likewise.
3859         (_ufc_setup_salt_r): Likewise.
3860         (_ufc_mk_keytab_r): Likewise.
3861         (_ufc_dofinalperm_r): Likewise.
3862         (encrypt): Likewise.
3863         (__setkey_r): Likewise.
3864         (setkey): Likewise.
3865         * crypt/md5.c (md5_init_ctx): Likewise.
3866         (md5_read_ctx): Likewise.
3867         (md5_finish_ctx): Likewise.
3868         (md5_stream): Likewise.
3869         (md5_buffer): Likewise.
3870         (md5_process_bytes): Likewise.
3871         * crypt/sha256.c (__sha256_init_ctx): Likewise.
3872         (__sha256_finish_ctx): Likewise.
3873         (__sha256_process_bytes): Likewise.
3874         * crypt/sha512.c (__sha512_init_ctx): Likewise.
3875         (__sha512_finish_ctx): Likewise.
3876         (__sha512_process_bytes): Likewise.
3877         * ctype/isctype.c (__isctype): Likewise.
3878         * debug/backtrace.c (__backtrace): Likewise.
3879         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
3880         * debug/fgets_chk.c (__fgets_chk): Likewise.
3881         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
3882         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
3883         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3884         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3885         * debug/memset_chk.c (__memset_chk): Likewise.
3886         * debug/strcat_chk.c (__strcat_chk): Likewise.
3887         * debug/strncat_chk.c (__strncat_chk): Likewise.
3888         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
3889         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
3890         * dirent/dirfd.c (dirfd): Likewise.
3891         * dirent/getdents.c (__getdirentries): Likewise.
3892         * dirent/getdents64.c (getdirentries64): Likewise.
3893         * dirent/rewinddir.c (__rewinddir): Likewise.
3894         * dirent/seekdir.c (seekdir): Likewise.
3895         * dirent/telldir.c (telldir): Likewise.
3896         * elf/sln.c (makesymlinks): Likewise.
3897         (makesymlink): Likewise.
3898         * gmon/gmon.c (__moncontrol): Likewise.
3899         (__monstartup): Likewise.
3900         (write_hist): Likewise.
3901         (write_call_graph): Likewise.
3902         (write_bb_counts): Likewise.
3903         * grp/setgroups.c (setgroups): Likewise.
3904         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3905         * inet/inet_net.c (inet_network): Likewise.
3906         * inet/inet_netof.c (inet_netof): Likewise.
3907         * inet/rcmd.c (rresvport_af): Likewise.
3908         (rresvport): Likewise.
3909         * io/access.c (__access): Likewise.
3910         * io/chdir.c (__chdir): Likewise.
3911         * io/chmod.c (__chmod): Likewise.
3912         * io/chown.c (__chown): Likewise.
3913         * io/close.c (__close): Likewise.
3914         * io/creat.c (creat): Likewise.
3915         * io/creat64.c (creat64): Likewise.
3916         * io/dup.c (__dup): Likewise.
3917         * io/dup2.c (__dup2): Likewise.
3918         * io/dup3.c (__dup3): Likewise.
3919         * io/euidaccess.c (__euidaccess): Likewise.
3920         * io/faccessat.c (faccessat): Likewise.
3921         * io/fchmod.c (__fchmod): Likewise.
3922         * io/fchmodat.c (fchmodat): Likewise.
3923         * io/fchown.c (__fchown): Likewise.
3924         * io/fchownat.c (fchownat): Likewise.
3925         * io/fcntl.c (__fcntl): Likewise.
3926         * io/flock.c (__flock): Likewise.
3927         * io/fts.c (fts_load): Likewise.
3928         (fts_close): Likewise.
3929         (fts_read): Likewise.
3930         (fts_set): Likewise.
3931         (fts_children): Likewise.
3932         (fts_build): Likewise.
3933         (fts_stat): Likewise.
3934         (fts_sort): Likewise.
3935         (fts_alloc): Likewise.
3936         (fts_lfree): Likewise.
3937         (fts_palloc): Likewise.
3938         (fts_padjust): Likewise.
3939         (fts_maxarglen): Likewise.
3940         (fts_safe_changedir): Likewise.
3941         * io/getwd.c (getwd): Likewise.
3942         * io/isatty.c (__isatty): Likewise.
3943         * io/lchown.c (__lchown): Likewise.
3944         * io/link.c (__link): Likewise.
3945         * io/linkat.c (linkat): Likewise.
3946         * io/lseek.c (__libc_lseek): Likewise.
3947         * io/mkdir.c (__mkdir): Likewise.
3948         * io/mkdirat.c (mkdirat): Likewise.
3949         * io/mkfifo.c (mkfifo): Likewise.
3950         * io/mkfifoat.c (mkfifoat): Likewise.
3951         * io/open.c (__libc_open): Likewise.
3952         * io/open64.c (__libc_open64): Likewise.
3953         * io/readlink.c (__readlink): Likewise.
3954         * io/readlinkat.c (readlinkat): Likewise.
3955         * io/rmdir.c (__rmdir): Likewise.
3956         * io/symlink.c (__symlink): Likewise.
3957         * io/symlinkat.c (symlinkat): Likewise.
3958         * io/ttyname.c (ttyname): Likewise.
3959         * io/ttyname_r.c (__ttyname_r): Likewise.
3960         * io/umask.c (__umask): Likewise.
3961         * io/unlink.c (__unlink): Likewise.
3962         * io/unlinkat.c (unlinkat): Likewise.
3963         * io/utime.c (utime): Likewise.
3964         * libio/clearerr.c (clearerr): Likewise.
3965         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
3966         * libio/feof.c (_IO_feof): Likewise.
3967         * libio/feof_u.c (feof_unlocked): Likewise.
3968         * libio/ferror.c (_IO_ferror): Likewise.
3969         * libio/ferror_u.c (ferror_unlocked): Likewise.
3970         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3971         * libio/fileno.c (__fileno): Likewise.
3972         * libio/fputc.c (fputc): Likewise.
3973         * libio/fputc_u.c (fputc_unlocked): Likewise.
3974         * libio/fputwc.c (fputwc): Likewise.
3975         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
3976         * libio/freopen.c (freopen): Likewise.
3977         * libio/freopen64.c (freopen64): Likewise.
3978         * libio/fseek.c (fseek): Likewise.
3979         * libio/fseeko.c (fseeko): Likewise.
3980         * libio/fseeko64.c (fseeko64): Likewise.
3981         * libio/ftello.c (__ftello): Likewise.
3982         * libio/ftello64.c (ftello64): Likewise.
3983         * libio/fwide.c (fwide): Likewise.
3984         * libio/genops.c (_IO_un_link): Likewise.
3985         (_IO_link_in): Likewise.
3986         (_IO_least_marker): Likewise.
3987         (_IO_switch_to_main_get_area): Likewise.
3988         (_IO_switch_to_backup_area): Likewise.
3989         (_IO_switch_to_get_mode): Likewise.
3990         (_IO_free_backup_area): Likewise.
3991         (_IO_switch_to_put_mode): Likewise.
3992         (__overflow): Likewise.
3993         (__underflow): Likewise.
3994         (__uflow): Likewise.
3995         (_IO_setb): Likewise.
3996         (_IO_doallocbuf): Likewise.
3997         (_IO_default_underflow): Likewise.
3998         (_IO_default_uflow): Likewise.
3999         (_IO_default_xsputn): Likewise.
4000         (_IO_sgetn): Likewise.
4001         (_IO_default_xsgetn): Likewise.
4002         (_IO_sync): Likewise.
4003         (_IO_default_setbuf): Likewise.
4004         (_IO_default_seekpos): Likewise.
4005         (_IO_default_doallocate): Likewise.
4006         (_IO_init): Likewise.
4007         (_IO_old_init): Likewise.
4008         (_IO_default_sync): Likewise.
4009         (_IO_default_finish): Likewise.
4010         (_IO_default_seekoff): Likewise.
4011         (_IO_sputbackc): Likewise.
4012         (_IO_sungetc): Likewise.
4013         (_IO_set_column): Likewise.
4014         (_IO_set_column): Likewise.
4015         (_IO_adjust_column): Likewise.
4016         (_IO_get_column): Likewise.
4017         (_IO_init_marker): Likewise.
4018         (_IO_remove_marker): Likewise.
4019         (_IO_marker_difference): Likewise.
4020         (_IO_marker_delta): Likewise.
4021         (_IO_seekmark): Likewise.
4022         (_IO_unsave_markers): Likewise.
4023         (_IO_nobackup_pbackfail): Likewise.
4024         (_IO_default_pbackfail): Likewise.
4025         (_IO_default_seek): Likewise.
4026         (_IO_default_stat): Likewise.
4027         (_IO_default_read): Likewise.
4028         (_IO_default_write): Likewise.
4029         (_IO_default_showmanyc): Likewise.
4030         (_IO_default_imbue): Likewise.
4031         (_IO_iter_next): Likewise.
4032         (_IO_iter_file): Likewise.
4033         * libio/getc.c (_IO_getc): Likewise.
4034         * libio/getwc.c (_IO_getwc): Likewise.
4035         * libio/iofclose.c (_IO_new_fclose): Likewise.
4036         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4037         * libio/iofflush.c (_IO_fflush): Likewise.
4038         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
4039         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
4040         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
4041         * libio/iofgets.c (_IO_fgets): Likewise.
4042         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
4043         * libio/iofgetws.c (fgetws): Likewise.
4044         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4045         * libio/iofopen64.c (_IO_fopen64): Likewise.
4046         * libio/iofopncook.c (_IO_cookie_read): Likewise.
4047         (_IO_cookie_write): Likewise.
4048         (_IO_cookie_seek): Likewise.
4049         (_IO_cookie_close): Likewise.
4050         (_IO_cookie_seekoff): Likewise.
4051         (_IO_old_cookie_seek): Likewise.
4052         * libio/iofputs.c (_IO_fputs): Likewise.
4053         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
4054         * libio/iofputws.c (fputws): Likewise.
4055         * libio/iofputws_u.c (fputws_unlocked): Likewise.
4056         * libio/iofread.c (_IO_fread): Likewise.
4057         * libio/iofread_u.c (__fread_unlocked): Likewise.
4058         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4059         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4060         * libio/ioftell.c (_IO_ftell): Likewise.
4061         * libio/iofwrite.c (_IO_fwrite): Likewise.
4062         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4063         * libio/iogets.c (_IO_gets): Likewise.
4064         * libio/iopadn.c (_IO_padn): Likewise.
4065         * libio/iopopen.c (_IO_new_proc_open): Likewise.
4066         (_IO_new_popen): Likewise.
4067         (_IO_new_proc_close): Likewise.
4068         * libio/ioputs.c (_IO_puts): Likewise.
4069         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
4070         (_IO_seekoff): Likewise.
4071         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
4072         (_IO_seekpos): Likewise.
4073         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4074         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4075         * libio/ioungetc.c (_IO_ungetc): Likewise.
4076         * libio/ioungetwc.c (ungetwc): Likewise.
4077         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4078         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4079         * libio/iowpadn.c (_IO_wpadn): Likewise.
4080         * libio/libc_fatal.c (__libc_fatal): Likewise.
4081         * libio/memstream.c (__open_memstream): Likewise.
4082         (_IO_mem_sync): Likewise.
4083         (_IO_mem_finish): Likewise.
4084         * libio/oldfileops.c (_IO_old_file_init): Likewise.
4085         (_IO_old_file_close_it): Likewise.
4086         (_IO_old_file_finish): Likewise.
4087         (_IO_old_file_fopen): Likewise.
4088         (_IO_old_file_attach): Likewise.
4089         (_IO_old_file_setbuf): Likewise.
4090         (_IO_old_do_write): Likewise.
4091         (old_do_write): Likewise.
4092         (_IO_old_file_underflow): Likewise.
4093         (_IO_old_file_overflow): Likewise.
4094         (_IO_old_file_sync): Likewise.
4095         (_IO_old_file_seekoff): Likewise.
4096         (_IO_old_file_write): Likewise.
4097         (_IO_old_file_xsputn): Likewise.
4098         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4099         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4100         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
4101         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
4102         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4103         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
4104         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
4105         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4106         (_IO_old_popen): Likewise.
4107         (_IO_old_proc_close): Likewise.
4108         * libio/oldpclose.c (__old_pclose): Likewise.
4109         * libio/pclose.c (__new_pclose): Likewise.
4110         * libio/peekc.c (_IO_peekc_locked): Likewise.
4111         * libio/putc.c (_IO_putc): Likewise.
4112         * libio/putc_u.c (putc_unlocked): Likewise.
4113         * libio/putchar.c (putchar): Likewise.
4114         * libio/putchar_u.c (putchar_unlocked): Likewise.
4115         * libio/putwc.c (putwc): Likewise.
4116         * libio/putwc_u.c (putwc_unlocked): Likewise.
4117         * libio/putwchar.c (putwchar): Likewise.
4118         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4119         * libio/rewind.c (rewind): Likewise.
4120         * libio/setbuf.c (setbuf): Likewise.
4121         * libio/setlinebuf.c (setlinebuf): Likewise.
4122         * libio/vasprintf.c (_IO_vasprintf): Likewise.
4123         * libio/vscanf.c (_IO_vscanf): Likewise.
4124         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
4125         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
4126         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4127         * libio/wgenops.c (_IO_least_wmarker): Likewise.
4128         (_IO_switch_to_main_wget_area): Likewise.
4129         (_IO_switch_to_wbackup_area): Likewise.
4130         (_IO_wsetb): Likewise.
4131         (_IO_wdefault_pbackfail): Likewise.
4132         (_IO_wdefault_finish): Likewise.
4133         (_IO_wdefault_uflow): Likewise.
4134         (__woverflow): Likewise.
4135         (__wuflow): Likewise.
4136         (__wunderflow): Likewise.
4137         (_IO_wdefault_xsputn): Likewise.
4138         (_IO_wdefault_xsgetn): Likewise.
4139         (_IO_wdoallocbuf): Likewise.
4140         (_IO_wdefault_doallocate): Likewise.
4141         (_IO_switch_to_wget_mode): Likewise.
4142         (_IO_free_wbackup_area): Likewise.
4143         (_IO_switch_to_wput_mode): Likewise.
4144         (_IO_sputbackwc): Likewise.
4145         (_IO_sungetwc): Likewise.
4146         (_IO_adjust_wcolumn): Likewise.
4147         (_IO_init_wmarker): Likewise.
4148         (_IO_wmarker_delta): Likewise.
4149         (_IO_seekwmark): Likewise.
4150         (_IO_unsave_wmarkers): Likewise.
4151         * libio/wmemstream.c (open_wmemstream): Likewise.
4152         (_IO_wmem_sync): Likewise.
4153         (_IO_wmem_finish): Likewise.
4154         * locale/nl_langinfo.c (nl_langinfo): Likewise.
4155         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
4156         * locale/programs/simple-hash.c (init_hash): Likewise.
4157         (delete_hash): Likewise.
4158         (insert_entry): Likewise.
4159         (set_entry): Likewise.
4160         (next_prime): Likewise.
4161         (is_prime): Likewise.
4162         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
4163         (xmalloc): Likewise.
4164         (xrealloc): Likewise.
4165         * locale/programs/xstrdup.c (xstrdup): Likewise.
4166         * localedata/collate-test.c (xstrcoll): Likewise.
4167         * localedata/xfrm-test.c (xstrcmp): Likewise.
4168         * login/getlogin_r.c (__getlogin_r): Likewise.
4169         * login/getpt.c (__posix_openpt): Likewise.
4170         * login/login_tty.c (login_tty): Likewise.
4171         * login/setlogin.c (setlogin): Likewise.
4172         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
4173         (mach_msg_destroy_port): Likewise.
4174         (mach_msg_destroy_memory): Likewise.
4175         * malloc/mcheck.c (flood): Likewise.
4176         * misc/acct.c (acct): Likewise.
4177         * misc/brk.c (__brk): Likewise.
4178         * misc/chflags.c (chflags): Likewise.
4179         * misc/chroot.c (chroot): Likewise.
4180         * misc/fchflags.c (fchflags): Likewise.
4181         * misc/fstab.c (getfsspec): Likewise.
4182         (getfsfile): Likewise.
4183         * misc/fsync.c (fsync): Likewise.
4184         * misc/ftruncate.c (__ftruncate): Likewise.
4185         * misc/ftruncate64.c (__ftruncate64): Likewise.
4186         * misc/getdomain.c (getdomainname): Likewise.
4187         (getdomainname): Likewise.
4188         * misc/gethostname.c (__gethostname): Likewise.
4189         * misc/getpass.c (getpass): Likewise.
4190         * misc/getttyent.c (skip): Likewise.
4191         (value): Likewise.
4192         * misc/gtty.c (gtty): Likewise.
4193         * misc/hsearch.c (hsearch): Likewise.
4194         (hcreate): Likewise.
4195         * misc/hsearch_r.c (__hcreate_r): Likewise.
4196         (__hdestroy_r): Likewise.
4197         * misc/ioctl.c (__ioctl): Likewise.
4198         * misc/mkdtemp.c (mkdtemp): Likewise.
4199         * misc/mkostemp.c (mkostemp): Likewise.
4200         * misc/mkostemp64.c (mkostemp64): Likewise.
4201         * misc/mkostemps.c (mkostemps): Likewise.
4202         * misc/mkostemps64.c (mkostemps64): Likewise.
4203         * misc/mkstemp.c (mkstemp): Likewise.
4204         * misc/mkstemp64.c (mkstemp64): Likewise.
4205         * misc/mkstemps.c (mkstemps): Likewise.
4206         * misc/mkstemps64.c (mkstemps64): Likewise.
4207         * misc/mktemp.c (__mktemp): Likewise.
4208         * misc/preadv.c (preadv): Likewise.
4209         * misc/preadv64.c (preadv64): Likewise.
4210         * misc/pwritev.c (pwritev): Likewise.
4211         * misc/pwritev64.c (pwritev64): Likewise.
4212         * misc/readv.c (__readv): Likewise.
4213         * misc/revoke.c (revoke): Likewise.
4214         * misc/setdomain.c (setdomainname): Likewise.
4215         * misc/setegid.c (setegid): Likewise.
4216         * misc/seteuid.c (seteuid): Likewise.
4217         * misc/sethostid.c (sethostid): Likewise.
4218         * misc/sethostname.c (sethostname): Likewise.
4219         * misc/setregid.c (__setregid): Likewise.
4220         * misc/setreuid.c (__setreuid): Likewise.
4221         * misc/sstk.c (sstk): Likewise.
4222         * misc/stty.c (stty): Likewise.
4223         * misc/syscall.c (syscall): Likewise.
4224         * misc/syslog.c (setlogmask): Likewise.
4225         * misc/truncate.c (__truncate): Likewise.
4226         * misc/truncate64.c (truncate64): Likewise.
4227         * misc/ualarm.c (ualarm): Likewise.
4228         * misc/usleep.c (usleep): Likewise.
4229         * misc/ustat.c (ustat): Likewise.
4230         * misc/writev.c (__writev): Likewise.
4231         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
4232         * nptl/old_pthread_cond_broadcast.c
4233         (__pthread_cond_broadcast_2_0): Likewise.
4234         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
4235         Likewise.
4236         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
4237         Likewise.
4238         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
4239         Likewise.
4240         * nptl/pt-raise.c (raise): Likewise.
4241         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
4242         Likewise.
4243         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
4244         * nptl/pthread_barrierattr_destroy.c
4245         (pthread_barrierattr_destroy): Likewise.
4246         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4247         Likewise.
4248         * nptl/pthread_barrierattr_setpshared.c
4249         (pthread_barrierattr_setpshared): Likewise.
4250         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4251         Likewise.
4252         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4253         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4254         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4255         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
4256         Likewise.
4257         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
4258         Likewise.
4259         * nptl/pthread_condattr_getpshared.c
4260         (pthread_condattr_getpshared): Likewise.
4261         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
4262         Likewise.
4263         * nptl/pthread_condattr_setpshared.c
4264         (pthread_condattr_setpshared): Likewise.
4265         * nptl/pthread_detach.c (pthread_detach): Likewise.
4266         * nptl/pthread_equal.c (__pthread_equal): Likewise.
4267         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
4268         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
4269         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
4270         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
4271         Likewise.
4272         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4273         Likewise.
4274         * nptl/pthread_mutex_getprioceiling.c
4275         (pthread_mutex_getprioceiling): Likewise.
4276         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
4277         Likewise.
4278         * nptl/pthread_mutexattr_getprotocol.c
4279         (pthread_mutexattr_getprotocol): Likewise.
4280         * nptl/pthread_mutexattr_getpshared.c
4281         (pthread_mutexattr_getpshared): Likewise.
4282         * nptl/pthread_mutexattr_getrobust.c
4283         (pthread_mutexattr_getrobust): Likewise.
4284         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4285         Likewise.
4286         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
4287         Likewise.
4288         * nptl/pthread_mutexattr_setprioceiling.c
4289         (pthread_mutexattr_setprioceiling): Likewise.
4290         * nptl/pthread_mutexattr_setprotocol.c
4291         (pthread_mutexattr_setprotocol): Likewise.
4292         * nptl/pthread_mutexattr_setpshared.c
4293         (pthread_mutexattr_setpshared): Likewise.
4294         * nptl/pthread_mutexattr_setrobust.c
4295         (pthread_mutexattr_setrobust): Likewise.
4296         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
4297         Likewise.
4298         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
4299         Likewise.
4300         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
4301         Likewise.
4302         * nptl/pthread_rwlockattr_getkind_np.c
4303         (pthread_rwlockattr_getkind_np): Likewise.
4304         * nptl/pthread_rwlockattr_getpshared.c
4305         (pthread_rwlockattr_getpshared): Likewise.
4306         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
4307         Likewise.
4308         * nptl/pthread_rwlockattr_setkind_np.c
4309         (pthread_rwlockattr_setkind_np): Likewise.
4310         * nptl/pthread_rwlockattr_setpshared.c
4311         (pthread_rwlockattr_setpshared): Likewise.
4312         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
4313         Likewise.
4314         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
4315         Likewise.
4316         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
4317         Likewise.
4318         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4319         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
4320         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
4321         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
4322         * nptl/sem_close.c (sem_close): Likewise.
4323         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
4324         * nptl/sem_init.c (__old_sem_init): Likewise.
4325         * nptl/sigaction.c (__sigaction): Likewise.
4326         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4327         * posix/_exit.c (_exit): Likewise.
4328         * posix/alarm.c (alarm): Likewise.
4329         * posix/confstr.c (confstr): Likewise.
4330         * posix/fpathconf.c (__fpathconf): Likewise.
4331         * posix/getgroups.c (__getgroups): Likewise.
4332         * posix/getpgid.c (__getpgid): Likewise.
4333         * posix/group_member.c (__group_member): Likewise.
4334         * posix/pathconf.c (__pathconf): Likewise.
4335         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
4336         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
4337         * posix/setgid.c (__setgid): Likewise.
4338         * posix/setpgid.c (__setpgid): Likewise.
4339         * posix/setuid.c (__setuid): Likewise.
4340         * posix/sleep.c (__sleep): Likewise.
4341         * posix/sysconf.c (__sysconf): Likewise.
4342         * posix/times.c (__times): Likewise.
4343         * posix/uname.c (__uname): Likewise.
4344         * posix/waitid.c (__waitid): Likewise.
4345         * pwd/getpw.c (__getpw): Likewise.
4346         * resolv/base64.c (b64_pton): Likewise.
4347         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4348         * resolv/gethnamaddr.c (Dprintf): Likewise.
4349         (gethostbyname): Likewise.
4350         (gethostbyname2): Likewise.
4351         (gethostbyaddr): Likewise.
4352         (_sethtent): Likewise.
4353         (_gethtbyname): Likewise.
4354         (_gethtbyname2): Likewise.
4355         (_gethtbyaddr): Likewise.
4356         (map_v4v6_address): Likewise.
4357         (map_v4v6_hostent): Likewise.
4358         (addrsort): Likewise.
4359         (ht_sethostent): Likewise.
4360         (ht_gethostbyname): Likewise.
4361         (ht_gethostbyaddr): Likewise.
4362         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
4363         (inet_net_ntop_ipv4): Likewise.
4364         * resolv/inet_neta.c (inet_neta): Likewise.
4365         * resolv/inet_ntop.c (inet_ntop): Likewise.
4366         (inet_ntop4): Likewise.
4367         (inet_ntop6): Likewise.
4368         * resolv/inet_pton.c (__inet_pton): Likewise.
4369         (inet_pton4): Likewise.
4370         (inet_pton6): Likewise.
4371         * resolv/res_debug.c (loc_aton): Likewise.
4372         (loc_ntoa): Likewise.
4373         * resource/getpriority.c (__getpriority): Likewise.
4374         * resource/getrusage.c (__getrusage): Likewise.
4375         * resource/nice.c (nice): Likewise.
4376         * resource/setpriority.c (__setpriority): Likewise.
4377         * resource/setrlimit64.c (setrlimit64): Likewise.
4378         * resource/vlimit.c (vlimit): Likewise.
4379         * resource/vtimes.c (vtimes): Likewise.
4380         * rt/aio_error.c (aio_error): Likewise.
4381         * rt/aio_return.c (aio_return): Likewise.
4382         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
4383         * signal/kill.c (__kill): Likewise.
4384         * signal/killpg.c (killpg): Likewise.
4385         * signal/raise.c (raise): Likewise.
4386         * signal/sigaction.c (__sigaction): Likewise.
4387         * signal/sigaddset.c (sigaddset): Likewise.
4388         * signal/sigaltstack.c (sigaltstack): Likewise.
4389         * signal/sigandset.c (sigandset): Likewise.
4390         * signal/sigblock.c (__sigblock): Likewise.
4391         * signal/sigdelset.c (sigdelset): Likewise.
4392         * signal/sigempty.c (sigemptyset): Likewise.
4393         * signal/sigfillset.c (sigfillset): Likewise.
4394         * signal/sighold.c (sighold): Likewise.
4395         * signal/sigignore.c (sigignore): Likewise.
4396         * signal/sigintr.c (siginterrupt): Likewise.
4397         * signal/sigisempty.c (sigisemptyset): Likewise.
4398         * signal/sigismem.c (sigismember): Likewise.
4399         * signal/signal.c (signal): Likewise.
4400         * signal/sigorset.c (sigorset): Likewise.
4401         * signal/sigpause.c (__sigpause): Likewise.
4402         * signal/sigpending.c (sigpending): Likewise.
4403         * signal/sigprocmask.c (__sigprocmask): Likewise.
4404         * signal/sigrelse.c (sigrelse): Likewise.
4405         * signal/sigreturn.c (__sigreturn): Likewise.
4406         * signal/sigset.c (sigset): Likewise.
4407         * signal/sigsetmask.c (__sigsetmask): Likewise.
4408         * signal/sigstack.c (sigstack): Likewise.
4409         * signal/sigsuspend.c (__sigsuspend): Likewise.
4410         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
4411         * signal/sysv_signal.c (__sysv_signal): Likewise.
4412         * socket/accept.c (accept): Likewise.
4413         * socket/accept4.c (__libc_accept4): Likewise.
4414         * socket/bind.c (__bind): Likewise.
4415         * socket/connect.c (__connect): Likewise.
4416         * socket/getpeername.c (getpeername): Likewise.
4417         * socket/getsockname.c (__getsockname): Likewise.
4418         * socket/getsockopt.c (getsockopt): Likewise.
4419         * socket/listen.c (__listen): Likewise.
4420         * socket/recv.c (__recv): Likewise.
4421         * socket/recvmsg.c (__recvmsg): Likewise.
4422         * socket/send.c (__send): Likewise.
4423         * socket/sendmsg.c (__sendmsg): Likewise.
4424         * socket/shutdown.c (shutdown): Likewise.
4425         * socket/sockatmark.c (sockatmark): Likewise.
4426         * socket/socket.c (__socket): Likewise.
4427         * stdio-common/ctermid.c (ctermid): Likewise.
4428         * stdio-common/cuserid.c (cuserid): Likewise.
4429         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
4430         * stdio-common/remove.c (remove): Likewise.
4431         * stdio-common/rename.c (rename): Likewise.
4432         * stdio-common/renameat.c (renameat): Likewise.
4433         * stdio-common/tempname.c (__gen_tempname): Likewise.
4434         * stdio-common/xbug.c (InitBuffer): Likewise.
4435         (AppendToBuffer): Likewise.
4436         (ReadFile): Likewise.
4437         * stdlib/a64l.c (a64l): Likewise.
4438         * stdlib/drand48_r.c (drand48_r): Likewise.
4439         * stdlib/getcontext.c (getcontext): Likewise.
4440         * stdlib/getenv.c (getenv): Likewise.
4441         * stdlib/l64a.c (l64a): Likewise.
4442         * stdlib/llabs.c (llabs): Likewise.
4443         * stdlib/lldiv.c (lldiv): Likewise.
4444         * stdlib/lrand48_r.c (lrand48_r): Likewise.
4445         * stdlib/mrand48_r.c (mrand48_r): Likewise.
4446         * stdlib/putenv.c (putenv): Likewise.
4447         * stdlib/random.c (__srandom): Likewise.
4448         (__initstate): Likewise.
4449         (__setstate): Likewise.
4450         * stdlib/random_r.c (__srandom_r): Likewise.
4451         (__setstate_r): Likewise.
4452         (__random_r): Likewise.
4453         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
4454         * stdlib/setcontext.c (setcontext): Likewise.
4455         * stdlib/setenv.c (setenv): Likewise.
4456         (unsetenv): Likewise.
4457         * stdlib/srand48.c (srand48): Likewise.
4458         * stdlib/srand48_r.c (__srand48_r): Likewise.
4459         * stdlib/swapcontext.c (swapcontext): Likewise.
4460         * stdlib/system.c (__libc_system): Likewise.
4461         * stdlib/tst-strtod.c (expand): Likewise.
4462         * stdlib/tst-strtol.c (expand): Likewise.
4463         * stdlib/tst-strtoll.c (expand): Likewise.
4464         * streams/fattach.c (fattach): Likewise.
4465         * streams/fdetach.c (fdetach): Likewise.
4466         * streams/getmsg.c (getmsg): Likewise.
4467         * streams/isastream.c (isastream): Likewise.
4468         * string/ffs.c (__ffs): Likewise.
4469         * string/ffsll.c (ffsll): Likewise.
4470         * string/memcmp.c (memcmp_common_alignment): Likewise.
4471         (memcmp_not_common_alignment): Likewise.
4472         (MEMCMP): Likewise.
4473         * string/memcpy.c (memcpy): Likewise.
4474         * string/memmove.c (MEMMOVE): Likewise.
4475         * string/memset.c (memset): Likewise.
4476         * string/rawmemchr.c (RAWMEMCHR): Likewise.
4477         * string/strchrnul.c (STRCHRNUL): Likewise.
4478         * string/strerror.c (strerror): Likewise.
4479         * string/strndup.c (__strndup): Likewise.
4480         * string/strverscmp.c (__strverscmp): Likewise.
4481         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
4482         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
4483         (clnttcp_freeres): Likewise.
4484         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
4485         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
4486         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
4487         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
4488         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
4489         (xdr_callhdr): Likewise.
4490         * sunrpc/rpcinfo.c (udpping): Likewise.
4491         (tcpping): Likewise.
4492         (pstatus): Likewise.
4493         (pmapdump): Likewise.
4494         (brdcst): Likewise.
4495         (deletereg): Likewise.
4496         (getprognum): Likewise.
4497         (getvers): Likewise.
4498         (get_inet_address): Likewise.
4499         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
4500         * sunrpc/svc_udp.c (svcudp_create): Likewise.
4501         (svcudp_stat): Likewise.
4502         (svcudp_recv): Likewise.
4503         (svcudp_reply): Likewise.
4504         (svcudp_getargs): Likewise.
4505         (svcudp_freeargs): Likewise.
4506         (svcudp_destroy): Likewise.
4507         * sunrpc/xdr.c (xdr_bytes): Likewise.
4508         (xdr_netobj): Likewise.
4509         (xdr_string): Likewise.
4510         (xdr_wrapstring): Likewise.
4511         * sunrpc/xdr_float.c (xdr_float): Likewise.
4512         (xdr_double): Likewise.
4513         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
4514         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
4515         * sysvipc/ftok.c (ftok): Likewise.
4516         * sysvipc/msgctl.c (msgctl): Likewise.
4517         * sysvipc/msgget.c (msgget): Likewise.
4518         * sysvipc/msgrcv.c (msgrcv): Likewise.
4519         * sysvipc/msgsnd.c (msgsnd): Likewise.
4520         * sysvipc/semget.c (semget): Likewise.
4521         * sysvipc/semop.c (semop): Likewise.
4522         * sysvipc/shmat.c (shmat): Likewise.
4523         * sysvipc/shmctl.c (shmctl): Likewise.
4524         * sysvipc/shmdt.c (shmdt): Likewise.
4525         * sysvipc/shmget.c (shmget): Likewise.
4526         * termios/cfmakeraw.c (cfmakeraw): Likewise.
4527         * termios/speed.c (cfgetospeed): Likewise.
4528         (cfgetispeed): Likewise.
4529         (cfsetospeed): Likewise.
4530         (cfsetispeed): Likewise.
4531         * termios/tcflow.c (tcflow): Likewise.
4532         * termios/tcflush.c (tcflush): Likewise.
4533         * termios/tcgetattr.c (__tcgetattr): Likewise.
4534         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
4535         * termios/tcgetsid.c (tcgetsid): Likewise.
4536         * termios/tcsendbrk.c (tcsendbreak): Likewise.
4537         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
4538         * time/adjtime.c (__adjtime): Likewise.
4539         * time/dysize.c (dysize): Likewise.
4540         * time/ftime.c (ftime): Likewise.
4541         * time/getitimer.c (__getitimer): Likewise.
4542         * time/gettimeofday.c (__gettimeofday): Likewise.
4543         * time/gmtime.c (__gmtime_r): Likewise.
4544         (gmtime): Likewise.
4545         * time/localtime.c (__localtime_r): Likewise.
4546         (localtime): Likewise.
4547         * time/offtime.c (__offtime): Likewise.
4548         * time/settimeofday.c (__settimeofday): Likewise.
4549         * time/stime.c (stime): Likewise.
4550         * time/strftime_l.c (tm_diff): Likewise.
4551         (iso_week_days): Likewise.
4552         * time/strptime.c (strptime): Likewise.
4553         * time/time.c (time): Likewise.
4554         * time/timespec_get.c (timespec_get): Likewise.
4555         * time/tzset.c (tzset_internal): Likewise.
4556         (compute_change): Likewise.
4557         (__tz_compute): Likewise.
4558         * wcsmbs/btowc.c (__btowc): Likewise.
4559         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
4560         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
4561         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
4562         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
4563         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
4564         * wcsmbs/wcscat.c (__wcscat): Likewise.
4565         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4566         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
4567         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
4568         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4569         * wcsmbs/wcsdup.c (wcsdup): Likewise.
4570         * wcsmbs/wcslen.c (__wcslen): Likewise.
4571         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
4572         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
4573         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
4574         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
4575         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4576         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
4577         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4578         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4579         * wcsmbs/wcstok.c (wcstok): Likewise.
4580         * wcsmbs/wctob.c (wctob): Likewise.
4581         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
4582         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4583         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
4584         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
4585         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
4586         * wcsmbs/wmemset.c (__wmemset): Likewise.
4587         * wctype/wcfuncs.c (__towlower): Likewise.
4588         (__towupper): Likewise.
4590         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
4591         (lll_unlock_elision): Add adapt_count parameter.
4593 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4595         * sysdeps/nptl/configure.ac: Do not give errors based on the
4596         results of top-level configure tests.
4597         * sysdeps/nptl/configure: Regenerated.
4599         * configure.ac (libc_cv_Bgroup): Remove configure test.
4600         * configure: Regenerated.
4601         * config.make.in (have-Bgroup): Remove variable.
4603         * configure.ac (sizeof_long_double): Remove configure test.
4604         * configure: Regenerated.
4605         * config.make.in (sizeof-long-double): Remove variable.
4607         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
4608         * configure: Regenerated.
4609         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
4610         variable.
4611         (exceptions): Likewise.
4612         * sysdeps/arm/configure: Regenerated.
4613         * config.make.in (exceptions): Remove variable.
4614         * Makeconfig (uses-callbacks): Use -fexceptions instead of
4615         $(exceptions).
4616         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
4617         (CFLAGS-vdprintf_chk.c): Likewise.
4618         (CFLAGS-printf_chk.c): Likewise.
4619         (CFLAGS-fprintf_chk.c): Likewise.
4620         (CFLAGS-vprintf_chk.c): Likewise.
4621         (CFLAGS-vfprintf_chk.c): Likewise.
4622         (CFLAGS-gets_chk.c): Likewise.
4623         (CFLAGS-fgets_chk.c): Likewise.
4624         (CFLAGS-fgets_u_chk.c): Likewise.
4625         (CFLAGS-fread_chk.c): Likewise.
4626         (CFLAGS-fread_u_chk.c): Likewise.
4627         (CFLAGS-wprintf_chk.c): Likewise.
4628         (CFLAGS-fwprintf_chk.c): Likewise.
4629         (CFLAGS-vwprintf_chk.c): Likewise.
4630         (CFLAGS-vfwprintf_chk.c): Likewise.
4631         (CFLAGS-fgetws_chk.c): Likewise.
4632         (CFLAGS-fgetws_u_chk.c): Likewise.
4633         * libio/Makefile (CFLAGS-fileops.c): Likewise.
4634         (CFLAGS-fputc.c): Likewise.
4635         (CFLAGS-fputwc.c): Likewise.
4636         (CFLAGS-freopen64.c): Likewise.
4637         (CFLAGS-freopen.c): Likewise.
4638         (CFLAGS-fseek.c): Likewise.
4639         (CFLAGS-fseeko64.c): Likewise.
4640         (CFLAGS-fseeko.c): Likewise.
4641         (CFLAGS-ftello64.c): Likewise.
4642         (CFLAGS-ftello.c): Likewise.
4643         (CFLAGS-fwide.c): Likewise.
4644         (CFLAGS-genops.c): Likewise.
4645         (CFLAGS-getc.c): Likewise.
4646         (CFLAGS-getchar.c): Likewise.
4647         (CFLAGS-getwc.c): Likewise.
4648         (CFLAGS-getwchar.c): Likewise.
4649         (CFLAGS-iofclose.c): Likewise.
4650         (CFLAGS-iofflush.c): Likewise.
4651         (CFLAGS-iofgetpos64.c): Likewise.
4652         (CFLAGS-iofgetpos.c): Likewise.
4653         (CFLAGS-iofgets.c): Likewise.
4654         (CFLAGS-iofgetws.c): Likewise.
4655         (CFLAGS-iofputs.c): Likewise.
4656         (CFLAGS-iofputws.c): Likewise.
4657         (CFLAGS-iofread.c): Likewise.
4658         (CFLAGS-iofsetpos64.c): Likewise.
4659         (CFLAGS-iofsetpos.c): Likewise.
4660         (CFLAGS-ioftell.c): Likewise.
4661         (CFLAGS-iofwrite.c): Likewise.
4662         (CFLAGS-iogetdelim.c): Likewise.
4663         (CFLAGS-iogetline.c): Likewise.
4664         (CFLAGS-iogets.c): Likewise.
4665         (CFLAGS-iogetwline.c): Likewise.
4666         (CFLAGS-ioputs.c): Likewise.
4667         (CFLAGS-ioseekoff.c): Likewise.
4668         (CFLAGS-ioseekpos.c): Likewise.
4669         (CFLAGS-iosetbuffer.c): Likewise.
4670         (CFLAGS-iosetvbuf.c): Likewise.
4671         (CFLAGS-ioungetc.c): Likewise.
4672         (CFLAGS-ioungetwc.c): Likewise.
4673         (CFLAGS-oldfileops.c): Likewise.
4674         (CFLAGS-oldiofclose.c): Likewise.
4675         (CFLAGS-oldiofgetpos64.c): Likewise.
4676         (CFLAGS-oldiofgetpos.c): Likewise.
4677         (CFLAGS-oldiofsetpos64.c): Likewise.
4678         (CFLAGS-oldiofsetpos.c): Likewise.
4679         (CFLAGS-peekc.c): Likewise.
4680         (CFLAGS-putc.c): Likewise.
4681         (CFLAGS-putchar.c): Likewise.
4682         (CFLAGS-putwc.c): Likewise.
4683         (CFLAGS-putwchar.c): Likewise.
4684         (CFLAGS-rewind.c): Likewise.
4685         (CFLAGS-wfileops.c): Likewise.
4686         (CFLAGS-wgenops.c): Likewise.
4687         (CFLAGS-oldiofopen.c): Likewise.
4688         (CFLAGS-iofopen.c): Likewise.
4689         (CFLAGS-iofopen64.c): Likewise.
4690         (CFLAGS-oldtmpfile.c): Likewise.
4691         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
4692         (CFLAGS-fprintf.c): Likewise.
4693         (CFLAGS-printf.c): Likewise.
4694         (CFLAGS-vfwprintf.c): Likewise.
4695         (CFLAGS-vfscanf.c): Likewise.
4696         (CFLAGS-vfwscanf.c): Likewise.
4697         (CFLAGS-fscanf.c): Likewise.
4698         (CFLAGS-scanf.c): Likewise.
4699         (CFLAGS-isoc99_vfscanf.c): Likewise.
4700         (CFLAGS-isoc99_vscanf.c): Likewise.
4701         (CFLAGS-isoc99_fscanf.c): Likewise.
4702         (CFLAGS-isoc99_scanf.c): Likewise.
4703         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
4704         (CFLAGS-isoc99_fwscanf.c): Likewise.
4705         (CFLAGS-isoc99_vwscanf.c): Likewise.
4706         (CFLAGS-isoc99_vfwscanf.c): Likewise.
4708         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
4709         after mkstemp64.
4710         * login/tst-utmp.c (do_prepare): Likewise.
4711         * rt/tst-aio.c (do_prepare): Likewise.
4712         * rt/tst-aio64.c (do_prepare): Likewise.
4714 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4716         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4717         (__lll_lock_elision): Remove adapt_count decrement...
4718         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4719         (__lll_trylock_elision): Likewise.
4720         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4721         (__lll_unlock_elision): ... to here. And utilize
4722         new adapt_count parameter.
4723         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4724         (__lll_unlock_elision): Update to include adapt_count
4725         parameter.
4726         (lll_unlock_elision): Pass pointer to adapt_count
4727         variable.
4729 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4731         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
4732         Add elision adapt_count parameter to list of arguments.
4733         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4734         (lll_unlock_elision): Update with new parameter list
4735         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4736         (lll_unlock_elision): Likewise
4737         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
4738         (lll_unlock_elision): Likewise
4740 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4742         [BZ #19122]
4743         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
4744         attribute_hidden.
4746         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
4747         attribute_hidden.
4748         [IS_IN (rtld)] (__strdup): Likewise.
4749         [IS_IN (rtld)] (__strerror_r): Likewise.
4750         [IS_IN (rtld)] (__strsep_g): Likewise.
4751         [IS_IN (rtld)] (memchr): Likewise.
4752         [IS_IN (rtld)] (memcmp): Likewise.
4753         [IS_IN (rtld)] (memcpy): Likewise.
4754         [IS_IN (rtld)] (memmove): Likewise.
4755         [IS_IN (rtld)] (memset): Likewise.
4756         [IS_IN (rtld)] (rawmemchr): Likewise.
4757         [IS_IN (rtld)] (stpcpy): Likewise.
4758         [IS_IN (rtld)] (strchr): Likewise.
4759         [IS_IN (rtld)] (strcmp): Likewise.
4760         [IS_IN (rtld)] (strlen): Likewise.
4761         [IS_IN (rtld)] (strnlen): Likewise.
4762         [IS_IN (rtld)] (strsep): Likewise.
4764         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
4765         attribute_hidden.
4766         [IS_IN (rtld)] (__strtoul_internal): Likewise.
4768         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
4769         attribute_hidden.
4770         [IS_IN (rtld)] (__libc_sigaction): Likewise.
4772         * include/setjmp.h (__longjmp): Add attribute_hidden.
4773         [IS_IN (rtld)] (__sigsetjmp): Likewise.
4775         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
4776         Add attribute_hidden.
4778         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
4779         [IS_IN (rtld)] (__open): Likewise.
4780         [IS_IN (rtld)] (__fcntl): Likewise.
4782         * include/dirent.h (__opendirat): Add attribute_hidden.
4783         (__getdents): Likewise.
4784         (__getdents64): Likewise.
4785         (__alloc_dir): Likewise.
4786         [IS_IN (rtld)] (__closedir): Likewise.
4787         [IS_IN (rtld)] (__fdopendir): Likewise.
4788         [IS_IN (rtld)] (__readdir): Likewise.
4789         [IS_IN (rtld)] (__readdir64): Likewise.
4790         [IS_IN (rtld)] (__rewinddir): Likewise.
4792         * include/dlfcn.h (_dl_catch_error): Moved to ...
4793         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
4794         attribute_hidden.
4796         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
4797         (_itoa_word): Likewise.
4799         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
4800         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4801         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4802         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
4803         (_dl_higher_prime_number): Likewise.
4804         (_dl_debug_printf_c): Likewise.
4805         (_dl_signal_cerror): Likewise.
4806         (_dl_receive_error): Likewise.
4807         (_dl_reloc_bad_type): Likewise.
4808         (_dl_resolve_conflicts): Likewise.
4809         (_dl_check_all_versions): Likewise.
4810         (_dl_check_map_versions): Likewise.
4811         (_dl_sort_fini): Likewise.
4812         (_dl_debug_initialize): Likewise.
4813         (_dl_init_paths): Likewise.
4814         (_dl_show_auxv): Likewise.
4815         (_dl_next_ld_env_entry): Likewise.
4816         (_dl_important_hwcaps): Likewise.
4817         (_dl_load_cache_lookup): Likewise.
4818         (_dl_update_slotinfo): Likewise.
4819         (_dl_show_scope): Likewise.
4821         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
4822         attribute_hidden.
4823         (_wordcopy_fwd_dest_aligned): Likewise.
4824         (_wordcopy_bwd_aligned): Likewise.
4825         (_wordcopy_bwd_dest_aligned): Likewise.
4827         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4828         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4829         Likewise.
4830         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4831         Likewise.
4832         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4834 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4836         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
4837         GCC 5 requirement.
4839 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4841         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
4842         test.
4843         * sysdeps/i386/configure: Regenerated.
4844         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
4845         code unconditional.
4847         * configure.ac (libc_cv_asm_previous_directive): Remove configure
4848         test.
4849         (libc_cv_asm_popsection_directive): Likewise.
4850         * configure: Regenerated.
4851         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
4852         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
4853         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
4854         (__make_section_unallocated): Make definition unconditional.
4855         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
4856         Remove conditional definition.
4857         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
4858         (__make_section_unallocated): Likewise.
4860         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
4861         * configure: Regenerated.
4862         * config.make.in (static-libgcc): Remove variable.
4863         * Makerules (build-shlib-helper): Use -static-libgcc instead of
4864         $(static-libgcc).
4865         (build-module-helper): Likewise.
4867         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
4868         * configure: Regenerated.
4870 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4872         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
4873         (struct char_buffer): New type.
4874         (char_buffer_start, char_buffer_size, char_buffer_error)
4875         (char_buffer_rewind, char_buffer_add): New functions.
4876         (ADDW): Remove macro, replaced by the char_buffer_add function.
4877         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
4878         of extend_alloca.  Make control flow more explicit.
4880 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4882         [BZ #19137]
4883         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4884         Add -fomit-frame-pointer.
4885         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
4887 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4889         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
4890         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
4891         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
4892         only if !__GNUC_PREREQ (5,0).
4893         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
4894         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4895         (INTERNAL_SYSCALL_NCS): Likewise.
4896         (LOADREGS_0): New macro for GCC 5.
4897         (ASMARGS_0): Likewise.
4898         (LOADREGS_1): Likewise.
4899         (ASMARGS_1): Likewise.
4900         (LOADREGS_2): Likewise.
4901         (ASMARGS_2): Likewise.
4902         (LOADREGS_3): Likewise.
4903         (ASMARGS_3): Likewise.
4904         (LOADREGS_4): Likewise.
4905         (ASMARGS_4): Likewise.
4906         (LOADREGS_5): Likewise.
4907         (ASMARGS_5): Likewise.
4908         (LOADREGS_6): Likewise.
4909         (ASMARGS_6): Likewise.
4911 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4913         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
4914         -fomit-frame-pointer.
4915         (CFLAGS-mmap64.c): Likewise.
4916         (CFLAGS-semtimedop.c): Likewise.
4917         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
4918         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
4919         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4920         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4922 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4924         [BZ #18928]
4925         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
4926         _dl_pointer_guard member.
4927         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
4928         initializer.
4929         (security_init): Always set up pointer guard.
4930         (process_envvars): Do not process LD_POINTER_GUARD.
4932 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
4934         [BZ #19134]
4935         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
4936         (.LC2): Likewise.
4937         (.LC3): Likewise.
4938         (__lround): Do not add 0.5 to integer or out-of-range arguments.
4940 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4942         [BZ #19129]
4943         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
4944         r0 and r1.
4946 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
4948         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
4950 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
4952         * include/stap-probe.h: Fix macro definition formatting.
4954 2015-10-14  Florian Weimer  <fweimer@redhat.com>
4956         [BZ #19074]
4957         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
4958         load and store num_ifs.
4960 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4962         [BZ #18822]
4963         * sysdeps/unix/sysv/linux/sched_getaffinity.c
4964         (__sched_getaffinity_new): Add libc_hidden_proto and
4965         libc_hidden_def.
4967 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4969         [BZ #19007]
4970         * scripts/localplt.awk: Also allow GOT references.
4971         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
4972         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
4973         with "+ REL R_386_GLOB_DAT".
4974         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
4975         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
4977 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4979         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
4980         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4981         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
4982         Likewise.
4983         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4984         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
4985         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4986         INTERNAL_SYSCALLINTERNAL_SYSCALL and
4987         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4988         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4989         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4990         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4991         Likewise.
4992         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4994 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4996         [BZ #19125]
4997         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
4998         <math_private.h> and <stdint.h>.
4999         (__llround): Avoid conversions to and from long long int, and
5000         subtractions, where those might raise spurious exceptions.
5001         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5002         <math_private.h> and <stdint.h>.
5003         (__llroundf): Avoid conversions to and from long long int, and
5004         subtractions, where those might raise spurious exceptions.
5006 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5008         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
5009         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5010         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5011         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
5012         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5013         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5014         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
5015         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
5016         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
5017         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5018         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5019         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5020         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
5021         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5022         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5023         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
5024         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
5025         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5026         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
5027         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
5028         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5029         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
5030         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
5031         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5032         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
5033         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5034         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
5035         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5036         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5037         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
5038         (__xstat64_conv): Likewise.
5039         (__xstat32_conv): Likewise.
5041 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5043         * sysdeps/unix/sysv/linux/sysdep.h: New file.
5044         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
5045         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
5046         <sysdeps/unix/sysv/linux/sysdep.h>.
5047         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5048         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
5049         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
5050         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5051         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5052         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
5053         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
5054         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5055         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5058         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5059         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5060         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5061         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5062         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5063         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
5064         (sysdep-dl-routines): Add sysdep.
5065         [$(subdir) == nptl] (libpthread-routines): Likewise.
5066         [$(subdir) == rt] (librt-routines): Likewise.
5067         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
5068         PIC when branching to SYSCALL_ERROR_LABEL.
5069         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
5070         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
5071         <sysdeps/unix/sysv/linux/sysdep.h>.
5072         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
5073         (SYSCALL_ERROR_ERRNO): Removed.
5074         (SYSCALL_ERROR_HANDLER): Changed to empty.
5075         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
5076         (__syscall_error): New prototype.
5077         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
5078         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
5080 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
5082         [BZ #19124]
5083         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
5084         (_dl_runtime_resolve_avx512): Make it a hidden alias of
5085         _dl_runtime_resolve_avx.
5086         (_dl_runtime_profile_avx512): Make it a hidden alias of
5087         _dl_runtime_profile_avx.
5089 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
5091         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
5092         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
5093         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
5094         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
5096         [BZ #16422]
5097         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
5098         New configure test.
5099         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
5100         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
5101         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
5102         <math_private.h> and <stdint.h>.
5103         (__llrint): Avoid conversions to long long int where those might
5104         raise spurious exceptions.
5105         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5106         <math_private.h> and <stdint.h>.
5107         (__llrintf): Avoid conversions to long long int where those might
5108         raise spurious exceptions.
5110 2015-10-12  Andreas Schwab  <schwab@suse.de>
5112         [BZ #18969]
5113         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
5114         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
5115         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
5116         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
5117         $(gen-locales).
5118         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
5119         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
5120         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
5121         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
5122         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
5123         $(gen-locales).
5124         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
5125         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
5126         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
5127         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
5128         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
5129         ($(objpfx)tst-ftell-active-handler.out)
5130         ($(objpfx)tst-ftell-append.out)
5131         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
5132         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
5133         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
5134         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
5135         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
5136         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
5137         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
5138         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
5139         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
5140         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
5141         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
5142         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
5143         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
5144         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
5145         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
5146         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
5147         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
5148         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
5149         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
5150         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
5151         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
5152         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
5153         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
5154         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
5155         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
5156         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
5157         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
5158         $(gen-locales).
5159         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
5160         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
5161         $(gen-locales).
5162         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
5163         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
5164         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
5165         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
5166         $(gen-locales).
5167         * libio/tst_wprintf2.c (main): Use explicit locale.
5168         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
5170 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5172         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
5173         __msg_sig_post.
5174         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
5176 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5178         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5179         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5181         * sysdeps/arm/libm-test-ulps: Regenerated.
5183         [BZ #15470]
5184         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
5186         [BZ #16399]
5187         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
5188         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
5189         and <fix-fp-int-convert-overflow.h>.
5190         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5191         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5192         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
5193         and <fix-fp-int-convert-overflow.h>.
5194         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
5195         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5196         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
5197         <fix-fp-int-convert-overflow.h>.
5198         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5199         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5200         * sysdeps/ieee754/dbl-64/s_lround.c: Include
5201         <fix-fp-int-convert-overflow.h>.
5202         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
5203         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5204         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
5205         and <fix-fp-int-convert-overflow.h>.
5206         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5207         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5208         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
5209         <limits.h> and <fix-fp-int-convert-overflow.h>.
5210         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5211         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5212         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
5213         and <fix-fp-int-convert-overflow.h>.
5214         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5215         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5216         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
5217         and <fix-fp-int-convert-overflow.h>.
5218         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5219         FIX_DBL_LLONG_CONVERT_OVERFLOW.
5220         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
5222 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
5224         [BZ #18589]
5225         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
5226         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
5227         $(gen-locales).
5229 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5230             Phil Blundell <pb@pbcl.net>
5232         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
5233         * nptl/tst-cancel26.c: New file.
5234         * nptl/tst-cancel27.c: Likewise.
5236 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
5238         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
5239         __ILP32__ isn't defined.
5240         (lrint): Likewise.
5241         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
5242         (lrintf): Likewise.
5243         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
5244         (lrintl): Likewise.
5245         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
5246         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
5247         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
5249 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5251         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5252         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5254         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
5255         file.
5256         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
5257         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5259 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5261         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
5262         configure test.
5263         * sysdeps/i386/configure: Regenerated.
5264         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
5265         configure test.
5266         * sysdeps/x86_64/configure: Regenerated.
5267         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
5268         Make code unconditional.
5270         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
5271         test.
5272         * sysdeps/i386/configure: Regenerated.
5273         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
5274         test.
5275         * sysdeps/x86_64/configure: Regenerated.
5276         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
5277         Make code unconditional.
5278         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5279         Likewise.
5280         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
5281         Likewise.
5282         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5283         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
5284         code unconditional.
5285         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5286         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
5287         code unconditional.
5288         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5289         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
5290         code unconditional.
5291         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
5292         code unconditional.
5293         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5294         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
5295         code unconditional.
5296         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5297         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
5298         code unconditional.
5299         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5300         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
5301         code unconditional.
5302         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5303         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
5304         code unconditional.
5305         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5306         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
5308         [BZ #19095]
5309         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
5310         mantissa to long int before shifting left.
5312 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5314         [BZ #19094]
5315         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
5316         <limits.h>.
5317         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5318         when result overflows but exception would not result from cast.
5319         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
5320         <limits.h>.
5321         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5322         when result overflows but exception would not result from cast.
5323         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
5324         <limits.h>.
5325         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5326         when result overflows but exception would not result from cast.
5327         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
5328         <limits.h>.
5329         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5330         when result overflows but exception would not result from cast.
5331         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
5332         <limits.h>.
5333         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5334         when result overflows but exception would not result from cast.
5335         * math/libm-test.inc (lrint_test_data): Add more tests.
5336         (llrint_test_data): Likewise.
5338 2015-10-08  Roland McGrath  <roland@hack.frob.com>
5340         [BZ #18872]
5341         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
5342         Move out from under [$(run-built-tests) = yes] conditional.
5343         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
5344         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
5346 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
5348         [BZ #18589]
5349         * string/Makefile (tests): Add bug-strcoll2.
5350         (LOCALES): Add cs_CZ.UTF-8.
5351         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
5353         [BZ #18589]
5354         * string/bug-strcoll2.c: New file.
5355         * locale/categories.def: Revert commit
5356         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
5357         * locale/langinfo.h: Likewise.
5358         * locale/localeinfo.h: Likewise.
5359         * locale/C-collate.c: Likewise.
5360         * locale/programs/ld-collate.c (collate_output): Likewise.
5361         * string/strcoll_l.c (STRDIFF): Likewise.
5362         (STRCOLL): Likewise.
5363         * wcsmbs/wcscoll_l.c: Likewise.
5365 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5367         * math/libm-test.inc (lround_test_data): Do not expect the absence
5368         of "inexact" for some tests with non-integer arguments.
5369         (llround_test_data): Likewise.
5371         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
5372         test.
5373         (libc_cv_cc_sse2avx): Likewise.
5374         * sysdeps/i386/configure: Regenerated.
5375         * sysdeps/i386/i686/multiarch/Makefile
5376         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
5377         [$(subdir) = math].
5378         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
5379         code unconditional.
5380         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5381         Likewise.
5382         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
5383         Likewise.
5384         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5385         Likewise.
5386         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
5387         test.
5388         (libc_cv_cc_sse2avx): Likewise.
5389         * sysdeps/x86_64/configure: Regenerated.
5390         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
5391         unconditional.
5392         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
5393         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
5394         unconditional.
5395         (_dl_runtime_profile)
5396         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
5397         conditional code.
5398         * sysdeps/x86_64/fpu/multiarch/Makefile
5399         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
5400         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5401         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5402         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5403         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5404         * sysdeps/x86_64/fpu/multiarch/e_log.c
5405         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5406         * sysdeps/x86_64/fpu/multiarch/s_atan.c
5407         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5408         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5409         Likewise.
5410         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5411         Likewise.
5412         * sysdeps/x86_64/fpu/multiarch/s_sin.c
5413         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5414         * sysdeps/x86_64/fpu/multiarch/s_tan.c
5415         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5416         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
5417         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
5418         (HAVE_SSE2AVX_SUPPORT): Likewise.
5420 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
5422         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
5423         instead of #pragma optimize.
5425 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5427         [BZ #17195]
5428         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
5429         as is similarly done in systrim and _int_free already.
5431 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5433         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
5435 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5437         [BZ #19088]
5438         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
5439         <limits.h>.
5440         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5441         overflows but exception would not result from cast.
5442         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
5443         and <limits.h>.
5444         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5445         overflows but exception would not result from cast.
5446         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
5447         <limits.h>.
5448         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5449         overflows but exception would not result from cast.
5450         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
5451         <limits.h>.
5452         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5453         overflows but exception would not result from cast.
5454         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
5455         <limits.h>.
5456         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5457         overflows but exception would not result from cast.
5458         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
5459         <limits.h>.
5460         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5461         overflows but exception would not result from cast.
5462         * math/libm-test.inc (lround_test_data): Add more tests.
5463         (llround_test_data): Likewise.
5465 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
5467         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
5468         (CFLAGS-ialloc.c): Ditto.
5469         (CFLAGS-scheck.c): Ditto.
5471 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5473         [BZ #19086]
5474         * manual/filesys.texi (Storage Allocation): Fix argument order for
5475         posix_fallocate64.
5477 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5479         [BZ #19085]
5480         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
5481         exponent below 48 inside case for non-overflowing exponent.
5482         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5484 2015-10-07  Florian Weimer  <fweimer@redhat.com>
5486         * iconvdata/cp737.h (from_idx): Add const.
5487         * iconvdata/cp775.h (from_idx): Likewise.
5489 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5491         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
5492         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5493         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
5495         [BZ #19079]
5496         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
5497         file, conditioned on [!_LP64].
5498         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
5499         [!_LP64] (__lround): Do not define as function or alias.
5500         [!_LP64] (lround): Likewise.
5501         [!_LP64] (__lroundl): Likewise.
5502         [!_LP64] (lroundl): Likewise.
5503         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
5504         macro.
5505         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5506         Likewise.
5508 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5510         * math/libm-test.inc (lrint_test_data): Add more tests.
5511         (llrint_test_data): Likewise.
5512         (lround_test_data): Likewise.
5513         (llround_test_data): Likewise.
5515         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
5516         (llrint_test_data): Add tests used for lrint.
5518         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
5519         test.
5520         * sysdeps/i386/configure: Regenerated.
5521         * sysdeps/i386/i686/multiarch/Makefile
5522         [$(config-cflags-sse4) = yes]: Make code unconditional.
5523         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5524         Likewise.
5525         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
5526         Likewise.
5527         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
5528         test.
5529         * sysdeps/x86_64/configure: Regenerated.
5530         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
5531         Make code unconditional.
5532         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5533         Likewise.
5534         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
5535         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
5537         * scripts/rpm2dynsym.sh: Remove file.
5539 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5541         * configure.ac (libc_cv_cxx_thread_local): Define.
5542         * configure: Regenerate.
5543         * config.make.in (have-cxx-thread_local): Define.
5544         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
5545         (LDLIBS-tst-thread_local1): Define.
5546         (tests): Add tst-thread_local1.
5547         [have-cxx-thread_local != yes] (tests-unsupported): Add
5548         tst-thread_local1.
5549         * nptl/tst-thread_local1.cc: New file.
5551 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5553         [BZ #19078]
5554         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
5555         (u_thres): Likewise.
5556         (__expl): Determine whether to call __kernel_standard_l based on
5557         value of result, not argument.
5559         * math/libm-test.inc (scalb_test_data): Add more expectations for
5560         the "inexact" exception.
5562         [BZ #19077]
5563         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
5564         0.0L for argument 1.0L.
5566         [BZ #19076]
5567         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
5568         constant 0.0L when computing infinite result.
5570 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5572         [BZ #10432]
5573         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
5574         malloc_usable_size.
5576 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5578         [BZ #19018]
5579         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5580         Mangle function pointer before storing it.
5581         (__call_tls_dtors): Demangle function pointer before calling it.
5583 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5585         [BZ #19012]
5586         * iconv/gconv_db.c (gen_steps): Check for additional errors.
5587         Clean up on failure.
5589 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
5591         [BZ #19071]
5592         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
5593         long int variable to store possibly incremented high part of
5594         mantissa.
5595         * math/libm-test.inc (lround_test_data): Add tests used for
5596         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
5597         for tests requiring 64-bit long.  Do not condition tests on
5598         [TEST_FLOAT] unnecessarily.
5599         (llround_test_data): Add tests used for lround.  Add another
5600         expectation for the "inexact" exception.  Do not condition tests
5601         on [TEST_FLOAT] unnecessarily.
5603         [BZ #887]
5604         [BZ #19049]
5605         [BZ #19050]
5606         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
5607         * sysdeps/ieee754/dbl-64/e_log10.c: Include
5608         <fix-int-fp-convert-zero.h>.
5609         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5610         * sysdeps/ieee754/dbl-64/e_log2.c: Include
5611         <fix-int-fp-convert-zero.h>.
5612         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5613         * sysdeps/ieee754/dbl-64/s_erf.c: Include
5614         <fix-int-fp-convert-zero.h>.
5615         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5616         * sysdeps/ieee754/dbl-64/s_logb.c: Include
5617         <fix-int-fp-convert-zero.h>.
5618         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5619         * sysdeps/ieee754/flt-32/e_log10f.c: Include
5620         <fix-int-fp-convert-zero.h>.
5621         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5622         * sysdeps/ieee754/flt-32/e_log2f.c: Include
5623         <fix-int-fp-convert-zero.h>.
5624         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5625         * sysdeps/ieee754/flt-32/s_erff.c: Include
5626         <fix-int-fp-convert-zero.h>.
5627         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5628         * sysdeps/ieee754/flt-32/s_logbf.c: Include
5629         <fix-int-fp-convert-zero.h>.
5630         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5631         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
5632         <fix-int-fp-convert-zero.h>.
5633         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5634         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
5635         <fix-int-fp-convert-zero.h>.
5636         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5637         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
5638         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
5639         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
5640         file.
5641         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
5643 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5645         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5647 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
5649         [BZ #19059]
5650         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
5651         overflowing computation.
5652         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5653         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5654         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5655         Likewise.
5656         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5657         Likewise.
5658         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5659         Likewise.
5660         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5661         Likewise.
5662         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5663         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5664         Likewise.
5665         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5666         Likewise.
5667         * math/libm-test.inc (nexttoward_test_data): Add more tests.
5669         * nss/rewrite_field.c (__nss_rewrite_field): Use
5670         internal_function.
5671         * nss/valid_field.c (__nss_valid_field): Likewise.
5672         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5674 2015-10-02  Florian Weimer  <fweimer@redhat.com>
5676         [BZ #18724]
5677         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
5678         (__nss_invalid_field_characters, __nss_valid_field)
5679         (__nss_valid_list_field, __nss_rewrite_field): Declare.
5680         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
5681         tst-field.c: New file.
5682         * nss/Makefile (routines): Add valid_field, rewrite_field.
5683         (tests-static): Define unconditionally.
5684         (tests): Include tests-static.
5685         [build-static-nss] (tests-static): Use append.
5686         [build-static-nss] (tests): Remove modification.
5687         * nss/getent.c (print_group): Call putgrent.  Report error.
5688         (print_gshadow): Call putsgent.  Report error.
5689         (print_passwd): Call putpwent.  Report error.
5690         (print_shadow): Call putspent.  Report error.
5691         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
5692         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
5693         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
5694         name, password, directory, shell fields for valid syntax.  Rewrite
5695         GECOS field to match syntax.
5696         * pwd/Makefile (tests): Add tst-putpwent.
5697         * pwd/tst-putpwent.c: New file.
5698         * grp/putgrent.c (putgrent): Convert to ISO function definition.
5699         Check grName, grpasswd, gr_mem fields for valid syntax.
5700         Change loop variable i to size_t.
5701         * grp/Makefile (tests): Add tst-putgrent.
5702         * grp/tst-putgrent.c: New file.
5703         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
5704         valid syntax.
5705         * shadow/Makefile (tests): Add tst-putspent.
5706         * shadow/tst-putspent.c: New file.
5707         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
5708         sg_mem fields for valid syntax.
5709         * gshadow/Makefile (tests): Add tst-putsgent.
5710         * gshadow/tst-putsgent.c: New file.
5712 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5714         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
5715         assembly instructions.
5717 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5719         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
5720         prefix from operands.
5722 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
5724         [BZ #16347]
5725         [BZ #19046]
5726         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
5727         <libc-internal.h>.
5728         (MAXLGM): Do not use diagnostic control macros.
5729         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
5730         threshold for ldbl-128ibm.
5731         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
5732         instead of multiplying by log then subtracting.
5733         * math/auto-libm-test-in: Add more tests of lgamma.
5734         * math/auto-libm-test-out: Regenerated.
5736         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
5737         (TYPE_HEX_DIG): Likewise.
5738         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
5739         precisions when printing floating-point numbers.
5740         (check_float_internal): Likewise.
5742 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5744         [BZ #16620]
5745         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
5746         of log (10) rounded downward to 48 bits.
5747         (log10_low): Use corresponding low part of log (10).
5749         [BZ #19032]
5750         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
5751         compute result as (x - x) / (x - x) not as 0 / 0.
5752         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5753         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
5755         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5756         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
5757         and expm1.
5758         * math/auto-libm-test-out: Regenerated.
5759         * math/libm-test.inc (acos_test_data): Add more tests.
5760         (asin_test_data): Likewise.
5761         (asinh_test_data): Likewise.
5762         (atan_test_data): Likewise.
5763         (atanh_test_data): Likewise.
5764         (atan2_test_data): Likewise.
5765         (cbrt_test_data): Likewise.
5766         (ceil_test_data): Likewise.
5767         (copysign_test_data): Likewise.
5768         (cos_test_data): Likewise.
5769         (cosh_test_data): Likewise.
5770         (erf_test_data): Likewise.
5771         (erfc_test_data): Likewise.
5772         (exp_test_data): Likewise.
5773         (exp10_test_data): Likewise.
5774         (exp2_test_data): Likewise.
5775         (expm1_test_data): Likewise.
5776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5778 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
5780         [BZ #19006]
5781         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
5782         to ...
5783         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
5784         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
5785         to ...
5786         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
5787         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
5788         to ...
5789         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
5790         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
5791         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
5792         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
5793         to ...
5794         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
5795         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5796         Moved to ...
5797         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
5798         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5799         Moved to ...
5800         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
5801         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
5802         to ...
5803         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
5804         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5805         Moved to ...
5806         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
5807         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
5808         to ...
5809         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
5810         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
5811         Removed.
5812         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
5813         Likewise.
5814         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
5815         Likewise.
5816         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
5817         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
5818         Likewise.
5819         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5820         Likewise.
5821         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5822         Likewise.
5823         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5824         Likewise.
5825         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5826         Likewise.
5827         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
5828         Likewise.
5829         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
5830         Likewise.
5831         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
5832         Likewise.
5833         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
5834         Likewise.
5835         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
5836         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
5837         Likewise.
5838         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5839         Likewise.
5840         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5841         Likewise.
5842         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5843         Likewise.
5844         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
5845         Likewise.
5846         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5847         Replace ../i486/pthread_cond_timedwait.S with
5848         ../pthread_cond_timedwait.S.
5850 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5852         * math/libm-test.inc (acos_test_data): Refine expectations for
5853         errno and "inexact" exceptions.
5854         (acosh_test_data): Likewise.
5855         (asin_test_data): Likewise.
5856         (asinh_test_data): Likewise.
5857         (atan_test_data): Likewise.
5858         (atanh_test_data): Likewise.
5859         (atan2_test_data): Likewise.
5860         (cbrt_test_data): Likewise.
5861         (ceil_test_data): Likewise.
5862         (copysign_test_data): Likewise.
5863         (cosh_test_data): Likewise.
5864         (erf_test_data): Likewise.
5865         (erfc_test_data): Likewise.
5866         (exp_test_data): Likewise.
5867         (exp10_test_data): Likewise.
5868         (exp2_test_data): Likewise.
5869         (expm1_test_data): Likewise.
5870         (fabs_test_data): Likewise.
5871         (floor_test_data): Likewise.
5872         (fma_test_data): Likewise.
5873         (fmax_test_data): Likewise.
5874         (fmin_test_data): Likewise.
5875         (fmod_test_data): Likewise.
5876         (fpclassify_test_data): Likewise.
5877         (frexp_test_data): Likewise.
5878         (hypot_test_data): Likewise.
5879         (ilogb_test_data): Likewise.
5880         (isgreater_test_data): Likewise.
5881         (isgreaterequal_test_data): Likewise.
5882         (isinf_test_data): Likewise.
5883         (isless_test_data): Likewise.
5884         (islessequal_test_data): Likewise.
5885         (islessgreater_test_data): Likewise.
5886         (isnan_test_data): Likewise.
5887         (isnormal_test_data): Likewise.
5888         (issignaling_test_data): Likewise.
5889         (isunordered_test_data): Likewise.
5890         (j0_test_data): Likewise.
5891         (j1_test_data): Likewise.
5892         (jn_test_data): Likewise.
5893         (lgamma_test_data): Likewise.
5894         (lrint_test_data): Likewise.
5895         (llrint_test_data): Likewise.
5896         (log_test_data): Likewise.
5897         (log10_test_data): Likewise.
5898         (log1p_test_data): Likewise.
5899         (log2_test_data): Likewise.
5900         (logb_test_data): Likewise.
5901         (lround_test_data): Likewise.
5902         (llround_test_data): Likewise.
5903         (modf_test_data): Likewise.
5904         (nearbyint_test_data): Likewise.
5905         (nextafter_test_data): Likewise.
5906         (nexttoward_test_data): Likewise.
5907         (pow_test_data): Likewise.
5908         (remainder_test_data): Likewise.
5909         (remquo_test_data): Likewise.
5910         (rint_test_data): Likewise.
5911         (round_test_data): Likewise.
5912         (signbit_test_data): Likewise.
5913         (sinh_test_data): Likewise.
5914         (sqrt_test_data): Likewise.
5915         (tanh_test_data): Likewise.
5916         (tgamma_test_data): Likewise.
5917         (trunc_test_data): Likewise.
5918         (y0_test_data): Likewise.
5919         (y1_test_data): Likewise.
5920         (yn_test_data): Likewise.
5921         (significand_test_data): Likewise.
5923 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
5925         * manual/filesys.texi (Storage Allocation): Document that
5926         posix_fallocate emulation fails when fd is open with O_WRONLY.
5928 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5930         [BZ #19016]
5931         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
5932         allow more cases with X^2 + Y^2 >= 0.5.
5933         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
5934         normal element in sum instead of special-casing based on values of
5935         arguments.
5936         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
5937         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
5938         -1 as normal element in sum instead of special-casing based on
5939         values of arguments.
5940         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
5941         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
5942         (__x2y2m1): Update comment.
5943         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
5944         as normal element in sum instead of special-casing based on values
5945         of arguments.
5946         * math/s_clog.c (__clog): Handle more cases using log1p without
5947         hypot.
5948         * math/s_clog10.c (__clog10): Likewise.
5949         * math/s_clog10f.c (__clog10f): Likewise.
5950         * math/s_clog10l.c (__clog10l): Likewise.
5951         * math/s_clogf.c (__clogf): Likewise.
5952         * math/s_clogl.c (__clogl): Likewise.
5953         * math/auto-libm-test-in: Add more tests of clog and clog10.
5954         * math/auto-libm-test-out: Regenerated.
5955         * sysdeps/i386/fpu/libm-test-ulps: Update.
5956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5958 2015-09-28  Martin Sebor  <msebor@redhat.com>
5960         [BZ #18969]
5961         * string/Makefile (LOCALES): Define.
5962         (gen-locales.mk): Include.
5963         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
5964         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
5965         * string/tst-strxfrm2.c (do_test): Print the name of the locale
5966         on setlocale failure.
5968 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5970         [BZ #18985]
5971         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
5972         (__strftime_internal): Likewise.
5973         * time/tst-strftime.c (do_bz18985): New test.
5974         (do_test): Call it.
5976 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
5978         [BZ #18956]
5979         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
5980         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
5981         extracting high part.
5982         * math/auto-libm-test-in: Add another test of pow.
5983         * math/auto-libm-test-out: Regenerated.
5984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5986 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5988         [BZ #18825]
5989         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
5990         New macro.
5991         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
5992         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5993         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
5994         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
5995         DBL_NARROW_EVAL, reloading the PIC register as needed.
5996         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
5997         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
5998         FLT_NARROW_EVAL.  Use separate return path for case when first
5999         argument is NaN.
6000         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
6001         DEFINE_LDBL_MIN.
6002         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
6003         PIC register.
6004         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
6005         math_check_force_underflow_nonneg.
6006         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
6007         underflow for subnormal result.
6008         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6009         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
6010         math_check_force_underflow_nonneg.
6011         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
6012         math_check_force_underflow.
6013         * sysdeps/x86_64/fpu/x86_64-math-asm.h
6014         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
6015         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
6016         DEFINE_LDBL_MIN.
6017         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
6018         * math/auto-libm-test-in: Add more tests of pow.
6019         * math/auto-libm-test-out: Regenerated.
6021 2015-09-25  Florian Weimer  <fweimer@redhat.com>
6023         * nss/bug17079.c (init_test_items): Add diagnostic for
6024         inconsistent entries.
6025         (test_buffer_size): Skip inconsistent entries.
6027 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
6029         [BZ #13304]
6030         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
6031         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
6032         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
6034         [BZ #13304]
6035         * sysdeps/microblaze/s_fma.c: New file.
6036         * sysdeps/microblaze/s_fmaf.c: Likewise.
6037         * sysdeps/microblaze/sfp-machine.h: Likewise.
6039 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
6041         [BZ #17250]
6042         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
6043         member.
6045 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6047         [BZ #18803]
6048         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
6049         (MO): New macro.
6050         (__ieee754_hypot) [PIC]: Load PIC register.
6051         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
6052         DBL_NARROW_EVAL.
6053         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
6054         math_check_force_underflow_nonneg in case where result might be
6055         tiny.
6056         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6057         Likewise.
6058         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6059         Likewise.
6060         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6061         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
6062         * math/auto-libm-test-in: Add more tests of hypot.
6063         * math/auto-libm-test-out: Regenerated.
6065 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
6067         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
6069 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
6071         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
6072         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
6073         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6074         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6075         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
6076         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6077         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6079         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
6080         LOAD_PIC_REG.
6082         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
6083         (FLT_CHECK_FORCE_UFLOW): Likewise.
6084         (DBL_CHECK_FORCE_UFLOW): Likewise.
6085         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
6086         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
6087         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
6088         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6089         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6090         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6091         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6092         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6093         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
6094         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6095         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
6096         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
6097         (flt_min): Replace with use of DEFINE_FLT_MIN.
6098         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
6099         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
6100         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6101         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
6102         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
6103         (flt_min): Replace with use of DEFINE_FLT_MIN.
6104         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
6105         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
6106         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6107         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
6108         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
6109         (flt_min): Replace with use of DEFINE_FLT_MIN.
6110         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
6111         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
6112         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6113         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6114         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
6115         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6116         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6117         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
6118         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6119         (__atan): Use DBL_CHECK_FORCE_UFLOW.
6120         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
6121         (flt_min): Replace with use of DEFINE_FLT_MIN.
6122         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
6123         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
6124         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6125         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
6126         main computation.
6127         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
6128         (flt_min): Replace with use of DEFINE_FLT_MIN.
6129         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
6130         main computation.
6131         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
6132         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6133         (MO): New macro.
6134         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
6135         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
6136         (flt_min): Replace with use of DEFINE_FLT_MIN.
6137         (MO): New macro.
6138         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
6139         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
6140         (__log1pl): Use MO.
6142         [BZ #19003]
6143         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
6144         $(config-cflags-nofma).
6146 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6148         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6150 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
6152         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
6153         (TWO127): Likewise.
6155         * sysdeps/generic/math_private.h (fabs_tg): New macro.
6156         (min_of_type): Likewise.
6157         (math_check_force_underflow): Likewise.
6158         (math_check_force_underflow_nonneg): Likewise.
6159         (math_check_force_underflow_complex): Likewise.
6160         * math/e_exp2l.c (__ieee754_exp2l): Use
6161         math_check_force_underflow_nonneg.
6162         * math/k_casinh.c (__kernel_casinh): Likewise.
6163         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6164         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6165         * math/s_catan.c (__catan): Use
6166         math_check_force_underflow_complex.
6167         * math/s_catanf.c (__catanf): Likewise.
6168         * math/s_catanh.c (__catanh): Likewise.
6169         * math/s_catanhf.c (__catanhf): Likewise.
6170         * math/s_catanhl.c (__catanhl): Likewise.
6171         * math/s_catanl.c (__catanl): Likewise.
6172         * math/s_ccosh.c (__ccosh): Likewise.
6173         * math/s_ccoshf.c (__ccoshf): Likewise.
6174         * math/s_ccoshl.c (__ccoshl): Likewise.
6175         * math/s_cexp.c (__cexp): Likewise.
6176         * math/s_cexpf.c (__cexpf): Likewise.
6177         * math/s_cexpl.c (__cexpl): Likewise.
6178         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
6179         * math/s_clog10.c (__clog10): Likewise.
6180         * math/s_clog10f.c (__clog10f): Likewise.
6181         * math/s_clog10l.c (__clog10l): Likewise.
6182         * math/s_clogf.c (__clogf): Likewise.
6183         * math/s_clogl.c (__clogl): Likewise.
6184         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
6185         * math/s_csinf.c (__csinf): Likewise.
6186         * math/s_csinh.c (__csinh): Likewise.
6187         * math/s_csinhf.c (__csinhf): Likewise.
6188         * math/s_csinhl.c (__csinhl): Likewise.
6189         * math/s_csinl.c (__csinl): Likewise.
6190         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
6191         * math/s_csqrtf.c (__csqrtf): Likewise.
6192         * math/s_csqrtl.c (__csqrtl): Likewise.
6193         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
6194         * math/s_ctanf.c (__ctanf): Likewise.
6195         * math/s_ctanh.c (__ctanh): Likewise.
6196         * math/s_ctanhf.c (__ctanhf): Likewise.
6197         * math/s_ctanhl.c (__ctanhl): Likewise.
6198         * math/s_ctanl.c (__ctanl): Likewise.
6199         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
6200         instead of volatile.
6201         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
6202         math_check_force_underflow.
6203         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6204         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
6205         volatile when forcing underflow.
6206         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6207         math_check_force_underflow_nonneg.
6208         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6209         Likewise.
6210         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
6211         math_check_force_underflow.
6212         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6213         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6214         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6215         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
6216         math_check_force_underflow_nonneg.
6217         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
6218         math_check_force_underflow.
6219         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
6220         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
6221         instead of volatile.
6222         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
6223         math_check_force_underflow.
6224         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6225         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6226         math_check_force_underflow_nonneg.
6227         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
6228         math_check_force_underflow.
6229         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
6230         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6231         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
6232         math_check_force_underflow_nonneg.
6233         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6234         Likewise.
6235         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
6236         math_check_force_underflow.
6237         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6238         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6239         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6240         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
6241         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6242         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
6243         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
6244         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
6245         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6246         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
6247         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
6248         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
6249         Likewise.
6250         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
6251         math_check_force_underflow_nonneg.
6252         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6253         Likewise.
6254         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
6255         math_check_force_underflow.
6256         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6257         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
6258         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6259         Likewise.
6260         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
6261         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
6262         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
6263         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
6264         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
6265         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
6267         instead of volatile.
6268         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
6269         math_check_force_underflow.
6270         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
6271         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
6272         math_check_force_underflow.
6273         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
6274         Likewise.
6275         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6276         Use math_check_force_underflow_nonneg.
6277         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
6278         math_check_force_underflow.
6279         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6280         Likewise.
6281         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6282         Likewise.
6283         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6284         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6285         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6286         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6287         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
6288         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6289         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
6290         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
6291         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
6292         math_check_force_underflow_nonneg.
6293         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
6294         math_check_force_underflow.
6295         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6296         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
6297         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
6298         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
6299         math_check_force_underflow_nonneg.
6300         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
6301         math_check_force_underflow.
6302         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
6303         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
6304         instead of volatile.
6305         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
6306         math_check_force_underflow.
6308         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
6309         * stdlib/strtod_l.c: Include <math_private.h>.
6310         (overflow_value): Use math_narrow_eval.
6311         (underflow_value): Likewise.
6312         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6313         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6314         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
6315         (__ieee754_gamma_r): Likewise.
6316         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
6317         Likewise.
6318         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6319         Likewise.
6320         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6321         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
6322         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
6323         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
6324         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6325         (__ieee754_gammaf_r): Likewise.
6326         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6327         Likewise.
6328         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6329         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
6330         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
6331         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
6332         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
6333         volatile.
6334         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
6335         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
6336         math_narrow_eval.
6337         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6338         Likewise.
6339         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6340         Likewise.
6341         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
6342         Likewise.
6343         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
6344         volatile.
6345         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
6346         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
6347         math_narrow_eval.
6348         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6349         Likewise.
6350         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6351         Likewise.
6353 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
6355         * nptl/Versions: Remove ignored symbols.
6357 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6359         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
6360         * nss/Makefile (tests): Update.
6362 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6364         * nss/bug18287.c: New file.
6365         * nss/Makefile (tests): Add bug18287.
6367 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6369         * mach/Versions (__mach_host_self_): Add symbol.
6371 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6373         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
6374         vm_page_size.
6376 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6378         Really fix sysdeps/i386/fpu/s_scalbn.S build
6380         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
6381         (libc: GLIBC_2_22): Remove unused version set.
6383 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6385         * config.make.in (enable-timezone-tools): New variable.
6386         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
6387         (enable_timezone_tools): Export to generated files.
6388         * configure: Regenerate.
6389         * INSTALL: Regenerate.
6390         * manual/install.texi (--disable-timezone-tools): Document new flag.
6391         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
6392         ifeq ($(enable-timezone-tools),yes) check.
6394 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6396         * timezone/Makefile: Revert previous change.
6398         [BZ #18980]
6399         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
6400         (DEFINE_DBL_MIN): Likewise.
6401         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6402         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6403         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6404         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6405         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
6406         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6407         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6408         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
6409         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
6410         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6411         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6412         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
6413         (flt_min): Replace with use of DEFINE_FLT_MIN.
6414         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6415         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
6416         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6417         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6418         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
6419         (flt_min): Replace with use of DEFINE_FLT_MIN.
6420         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6421         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
6422         (flt_min): Replace with use of DEFINE_FLT_MIN.
6423         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6424         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
6425         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
6426         (__ieee754_hypot): Use DBL_NARROW_EVAL.
6427         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
6428         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
6429         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
6430         (__ieee754_pow): Use DBL_NARROW_EVAL.
6431         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
6432         (__ieee754_powf): Use FLT_NARROW_EVAL.
6433         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
6434         (__ieee754_expf_sse2): Convert double-precision result to single
6435         precision.
6436         * sysdeps/i386/fpu/libm-test-ulps: Update.
6438 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6440         * timezone/Makefile: Ignore unused variable errors due to private.h
6441         (time_t_min) and (time_t_max).
6442         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
6443         Likewise.
6445 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6447         [BZ #18981]
6448         * sysdeps/i386/fpu/i386-math-asm.h: New file.
6449         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
6450         (__ieee754_scalb): Use DBL_NARROW_EVAL.
6451         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
6452         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
6453         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
6454         (__scalbn): Use DBL_NARROW_EVAL.
6455         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
6456         (__scalbnf): Use FLT_NARROW_EVAL.
6458 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6460         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
6461         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
6462         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
6463         * stdio-common/printf_fp.c (___printf_fp):
6464         Use signbit to get the sign. Use isinf macro to allow inlining.
6465         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
6466         * stdio-common/printf_size.c (__printf_size): Likewise.
6468 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6470         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
6472 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6474         [BZ #18980]
6475         * sysdeps/generic/math_private.h: Include <float.h>.
6476         (math_narrow_eval): New macro.
6477         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
6478         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
6479         math_narrow_eval on overflowing return value.
6480         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
6481         Likewise.
6482         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6483         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
6484         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
6485         Likewise.
6486         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6488 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6490         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
6491         * math/Makefile: Remove isinf_ns.c.
6492         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
6493         * math/multc3.c (__multc3): Likewise.
6494         * math/s_casin.c (__casin): Likewise.
6495         * math/s_casinf.c (__casinf): Likewise.
6496         * math/s_casinl.c (__casinl): Likewise.
6497         * math/s_cproj.c (__cproj): Likewise.
6498         * math/s_cprojf.c (__cprojf): Likewise.
6499         * math/s_cprojl.c (__cprofl): Likewise.
6500         * math/s_ctan.c (__ctan): Likewise.
6501         * math/s_ctanf.c (__ctanf): Likewise.
6502         * math/s_ctanh.c (__ctanh): Likewise.
6503         * math/s_ctanhf.c (__ctanhf): Likewise.
6504         * math/s_ctanhl.c (__ctanhl): Likewise.
6505         * math/s_ctanl.c (__ctanl): Likewise.
6506         * math/w_fmod.c (__fmod): Likewise.
6507         * math/w_fmodf.c (__fmodf): Likewise.
6508         * math/w_fmodl.c (_fmodl): Likewise.
6509         * math/w_remainder.c (__remainder): Likewise.
6510         * math/w_remainderf.c (__remainderf): Likewise.
6511         * math/w_remainderl.c (__remainderl): Likewise.
6512         * math/w_scalb.c (__scalb): Likewise.
6513         * math/w_scalbf.c (__scalbf): Likewise.
6514         * math/w_scalbl.c (__scalbl): Likewise.
6515         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
6516         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
6517         with isinf.
6518         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
6519         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
6520         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
6521         __isinf_nsf with isinf.
6522         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
6523         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
6524         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
6525         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
6526         with isinf.
6527         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
6528         __isinf_nsl with isinf.
6529         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
6530         with isinf.
6531         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
6532         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
6533         __isinf_nsl with isinf.
6534         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
6535         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
6536         with isinf.
6538 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6540         * resolv/base64.c (rcsid): Remove unused static.
6541         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
6542         static.  (tqpi1): Likewise.
6543         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
6544         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
6545         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
6546         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
6547         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
6548         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
6549         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
6550         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
6551         Likewise.
6553 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
6555         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
6556         <nptl/pthreadP.h>.
6557         (_longjmp_unwind): Use __libc_ptf_call.
6558         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
6560 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
6562         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
6563         * sysdeps/arm/__longjmp.S: Likewise
6565 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6567         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
6568         Use __builtin_signbit.
6569         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
6570         Use __builtin_signbitf.
6571         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
6572         Use __builtin_signbitl.
6573         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6574         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
6576 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6578         [BZ #15367]
6579         [BZ #17441]
6581         * math/Makefile: Build test-snan.c with -fsignaling-nans.
6582         * math/math.h (fpclassify): Use __builtin_fpclassify when
6583         available.  (signbit): Use __builtin_signbit(f/l).
6584         (isfinite): Use__builtin_isfinite.  (isnormal): Use
6585         __builtin_isnormal.  (isnan): Use __builtin_isnan.
6586         (isinf): Use __builtin_isinf_sign.
6588 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6590         * benchtests/Makefile: Add bench-math-inlines, link with libm.
6591         * benchtests/bench-math-inlines.c: New benchmark.
6592         * benchtests/bench-util.h: New file.
6593         * benchtests/bench-util.c: New file.
6594         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
6596 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
6598         * elf/tst-dlmopen1.c: Define TEST_SO.
6599         (do_test): Use TEST_SO.
6601         * elf/dl-load.c: Include libc-internal.h.
6602         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
6604 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6606         [BZ #17887]
6607         * time/strptime_l.c (__strptime_internal): Make %z accept
6608         [+-]HH:MM time zones.
6610 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6612         [BZ #17886]
6613         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
6614         valid time zone.
6616 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
6618         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
6619         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
6620         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6621         (__ASSUME_FDATASYNC): Delete.
6623 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6625         * conform/linknamespace.pl: Require weak undefined symbols to be
6626         in the standard namespace.
6627         (%strong_syms): Rename to %seen_syms.
6628         (%strong_seen): Rename to %seen_where.
6630 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
6632         [BZ #18970]
6633         * misc/error.c (error): Replace pthread_setcancelstate with
6634         __pthread_setcancelstate.
6635         (error_at_line): Likewise.
6636         * posix/wordexp.c (parse_comm): Likewise.
6637         * stdlib/fmtmsg.c (fmtmsg): Likewise.
6638         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
6639         (__pthread_setcancelstate): This.
6640         (pthread_setcancelstate): Add an alias.
6641         * nptl/nptl-init.c (pthread_functions): Replace
6642         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
6643         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
6644         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
6645         hidden_proto.
6646         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
6647         it with hidden_def.
6648         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
6649         (pthread_setcancelstate): Renamed to ...
6650         (__pthread_setcancelstate): This.
6651         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
6652         __libc_ptf_call with __pthread_setcancelstate.
6654 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6655             Andreas Schwab  <schwab@suse.de>
6657         [BZ #17118]
6658         * math/s_ctan.c (__ctan): Determine sign of zero real part of
6659         result when imaginary part of argument is infinite using sine and
6660         cosine.
6661         * math/s_ctanf.c (__ctanf): Likewise.
6662         * math/s_ctanl.c (__ctanl): Likewise.
6663         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
6664         of result when real part of argument is infinite using sine and
6665         cosine.
6666         * math/s_ctanhf.c (__ctanhf): Likewise.
6667         * math/s_ctanhl.c (__ctanhl): Likewise.
6668         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
6669         (ctanh_test_data): Add more tests of ctanh.
6671 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6673         [BZ #15384]
6674         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
6675         bit-mask as in subtraction.
6676         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
6677         Likewise.
6678         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
6679         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
6680         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
6682         [BZ #18951]
6683         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
6684         underflow exception for small results.
6685         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6686         Likewise.
6687         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6688         Likewise.
6689         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6690         Likewise.
6691         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6692         Likewise.
6693         * math/auto-libm-test-in: Add more tests of tgamma.
6694         * math/auto-libm-test-out: Regenerated.
6696 2015-09-17  Andreas Schwab  <schwab@suse.de>
6698         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
6700 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6702         [BZ #18977]
6703         * math/bits/mathcalls.h
6704         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
6705         not declare.
6706         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
6707         Likewise.
6708         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
6709         Likewise.
6710         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
6711         Likewise.
6712         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
6713         Likewise.
6714         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
6715         Likewise.
6716         * conform/data/math.h-data
6717         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
6718         function.
6719         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
6720         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
6721         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
6722         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
6723         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
6724         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
6725         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
6726         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
6727         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
6728         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
6729         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
6731         [BZ #6803]
6732         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
6733         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
6734         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
6735         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
6736         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
6737         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
6738         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
6739         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
6740         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6741         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
6742         Likewise.
6743         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6744         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
6745         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
6746         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
6747         long_double_symbol calls.
6748         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
6749         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
6750         strong alias of __ldexpl.
6751         (scalbnl): Define using long_double_symbol.
6752         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
6753         Remove alias.
6754         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
6755         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
6756         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
6757         (scalbln_test_data): Add more errno expectations.
6759 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
6761         Cache the host port like we cache the task port.  This way we do not
6762         need to call the kernel just to get the port.  Furthermore, we no
6763         longer increase the reference count on every invocation of
6764         `mach_host_self'.
6766         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
6767         Protect declarations against the macro expansion.
6768         * mach/mach_init.c (__mach_host_self_): New variable.
6769         (mach_init): Initialize `__mach_host_self_'.
6770         * mach/mach_init.h (__mach_host_self_): New declaration.
6771         (__mach_host_self, mach_host_self): New macros.
6772         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
6773         Release reference.
6775 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6777         [BZ #4404]
6778         * po/de.po: Update from Translation Project.
6780         [BZ #16415]
6781         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
6782         (__expm1l): Remove code to handle positive infinity and overflow.
6783         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
6784         variable.
6785         (__expm1l): Remove code to handle positive infinity and overflow.
6787 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
6788             Paul Pluzhnikov  <ppluzhnikov@google.com>
6790         [BZ #18872]
6791         * stdio-common/Makefile (tst-printf-bz18872): New test.
6792         (tst-printf-bz18872-mem.out): Likewise.
6793         * stdio-common/tst-printf-bz18872.sh: Generate new test.
6794         * stdio-common/vfprintf.c: Fix memory leaks.
6796 2015-09-16  Andreas Schwab  <schwab@suse.de>
6798         [BZ #17244]
6799         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
6800         Remove extra va_start/va_end calls.
6802         [BZ #17243]
6803         * posix/execl.c (execl): Add missing va_end.
6804         * posix/execle.c (execle): Likewise.
6805         * posix/execlp.c (execlp): Likewise.
6807 2015-09-15  Roland McGrath  <roland@hack.frob.com>
6809         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
6810         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
6812 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
6814         [BZ #18967]
6815         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
6816         undefine around includes of <bits/mathcalls.h>.
6817         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
6818         not declare function.
6819         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
6820         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
6821         (scalb): Likewise.
6822         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
6823         not define macro.
6824         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
6825         variable.
6826         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6827         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6828         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6830         [BZ #18857]
6831         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
6832         return non-finite argument without doing ordered comparisons on
6833         it.
6835         [BZ #16296]
6836         * math/fenv.h (fegetround): Use __attribute_pure__.
6837         * include/fenv.h (__fegetround): Likewise.
6839         [BZ #18595]
6840         * math/s_ctan.c (__ctan): Force underflow exception for results
6841         whose real or imaginary part has small absolute value.
6842         * math/s_ctanf.c (__ctanf): Likewise.
6843         * math/s_ctanh.c (__ctanh): Likewise.
6844         * math/s_ctanhf.c (__ctanhf): Likewise.
6845         * math/s_ctanhl.c (__ctanhl): Likewise.
6846         * math/s_ctanl.c (__ctanl): Likewise.
6847         * math/auto-libm-test-in: Do not allow missing underflow for ctan
6848         and ctanh.  Add more tests of ctan and ctanh.
6850         [BZ #15918]
6851         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
6852         handling of cases where one argument is an infinity.
6854         [BZ #18875]
6855         [BZ #18966]
6856         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
6857         (MO): New macro.
6858         (__ieee754_exp10): For small results, force underflow exception
6859         and remove excess range and precision from return value.
6860         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
6861         (MO): New macro.
6862         (__ieee754_exp10f): For small results, force underflow exception
6863         and remove excess range and precision from return value.
6864         * math/auto-libm-test-in: Add more tests of exp10.
6865         * math/auto-libm-test-out: Regenerated.
6867 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
6869         [BZ #18875]
6870         [BZ #18961]
6871         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
6872         (MO): New macro.
6873         (__ieee754_exp): For small results, force underflow exception and
6874         remove excess range and precision from return value.
6875         (__exp_finite): Likewise.
6876         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
6877         (MO): New macro.
6878         (__ieee754_expf): For small results, force underflow exception and
6879         remove excess range and precision from return value.
6880         (__expf_finite): Likewise.
6881         * math/auto-libm-test-in: Add more tests of exp.
6882         * math/auto-libm-test-out: Regenerated.
6884         [BZ #16521]
6885         [BZ #18875]
6886         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
6887         small results.
6888         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
6889         (MO): New macro.
6890         (__ieee754_exp2): For small results, force underflow exception and
6891         remove excess range and precision from return value.
6892         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
6893         (MO): New macro.
6894         (__ieee754_exp2f): For small results, force underflow exception
6895         and remove excess range and precision from return value.
6896         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
6897         (MO): New macro.
6898         (__ieee754_exp2l): Force underflow exception for small results.
6899         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6900         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6901         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
6902         (MO): New macro.
6903         (__ieee754_exp2l): Force underflow exception for small results.
6904         * math/auto-libm-test-in: Add more tests or exp2.
6905         * math/auto-libm-test-out: Regenerated.
6907 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
6909         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
6911         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
6912         /dev/null.
6914 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6916         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6917         io fs process)): Drop spurious backslash.
6919 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6921         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
6922         Use sysinfo system call instead of parsing /proc/meminfo.
6923         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
6924         Likewise.
6926 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
6928         [BZ #16985]
6929         * programs/localedef.c (main): Display argv[remaining] when
6930         output_path is NULL.
6932 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6934         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6935         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
6936         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
6937         tanh.
6938         * math/auto-libm-test-out: Regenerated.
6939         * sysdeps/i386/fpu/libm-test-ulps: Update.
6940         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6941         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6944 2015-09-11  Roland McGrath  <roland@hack.frob.com>
6946         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
6947         Use 'override' keyword to freeze the value here, preventing
6948         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
6950 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6952         [BZ #14912]
6953         * sysdeps/aarch64/bits/atomic.h: Move to ...
6954         * sysdeps/aarch64/atomic-machine.h: ...here.
6955         (_AARCH64_BITS_ATOMIC_H): Rename macro to
6956         _AARCH64_ATOMIC_MACHINE_H.
6957         * sysdeps/alpha/bits/atomic.h: Move to ...
6958         * sysdeps/alpha/atomic-machine.h: ...here.
6959         * sysdeps/arm/bits/atomic.h: Move to ...
6960         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
6961         * bits/atomic.h: Move to ...
6962         * sysdeps/generic/atomic-machine.h: ...here.
6963         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6964         * sysdeps/i386/bits/atomic.h: Move to ...
6965         * sysdeps/i386/atomic-machine.h: ...here.
6966         * sysdeps/ia64/bits/atomic.h: Move to ...
6967         * sysdeps/ia64/atomic-machine.h: ...here.
6968         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
6969         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
6970         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6971         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
6972         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
6973         * sysdeps/microblaze/bits/atomic.h: Move to ...
6974         * sysdeps/microblaze/atomic-machine.h: ...here.
6975         * sysdeps/mips/bits/atomic.h: Move to ...
6976         * sysdeps/mips/atomic-machine.h: ...here.
6977         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
6978         * sysdeps/powerpc/bits/atomic.h: Move to ...
6979         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
6980         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
6981         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
6982         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
6983         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
6984         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
6985         <atomic-machine.h> instead of <bits/atomic.h>.
6986         * sysdeps/s390/bits/atomic.h: Move to ...
6987         * sysdeps/s390/atomic-machine.h: ...here.
6988         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
6989         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
6990         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6991         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
6992         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
6993         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
6994         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
6995         * sysdeps/tile/bits/atomic.h: Move to ...
6996         * sysdeps/tile/atomic-machine.h: ...here.
6997         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
6998         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
6999         <sysdeps/tile/atomic-machine.h> instead of
7000         <sysdeps/tile/bits/atomic.h>.
7001         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7002         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
7003         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
7004         <sysdeps/tile/atomic-machine.h> instead of
7005         <sysdeps/tile/bits/atomic.h>.
7006         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7007         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
7008         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
7009         <sysdeps/arm/atomic-machine.h> instead of
7010         <sysdeps/arm/bits/atomic.h>.
7011         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
7012         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
7013         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7014         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
7015         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
7016         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7017         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
7018         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
7019         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
7020         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
7021         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
7022         * sysdeps/x86_64/bits/atomic.h: Move to ...
7023         * sysdeps/x86_64/atomic-machine.h: ...here.
7024         * include/atomic.h: Include <atomic-machine.h> instead of
7025         <bits/atomic.h>.
7027         * sysdeps/mips/mips32/libm-test-ulps: Update.
7028         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7030         [BZ #18952]
7031         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
7032         not convert non-integer negative arguments to int to determine the
7033         value of signgam.
7034         * math/auto-libm-test-in: Add more tests of lgamma.
7035         * math/auto-libm-test-out: Regenerated.
7037         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
7038         cosh, csqrt, erfc, expm1 and lgamma.
7039         * math/auto-libm-test-out: Regenerated.
7040         * sysdeps/i386/fpu/libm-test-ulps: Update.
7041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7043 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
7045         [BZ #2542]
7046         [BZ #2543]
7047         [BZ #2558]
7048         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
7049         __lgamma_neg for arguments from -28.0 to -2.0.
7050         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
7051         __lgamma_negf for arguments from -15.0 to -2.0.
7052         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7053         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
7054         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
7055         Call __lgamma_negl for arguments from -33.0 to -2.0.
7056         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
7057         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7058         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7059         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
7060         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7061         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7062         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7063         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
7064         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7065         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7066         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
7067         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
7068         (__lgamma_neg): Likewise.
7069         (__lgamma_negl): Likewise.
7070         (__lgamma_product): Likewise.
7071         (__lgamma_productl): Likewise.
7072         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
7073         * math/auto-libm-test-in: Add more tests of lgamma.
7074         * math/auto-libm-test-out: Regenerated.
7075         * sysdeps/i386/fpu/libm-test-ulps: Update.
7076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7078 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
7080         [BZ #18675]
7081         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
7083 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
7085         [BZ #14912]
7086         * bits/libc-lock.h: Move to ...
7087         * sysdeps/generic/libc-lock.h: ...here.
7088         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7089         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
7090         * sysdeps/mach/hurd/libc-lock.h: ...here.
7091         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7092         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
7093         * sysdeps/mach/bits/libc-lock.h: Move to ...
7094         * sysdeps/mach/libc-lock.h: ...here.
7095         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7096         * sysdeps/nptl/bits/libc-lock.h: Move to ...
7097         * sysdeps/nptl/libc-lock.h: ...here.
7098         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7099         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
7100         * sysdeps/nptl/libc-lockP.h: ...here.
7101         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
7102         * crypt/crypt_util.c: Include <libc-lock.h> instead of
7103         <bits/libc-lock.h>.
7104         * dirent/scandir-tail.c: Likewise.
7105         * dlfcn/dlerror.c: Likewise.
7106         * elf/dl-close.c: Likewise.
7107         * elf/dl-iteratephdr.c: Likewise.
7108         * elf/dl-lookup.c: Likewise.
7109         * elf/dl-open.c: Likewise.
7110         * elf/dl-support.c: Likewise.
7111         * elf/dl-writev.h: Likewise.
7112         * elf/rtld.c: Likewise.
7113         * grp/fgetgrent.c: Likewise.
7114         * gshadow/fgetsgent.c: Likewise.
7115         * gshadow/sgetsgent.c: Likewise.
7116         * iconv/gconv_conf.c: Likewise.
7117         * iconv/gconv_db.c: Likewise.
7118         * iconv/gconv_dl.c: Likewise.
7119         * iconv/gconv_int.h: Likewise.
7120         * iconv/gconv_trans.c: Likewise.
7121         * include/link.h: Likewise.
7122         * inet/getnameinfo.c: Likewise.
7123         * inet/getnetgrent.c: Likewise.
7124         * inet/getnetgrent_r.c: Likewise.
7125         * intl/bindtextdom.c: Likewise.
7126         * intl/dcigettext.c: Likewise.
7127         * intl/finddomain.c: Likewise.
7128         * intl/gettextP.h: Likewise.
7129         * intl/loadmsgcat.c: Likewise.
7130         * intl/localealias.c: Likewise.
7131         * intl/textdomain.c: Likewise.
7132         * libidn/idn-stub.c: Likewise.
7133         * libio/libioP.h: Likewise.
7134         * locale/duplocale.c: Likewise.
7135         * locale/freelocale.c: Likewise.
7136         * locale/newlocale.c: Likewise.
7137         * locale/setlocale.c: Likewise.
7138         * login/getutent_r.c: Likewise.
7139         * login/getutid_r.c: Likewise.
7140         * login/getutline_r.c: Likewise.
7141         * login/utmp-private.h: Likewise.
7142         * login/utmpname.c: Likewise.
7143         * malloc/mtrace.c: Likewise.
7144         * misc/efgcvt.c: Likewise.
7145         * misc/error.c: Likewise.
7146         * misc/fstab.c: Likewise.
7147         * misc/getpass.c: Likewise.
7148         * misc/mntent.c: Likewise.
7149         * misc/syslog.c: Likewise.
7150         * nis/nis_call.c: Likewise.
7151         * nis/nis_callback.c: Likewise.
7152         * nis/nss-default.c: Likewise.
7153         * nis/nss_compat/compat-grp.c: Likewise.
7154         * nis/nss_compat/compat-initgroups.c: Likewise.
7155         * nis/nss_compat/compat-pwd.c: Likewise.
7156         * nis/nss_compat/compat-spwd.c: Likewise.
7157         * nis/nss_nis/nis-alias.c: Likewise.
7158         * nis/nss_nis/nis-ethers.c: Likewise.
7159         * nis/nss_nis/nis-grp.c: Likewise.
7160         * nis/nss_nis/nis-hosts.c: Likewise.
7161         * nis/nss_nis/nis-network.c: Likewise.
7162         * nis/nss_nis/nis-proto.c: Likewise.
7163         * nis/nss_nis/nis-pwd.c: Likewise.
7164         * nis/nss_nis/nis-rpc.c: Likewise.
7165         * nis/nss_nis/nis-service.c: Likewise.
7166         * nis/nss_nis/nis-spwd.c: Likewise.
7167         * nis/nss_nisplus/nisplus-alias.c: Likewise.
7168         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7169         * nis/nss_nisplus/nisplus-grp.c: Likewise.
7170         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7171         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
7172         * nis/nss_nisplus/nisplus-network.c: Likewise.
7173         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7174         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7175         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7176         * nis/nss_nisplus/nisplus-service.c: Likewise.
7177         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7178         * nis/ypclnt.c: Likewise.
7179         * nptl/libc_pthread_init.c: Likewise.
7180         * nss/getXXbyYY.c: Likewise.
7181         * nss/getXXent.c: Likewise.
7182         * nss/getXXent_r.c: Likewise.
7183         * nss/nss_db/db-XXX.c: Likewise.
7184         * nss/nss_db/db-netgrp.c: Likewise.
7185         * nss/nss_db/nss_db.h: Likewise.
7186         * nss/nss_files/files-XXX.c: Likewise.
7187         * nss/nss_files/files-alias.c: Likewise.
7188         * nss/nsswitch.c: Likewise.
7189         * posix/regex_internal.h: Likewise.
7190         * posix/wordexp.c: Likewise.
7191         * pwd/fgetpwent.c: Likewise.
7192         * resolv/res_hconf.c: Likewise.
7193         * resolv/res_libc.c: Likewise.
7194         * shadow/fgetspent.c: Likewise.
7195         * shadow/lckpwdf.c: Likewise.
7196         * shadow/sgetspent.c: Likewise.
7197         * socket/opensock.c: Likewise.
7198         * stdio-common/reg-modifier.c: Likewise.
7199         * stdio-common/reg-printf.c: Likewise.
7200         * stdio-common/reg-type.c: Likewise.
7201         * stdio-common/vfprintf.c: Likewise.
7202         * stdio-common/vfscanf.c: Likewise.
7203         * stdlib/abort.c: Likewise.
7204         * stdlib/cxa_atexit.c: Likewise.
7205         * stdlib/fmtmsg.c: Likewise.
7206         * stdlib/random.c: Likewise.
7207         * stdlib/setenv.c: Likewise.
7208         * string/strsignal.c: Likewise.
7209         * sunrpc/auth_none.c: Likewise.
7210         * sunrpc/bindrsvprt.c: Likewise.
7211         * sunrpc/create_xid.c: Likewise.
7212         * sunrpc/key_call.c: Likewise.
7213         * sunrpc/rpc_thread.c: Likewise.
7214         * sysdeps/arm/backtrace.c: Likewise.
7215         * sysdeps/generic/ldsodefs.h: Likewise.
7216         * sysdeps/generic/stdio-lock.h: Likewise.
7217         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
7218         * sysdeps/i386/backtrace.c: Likewise.
7219         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7220         * sysdeps/m68k/backtrace.c: Likewise.
7221         * sysdeps/mach/hurd/cthreads.c: Likewise.
7222         * sysdeps/mach/hurd/dirstream.h: Likewise.
7223         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7224         * sysdeps/nptl/malloc-machine.h: Likewise.
7225         * sysdeps/nptl/stdio-lock.h: Likewise.
7226         * sysdeps/posix/dirstream.h: Likewise.
7227         * sysdeps/posix/getaddrinfo.c: Likewise.
7228         * sysdeps/posix/system.c: Likewise.
7229         * sysdeps/pthread/aio_suspend.c: Likewise.
7230         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7231         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7232         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7233         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7234         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
7235         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
7236         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
7237         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7238         * sysdeps/unix/sysv/linux/system.c: Likewise.
7239         * sysdeps/x86_64/backtrace.c: Likewise.
7240         * time/alt_digit.c: Likewise.
7241         * time/era.c: Likewise.
7242         * time/tzset.c: Likewise.
7243         * wcsmbs/wcsmbsload.c: Likewise.
7244         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
7245         instead of <bits/libc-lock.h> in comment.
7247 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
7249         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
7250         Only use .set mips2 if the current ISA is below mips2.
7251         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
7252         Likewise.
7253         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
7254         mips32r2 if the current ISA is below mips32r2.
7255         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
7256         (TLS_IE): Updated to use the TLD_RDHWR macro.
7257         (TLS_LE): Likewise.
7258         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
7259         __ASSEMBLER__ condition.
7261 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7263         Fix parallel build of before-compile targets.
7265         * sysdeps/mach/Makefile ($(patsubst
7266         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
7267         mach-before-compile target.
7268         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7269         io fs process)): Move rule to dedicated hurd-before-compile target.
7271 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7273         Fix rules generating headers in hurd/ and mach/ when initial make call
7274         has subdir= explicitly set.
7276         * sysdeps/mach/Makefile ($(patsubst
7277         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
7278         calling $(MAKE).
7279         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7280         io fs process)): Force subdir to hurd when calling $(MAKE).
7281         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
7282         subdir to mach when calling $(MAKE).
7284 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
7286         Check sysheaders when looking for Mach and Hurd headers
7288         * sysdeps/mach/configure.ac: Add sysheaders check.
7289         * sysdeps/mach/configure: Regenerate.
7290         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
7291         * sysdeps/mach/hurd/configure: Regenerate.
7293 2015-09-04  Roland McGrath  <roland@hack.frob.com>
7295         [BZ #18921]
7296         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
7297         Fix inverted sense of test of 'o_directory_works' value.
7298         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
7299         Bernhard Voelker <mail@bernhard-voelker.de>.
7301 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7303         [BZ #14912]
7304         * bits/linkmap.h: Move to ...
7305         * sysdeps/generic/linkmap.h: ...here.
7306         * sysdeps/aarch64/bits/linkmap.h: Move to ...
7307         * sysdeps/aarch64/linkmap.h: ...here.
7308         * sysdeps/arm/bits/linkmap.h: Move to ...
7309         * sysdeps/arm/linkmap.h: ...here.
7310         * sysdeps/hppa/bits/linkmap.h: Move to ...
7311         * sysdeps/hppa/linkmap.h: ...here.
7312         * sysdeps/ia64/bits/linkmap.h: Move to ...
7313         * sysdeps/ia64/linkmap.h: ...here.
7314         * sysdeps/mips/bits/linkmap.h: Move to ...
7315         * sysdeps/mips/linkmap.h: ...here.
7316         * sysdeps/s390/bits/linkmap.h: Move to ...
7317         * sysdeps/s390/linkmap.h: ...here.
7318         * sysdeps/sh/bits/linkmap.h: Move to ...
7319         * sysdeps/sh/linkmap.h: ...here.
7320         * sysdeps/x86/bits/linkmap.h: Move to ...
7321         * sysdeps/x86/linkmap.h: ...here.
7322         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
7324 2015-09-04  Andreas Schwab  <schwab@suse.de>
7326         [BZ #18635]
7327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
7328         (__makecontext): Terminate FDE before return label.
7329         (__novec_makecontext): Likewise.
7331 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7333         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
7334         first member of struct sv in syscall macro.
7336 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7338         [BZ #14912]
7339         * bits/stdio-lock.h: Move to ...
7340         * sysdeps/generic/stdio-lock.h: ...here.
7341         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7342         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
7343         * sysdeps/nptl/stdio-lock.h: ...here.
7344         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7345         * include/libio.h: Include <stdio-lock.h> instead of
7346         <bits/stdio-lock.h>.
7347         * sysdeps/nptl/fork.c: Likewise.
7348         * sysdeps/pthread/flockfile.c: Likewise.
7349         * sysdeps/pthread/ftrylockfile.c: Likewise.
7350         * sysdeps/pthread/funlockfile.c: Likewise.
7352         [BZ #14912]
7353         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
7354         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
7355         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
7356         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
7357         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
7358         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7359         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
7361 2015-09-03  Roland McGrath  <roland@hack.frob.com>
7363         * elf/Makefile (test-xfail-tst-protected1a): New variable.
7364         (test-xfail-tst-protected1b): New variable.
7366 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
7368         [BZ #14912]
7369         * bits/libc-tsd.h: Move to ...
7370         * sysdeps/generic/libc-tsd.h: ...here.
7371         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
7372         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
7373         * sysdeps/mach/hurd/libc-tsd.h: ...here.
7374         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
7375         * include/ctype.h: Include <libc-tsd.h> instead of
7376         <bits/libc-tsd.h>.
7377         * include/rpc/rpc.h: Likewise.
7378         * locale/localeinfo.h: Likewise.
7379         * sunrpc/rpc_thread.c: Likewise.
7380         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7381         * sysdeps/nptl/malloc-machine.h: Likewise.
7383         * Makefile (headers): Remove bits/libc-lock.h.
7384         * libio/Makefile (headers): Remove bits/stdio-lock.h.
7386         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
7387         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
7388         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
7389         <bits/stdio-lock.h>.
7390         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
7391         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
7393 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7395         [BZ #18757]
7396         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
7397         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
7398         BZ #18757.
7400 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7402         * malloc/mtrace.pl: Filter out NULL entries.
7404 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
7406         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
7407         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
7408         macro.
7410         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
7411         (TCP_CC_INFO): Likewise.
7412         (TCP_SAVE_SYN): Likewise.
7413         (TCP_SAVED_SYN): Likewise.
7415 2015-08-31  Brett Neumeier <brett@neumeier.us>
7417         [BZ #18870]
7418         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
7420 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
7422         [BZ #18873]
7423         Fix broken overflow check in posix_fallocate
7424         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
7425         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
7426         Fix parenthesization typo.
7428 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
7430         [BZ #18887]
7431         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
7432         tst-mntent-blank-passno.
7433         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
7434         * misc/tst-mntent-blank-corrupt.c: New test.
7435         * misc/tst-mntent-blank-passno.c: New test ripped from ...
7436         * misc/tst-mntent.c (do_test): ... here.
7438 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
7440         [BZ #4404]
7441         * po/de.po: Fix SIGALRM typo.
7443 2015-08-28  James Perkins  <james@loowit.net>
7445         * time/tst-strptime2.c (tests): Replace short list of test
7446         strings for strptime %z specifier with code which exhaustively
7447         tests every combination of sign and 0 to 5 digits. Tests for
7448         rejection of invalid strings.
7450 2015-08-28  James Perkins  <james@loowit.net>
7452         [BZ #16141]
7453         * time/strptime_l.c (__strptime_internal): Fix %z minutes
7454         calculation, removing incorrect decimal time rounding, so that
7455         all minute values result in a valid seconds value.
7456         * time/strptime_l.c (__strptime_internal): Extend %z time zone
7457         offset range limits to UTC-99:59 through UTC+99:59 to parse
7458         current and historical use cases.
7459         * time/tst-strptime2.c (tests): Modify and add tests for the
7460         strptime %z input field descriptor, specifically conversion of
7461         minutes to seconds and validating an offset range of -9959 to
7462         +9959.
7464 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7465             Dmitry V. Levin  <ldv@altlinux.org>
7467         [BZ #18877]
7468         * posix/Makefile (tests): Add tst-mmap-offset.
7469         * posix/tst-mmap.c: New file.
7470         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
7471         offset calculation for negative values.
7473 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7475         * sysdeps/i386/init-arch.h: New file.
7476         * sysdeps/i386/i586/init-arch.h: Likewise.
7477         * sysdeps/i386/i686/init-arch.h: Likewise.
7478         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
7479         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
7480         * sysdeps/x86/cpu-features.h (bit_I586): New.
7481         (bit_I686): Likewise.
7482         (bit_CX8): Likewise.
7483         (bit_CMOV): Likewise.
7484         (index_CX8): Likewise.
7485         (index_CMOV): Likewise.
7486         (index_I586): Likewise.
7487         (index_I686): Likewise.
7488         (reg_CX8): Likewise.
7489         (reg_CMOV): Likewise.
7490         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
7491         available at compile-time.
7492         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
7493         available at compile-time.
7494         * sysdeps/x86/init-arch.h (USE_I586): New macro.
7495         (USE_I686): Likewise.
7497 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7499         * sysdeps/i386/bcopy.S: New file.
7500         * sysdeps/i386/bzero.S: Likewise.
7501         * sysdeps/i386/memcpy.S: Likewise.
7502         * sysdeps/i386/memmove.S: Likewise.
7503         * sysdeps/i386/mempcpy.S: Likewise.
7504         * sysdeps/i386/memset.S: Likewise.
7505         * sysdeps/i386/bzero.c: Removed.
7506         * sysdeps/i386/memset.c: Likewise.
7507         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
7508         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
7509         * sysdeps/i386/i586/memset_chk.S: Likewise.
7510         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
7511         * sysdeps/i386/memcpy_chk.S: Here.
7512         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
7513         * sysdeps/i386/memmove_chk.S: Here.
7514         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
7515         * sysdeps/i386/mempcpy_chk.S: Likewise.
7516         * sysdeps/i386/i686/memset_chk.S: Moved to ...
7517         * sysdeps/i386/memset_chk.S: Likewise.
7519 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
7521         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
7522         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
7523         file, move DIAG_POP_NEEDS_COMMENT to end of file.
7524         * soft-fp/fmadf4.c: Ditto.
7525         * soft-fp/fmatf4.c: Ditto.
7527 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7529         * sysdeps/i386/i586/Implies: Removed.
7530         * sysdeps/i386/i686/Implies: Likewise.
7532 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7534         * sysdeps/i386/i486/strlen.S: Moved to ...
7535         * sysdeps/i386/strlen.S: Here.
7537 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7539         * sysdeps/i386/i486/strcat.S: Moved to ...
7540         * sysdeps/i386/strcat.S: Here.
7542 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7544         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
7545         * sysdeps/i386/pthread_spin_trylock.S: Here.
7546         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
7547         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
7549 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7551         * sysdeps/i386/i486/string-inlines.c: Moved to ...
7552         * sysdeps/i386/string-inlines.c: Here.
7554 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7556         * sysdeps/i386/i486/htonl.S: Moved ...
7557         * sysdeps/i386/htonl.S: here.
7559 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7561         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
7562         * sysdeps/i386/bits/atomic.h: Here.
7564 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7566         * sysdeps/i386/i486/Versions: Removed.
7568 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7570         [BZ #2898]
7571         * misc/mktemp.c: Add mkdtemp to the link_warning message.
7572         Based on patch by Aurelien Jarno.
7574 2015-08-26  Stan Shebs  <stanshebs@google.com>
7576         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
7577         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7579 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7581         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
7582         * sysdeps/powerpc/dl-procinfo.c:
7583         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
7584         feature so it shows when LD_SHOW_AUXV=1.
7586 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7588         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7589         (__arch_compare_and_exchange_val_32_acq): Remove and use common
7590         definition.  ISA 2.07B no longer requires full sync.
7592 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
7594         [BZ #18863]
7595         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
7596         (si_call_addr): Define.
7597         (si_syscall): Define.
7598         (si_arch): Define.
7600 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7602         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
7603         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
7604         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
7605         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7606         (__memset_zero_constant_len_parameter): New.
7607         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
7608         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7609         (__memset_zero_constant_len_parameter): Don't define if
7610         __memset_chk or USE_AS_BZERO are defined.
7612         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
7613         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
7614         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
7616         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
7617         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
7618         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
7619         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
7620         comments.
7621         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
7622         -mno-mmx for $(all-rtld-routines).
7623         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
7624         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
7625         i386.
7627 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7629         * sysdeps/generic/unwind.h
7630         (_Unwind_Word): Use __mode__(__unwind_word__)
7631         instead of __mode__(__word__).
7632         (_Unwind_Sword): Likewise.
7634         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7635         (MAX_NEEDED_INPUT): New define.
7636         (MAX_NEEDED_OUTPUT): New define.
7638         * NEWS: New item for IBM z13 string optimizations.
7640         * sysdeps/s390/multiarch/memrchr-c.c: New File.
7641         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
7642         * sysdeps/s390/multiarch/memrchr.c: Likewise.
7643         * sysdeps/s390/multiarch/Makefile
7644         (sysdep_routines): Add memrchr functions.
7645         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7646         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
7648         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
7649         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
7650         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
7651         * sysdeps/s390/multiarch/Makefile
7652         (sysdep_routines): Add wmemcmp functions.
7653         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7654         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
7655         * benchtests/bench-wmemcmp.c: New File.
7656         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
7658         * sysdeps/s390/multiarch/wmemset-c.c: New File.
7659         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
7660         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7661         * sysdeps/s390/multiarch/Makefile
7662         (sysdep_routines): Add wmemset functions.
7663         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7664         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
7665         * wcsmbs/wmemset.c: Use WMEMSET if defined.
7666         * string/test-memset.c: Add wmemset support.
7667         * wcsmbs/test-wmemset.c: New File.
7668         * wcsmbs/Makefile (strop-tests): Add wmemset.
7669         * benchtests/bench-memset.c: Add wmemset support.
7670         * benchtests/bench-wmemset.c: New File.
7671         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
7673         * sysdeps/s390/multiarch/memccpy-c.c: New File.
7674         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
7675         * sysdeps/s390/multiarch/memccpy.c: Likewise.
7676         * sysdeps/s390/multiarch/Makefile
7677         (sysdep_routines): Add memccpy functions.
7678         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7679         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
7680         * string/memccpy.c: Use MEMCCPY if defined.
7682         * sysdeps/s390/multiarch/memchr-vx.S: New File.
7683         * sysdeps/s390/multiarch/memchr.c: Likewise.
7684         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
7685         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
7686         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7687         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
7688         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
7689         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7690         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
7691         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7692         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
7693         and rawmemchr functions.
7694         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7695         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
7696         and wmemchr.
7697         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
7698         * string/test-memchr.c: Add wmemchr support.
7699         * wcsmbs/test-wmemchr.c: New File.
7700         * wcsmbs/Makefile (strop-tests): Add wmemchr.
7701         * benchtests/bench-memchr.c: Add wmemchr support.
7702         * benchtests/bench-wmemchr.c: New File.
7703         * benchtests/Makefile (wcsmbs-bench): wmemchr.
7705         * sysdeps/s390/multiarch/strcspn-c.c: New File.
7706         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
7707         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7708         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
7709         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
7710         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
7711         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
7712         wcscspn functions.
7713         * sysdeps/s390/multiarch/ifunc-impl-list.c
7714         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
7715         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
7716         * string/test-strcspn.c: Add wcscspn support.
7717         * wcsmbs/test-wcscspn.c: New File.
7718         * wcsmbs/Makefile (strop-tests): Add wcscspn.
7719         * benchtests/bench-strcspn.c: Add wcscspn support.
7720         * benchtests/bench-wcscspn.c: New File.
7721         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
7723         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
7724         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
7725         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7726         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
7727         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
7728         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7729         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
7730         wcspbrk functions.
7731         * sysdeps/s390/multiarch/ifunc-impl-list.c
7732         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
7733         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
7734         * string/test-strpbrk.c: Add wcspbrk support.
7735         * wcsmbs/test-wcspbrk.c: New File.
7736         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
7737         * benchtests/bench-strpbrk.c: Add wcspbrk support.
7738         * benchtests/bench-wcspbrk.c: New File.
7739         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
7741         * sysdeps/s390/multiarch/strspn-c.c: New File.
7742         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
7743         * sysdeps/s390/multiarch/strspn.c: Likewise.
7744         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
7745         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
7746         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7747         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
7748         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
7749         wcsspn functions.
7750         * sysdeps/s390/multiarch/ifunc-impl-list.c
7751         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
7752         * string/test-strspn.c: Add wcsspn support.
7753         * wcsmbs/test-wcsspn.c: New File.
7754         * wcsmbs/Makefile (strop-tests): Add wcsspn.
7755         * benchtests/bench-strspn.c: Add wcsspn support.
7756         * benchtests/bench-wcsspn.c: New File.
7757         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
7759         * sysdeps/s390/multiarch/strrchr-c.c: New File.
7760         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
7761         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7762         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
7763         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
7764         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
7765         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
7766         wcsrchr functions.
7767         * sysdeps/s390/multiarch/ifunc-impl-list.c
7768         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
7769         * benchtests/bench-wcsrchr.c: New File.
7770         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
7772         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
7773         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
7774         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
7775         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
7776         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
7777         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
7778         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
7779         wcschrnul functions.
7780         * sysdeps/s390/multiarch/ifunc-impl-list.c
7781         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
7782         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
7783         * string/test-strchr.c: Add wcschrnul support.
7784         * wcsmbs/test-wcschrnul.c: New File.
7785         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
7786         * benchtests/bench-strchr.c: Add wcschrnul support.
7787         * benchtests/bench-wcschrnul.c: New File.
7788         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
7790         * sysdeps/s390/multiarch/strchr-c.c: New File.
7791         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
7792         * sysdeps/s390/multiarch/strchr.c: Likewise.
7793         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
7794         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
7795         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7796         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
7797         wcschr functions.
7798         * sysdeps/s390/multiarch/ifunc-impl-list.c
7799         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
7800         * string/strchr.c (STRCHR): Define and use macro.
7801         * benchtests/bench-wcschr.c: New File.
7802         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
7804         * sysdeps/s390/multiarch/strncmp-c.c: New File.
7805         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
7806         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7807         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
7808         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
7809         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
7810         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
7811         wcsncmp functions.
7812         * sysdeps/s390/multiarch/ifunc-impl-list.c
7813         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
7814         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
7815         * benchtests/bench-strncmp.c: Add wcsncmp support.
7816         * benchtests/bench-wcsncmp.c: New File.
7817         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
7819         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
7820         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7821         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
7822         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
7823         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7824         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
7825         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7826         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
7827         wcscmp functions.
7828         * sysdeps/s390/multiarch/ifunc-impl-list.c
7829         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
7830         * string/strcmp.c (STRCMP): Define and use macro.
7831         * benchtests/bench-wcscmp.c: New File.
7832         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
7833         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
7834         instead of _HAVE_STRING_ARCH_memchr.
7836         * sysdeps/s390/multiarch/strncat-c.c: New File.
7837         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
7838         * sysdeps/s390/multiarch/strncat.c: Likewise.
7839         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
7840         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
7841         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
7842         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
7843         wcsncat functions.
7844         * sysdeps/s390/multiarch/ifunc-impl-list.c
7845         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
7846         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
7847         * string/test-strncat.c: Add wcsncat support.
7848         * wcsmbs/test-wcsncat.c: New File.
7849         * wcsmbs/Makefile (strop-tests): Add wcsncat.
7850         * benchtests/bench-strncat.c: Add wcsncat support.
7851         * benchtests/bench-wcsncat.c: New File.
7852         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
7854         * sysdeps/s390/multiarch/strcat-c.c: New File.
7855         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
7856         * sysdeps/s390/multiarch/strcat.c: Likewise.
7857         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
7858         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
7859         * sysdeps/s390/multiarch/wcscat.c: Likewise.
7860         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
7861         wcscat functions.
7862         * sysdeps/s390/multiarch/ifunc-impl-list.c
7863         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
7864         * string/strcat.c (STRCAT): Define and use macro.
7865         * wcsmbs/wcscat.c: Use WCSCAT if defined.
7866         * string/test-strcat.c: Add wcscat support.
7867         * wcsmbs/test-wcscat.c: New File.
7868         * wcsmbs/Makefile (strop-tests): Add wcscat.
7869         * benchtests/bench-strcat.c: Add wcscat support.
7870         * benchtests/bench-wcscat.c: New File.
7871         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
7873         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
7874         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
7875         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7876         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
7877         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
7878         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
7879         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
7880         wcpncpy functions.
7881         * sysdeps/s390/multiarch/ifunc-impl-list.c
7882         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
7883         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
7884         * string/test-stpncpy.c: Add wcpncpy support.
7885         * wcsmbs/test-wcpncpy.c: New File.
7886         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
7887         * benchtests/bench-stpncpy.c: Add wcpncpy support.
7888         * benchtests/bench-wcpncpy.c: New File.
7889         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
7891         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
7892         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7893         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
7894         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
7895         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
7896         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
7897         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7898         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
7899         wcsncpy functions.
7900         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
7901         * sysdeps/s390/multiarch/ifunc-impl-list.c
7902         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
7903         * string/test-strncpy.c: Add wcsncpy support.
7904         * wcsmbs/test-wcsncpy.c: New File.
7905         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
7906         * benchtests/bench-strncpy.c: Add wcsncpy support.
7907         * benchtests/bench-wcsncpy.c: New File.
7908         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
7910         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
7911         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
7912         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7913         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
7914         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
7915         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
7916         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
7917         wcpcpy functions.
7918         * string/stpcpy.c: Use STPCPY if defined.
7919         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
7920         * sysdeps/s390/multiarch/ifunc-impl-list.c
7921         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
7922         * string/test-stpcpy.c: Add wcpcpy support.
7923         * wcsmbs/test-wcpcpy.c: New File.
7924         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
7925         * benchtests/bench-stpcpy.c: Add wcpcpy support.
7926         * benchtests/bench-wcpcpy.c: New File.
7927         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
7929         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
7930         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7931         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
7932         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
7933         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
7934         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
7935         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7936         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
7937         wcscpy functions.
7938         * sysdeps/s390/multiarch/ifunc-impl-list.c
7939         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
7940         * benchtests/bench-wcscpy.c: New File.
7941         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
7943         * sysdeps/s390/multiarch/strnlen-c.c: New File.
7944         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
7945         * sysdeps/s390/multiarch/strnlen.c: Likewise.
7946         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
7947         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
7948         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
7949         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
7950         wcsnlen functions.
7951         * sysdeps/s390/multiarch/ifunc-impl-list.c
7952         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
7953         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
7954         * string/test-strnlen.c: Add wcsnlen support.
7955         * wcsmbs/test-wcsnlen.c: New File.
7956         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
7957         * benchtests/bench-strnlen.c: Add wcsnlen support.
7958         * benchtests/bench-wcsnlen.c: New File.
7959         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
7961         * sysdeps/s390/multiarch/Makefile: New File.
7962         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
7963         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
7964         * sysdeps/s390/multiarch/strlen.c: Likewise.
7965         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
7966         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
7967         * sysdeps/s390/multiarch/wcslen.c: Likewise.
7968         * string/strlen.c (STRLEN): Define and use macro.
7969         * sysdeps/s390/multiarch/ifunc-impl-list.c
7970         (IFUNC_VX_IMPL): New macro function.
7971         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
7972         * benchtests/Makefile (wcsmbs-bench): New variable.
7973         (string-bench-all): Added wcsmbs-bench.
7974         * benchtests/bench-wcslen.c: New File.
7976         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
7977         s390_vx_libc_ifunc2): New macro function.
7979         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
7980         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
7981         assembler support.
7982         * sysdeps/s390/configure: Regenerated.
7984         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
7985         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
7987         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
7988         * sysdeps/s390/dl-procinfo.h: Add vector capability.
7989         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
7991         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7992         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
7993         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
7994         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
7995         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
7996         (memcmp, bcmp): Use __memcmp_default as alias source.
7997         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
7998         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
7999         Rename to __memcmp_default.
8000         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
8001         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
8002         (memcpy): Use __memcpy_default as alias source.
8003         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
8004         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
8005         Rename to __memcpy_default.
8006         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
8007         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
8008         (memset): Use __memset_default as alias source.
8009         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
8010         * sysdeps/s390/s390-32/memset.S (__memset_g5):
8011         Rename to __memset_default.
8012         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
8013         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
8014         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
8015         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
8016         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
8017         (memcmp, bcmp): Use __memcmp_default as alias source.
8018         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
8019         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
8020         Rename to __memcmp_default.
8021         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
8022         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
8023         (memcpy): Use __memcpy_default as alias source.
8024         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
8025         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
8026         Rename to __memcpy_default.
8027         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
8028         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
8029         (memset): Use __memset_default as alias source.
8030         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
8031         * sysdeps/s390/s390-64/memset.S (__memset_z900):
8032         Rename to __memset_default.
8033         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
8034         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
8036         [BZ #18610]
8037         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
8038         __ieee_instruction_pointer to __unused.
8039         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
8040         __ieee_instruction_pointer.
8041         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
8042         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
8043         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8044         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8045         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
8046         Mark dxc-field as reserved.
8048 2015-08-25  Roland McGrath  <roland@hack.frob.com>
8050         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
8051         if the weak reference is not null.
8053 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8055         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
8057         [BZ #11214]
8058         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
8060 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8062         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
8063         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
8064         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
8065         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
8066         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
8067         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
8068         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
8069         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
8070         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
8071         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
8072         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
8073         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
8074         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
8075         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
8076         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
8077         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
8078         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
8079         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
8081 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8083         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
8084         register other than r0 for tabort, it has special meaning.
8085         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
8086         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
8087         transaction before starting syscall.
8089 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8091         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
8093 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8095         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
8097         * sysdeps/x86_64/rtld-memcmp.c: Removed.
8098         * sysdeps/x86_64/rtld-memset.S: Likewise.
8099         * sysdeps/x86_64/rtld-strchr.S: Likewise.
8100         * sysdeps/x86_64/rtld-strlen.S: Likewise.
8101         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
8102         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8104         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
8106 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
8108         * debug/strcpy_chk.c: Improve performance.
8109         * debug/stpcpy_chk.c: Likewise.
8110         * sysdeps/x86_64/strcpy_chk.S: Remove.
8111         * sysdeps/x86_64/stpcpy_chk.S: Remove.
8113         [BZ #18240]
8114         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
8116 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
8118         [BZ #15128]
8119         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
8120         ifuncmain8.
8121         (modules-names): Add ifuncmod8.
8122         ($(objpfx)ifuncmain8): New rule.
8123         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
8124         <cpuid.h>.
8125         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
8126         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
8127         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
8128         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
8129         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
8130         * sysdeps/x86_64/dl-trampoline.h: Likewise.
8131         * sysdeps/x86_64/ifuncmain8.c: New file.
8132         * sysdeps/x86_64/ifuncmod8.c: Likewise.
8133         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
8134         Removed.
8135         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
8136         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
8137         Change rtld_savespace_sse to __glibc_unused2.
8138         (RTLD_CHECK_FOREIGN_CALL): Removed.
8139         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
8140         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
8141         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
8143 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8145         * sysdeps/aarch64/bzero.S (__bzero): Remove.
8147 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
8149         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
8150         Unconditionally set __fpcr to avoid uninialized warning.
8151         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
8153 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8155         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
8156         is corrupt.
8158         * malloc/arena.c (arena_get2): Drop unused argument.
8159         (arena_lock): Adjust.
8160         (arena_get_retry): Likewise.
8162 2015-08-24  Andreas Schwab  <schwab@suse.de>
8164         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
8165         Don't define.
8166         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8167         (__ASSUME_IPC64): Don't undef.
8168         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
8169         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8170         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8171         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
8172         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
8173         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
8174         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
8175         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
8176         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
8177         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
8178         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
8179         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
8180         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
8181         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
8182         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
8183         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
8184         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
8185         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
8186         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
8187         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
8188         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
8190 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
8192         * manual/Makefile (install): Only build manual when perl is available.
8194 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8196         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
8197         '#undef memcpy' by '#undef memchr'.
8199 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8201         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
8202         memchr not point to the internal __GI_memchr implementation.
8204 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8206         * timezone/Makefile (CFLAGS-zdump.c): Remove
8207         -Wno-strict-prototypes.
8208         (CFLAGS-zic.c): Likewise.
8209         (CFLAGS-ialloc.c): Likewise.
8210         (CFLAGS-scheck.c): Likewise.
8212         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
8213         -Wno-error=undef.
8215 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8217         * i386/i686/multiarch/strcasestr-c.c: Removed.
8218         * x86_64/multiarch/strcasestr.c: Likewise.
8219         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8220         Remove strcasestr.
8222 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
8224         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
8226         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
8227         variables for high and low parts before possibly modifying them.
8229 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8231         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
8232         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
8233         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
8234         of "multiarch/init-arch.h".
8235         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
8236         * sysdeps/x86/init-arch.h: This.
8238 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8240         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
8241         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
8243 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
8245         [BZ #17787]
8246         * manual/macros.texi: Add twoexp macro.
8247         * manual/filesys.texi: Fix exponents.
8248         * manual/llio.texi: Likewise.
8249         * manual/stdio.texi: Likewise.
8251 2015-08-20  Florian Weimer  <fweimer@redhat.com>
8253         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
8254         incorrect use.
8256 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8258         [BZ #18370]
8259         * math/s_csqrt.c (__csqrt): Force underflow exception for results
8260         whose real or imaginary part has small absolute value.
8261         * math/s_csqrtf.c (__csqrtf): Likewise.
8262         * math/s_csqrtl.c (__csqrtl): Likewise.
8263         * math/auto-libm-test-in: Add more tests of csqrt.
8264         * math/auto-libm-test-out: Regenerated.
8265         * sysdeps/i386/fpu/libm-test-ulps: Update.
8267 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8269         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
8270         __ppc_set_ppr_very_low): New functions.
8271         * manual/platform.texi: Add documentation about
8272         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
8274 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
8276         * string/stpncpy.c (stpncpy): Improve performance using
8277         __strnlen/memcpy/memset.
8279 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8281         [BZ #18796]
8282         * scripts/test-installation.pl: Don't add -lmvec to build options if
8283         libmvec wasn't built.
8285 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8287         [BZ #14341]
8288         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
8289         case when there is a gap between DT_REL and DT_JMPREL sections.
8290         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
8291         (LDFLAGS-tst-split-dynreloc): New.
8292         (tst-split-dynreloc-ENV): Likewise.
8293         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
8294         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
8296 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8298         [BZ #18822]
8299         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
8300         attribute_hidden.
8301         (__xstat64_conv): Likewise.
8302         (__xstat32_conv): Likewise.
8304 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8306         [BZ #18822]
8307         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
8308         Don't load %ebx when calling __setcontext.  Call __setcontext
8309         with HIDDEN_JUMPTARGET.
8310         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
8311         libc_hidden_def.
8313 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8315         * sysdeps/i386/i686/Makefile
8316         [$(subdir) == string] (sysdep_routines): Moved to ...
8317         * sysdeps/i386/Makefile: Here.
8318         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
8319         * sysdeps/i386/cacheinfo.c: Here.
8320         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
8321         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
8322         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
8323         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
8325 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8327         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
8328         __i586__ is defined.
8329         (HAS_I686): Defined to 1 if __i686__ is defined.
8331 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8333         * elf/Makefile [$(have-z-execstack) = yes]
8334         (CPPFLAGS-tst-execstack.c): New variable.
8336         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
8337         conditional to [defined UTMPX || _HAVE_UT_TYPE].
8338         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
8339         UTMPX || _HAVE_UT_TV].
8340         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
8341         UTMPX || _HAVE_UT_TV - 0].
8343 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
8345         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
8346         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
8347         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
8349 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8351         * sysdeps/powerpc/dl-procinfo.c:
8352         (_dl_powerpc_cap_flags): Added missing strings for some
8353         hwcap features.
8354         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
8356 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
8358         Port the 0x7efe...feff pattern to GCC 6.
8359         See Steve Ellcey's bug report in:
8360         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
8361         * string/memrchr.c (MEMRCHR):
8362         * string/rawmemchr.c (RAWMEMCHR):
8363         * string/strchr.c (strchr):
8364         * string/strchrnul.c (STRCHRNUL):
8365         Rewrite code to avoid issues with signed shift overflow.
8367 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
8369         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
8370         whether cpuid is available only if HAS_CPUID is 0.
8371         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
8372         (HAS_I586): Likewise.
8373         (HAS_I686): Likewise.
8375 2015-08-18  Zack Weinberg  <zackw@panix.com>
8377         * misc/Versions (libc): Add GLIBC_2.23.
8379 2015-08-18  Alan Modra  <amodra@gmail.com>
8381         [BZ #18421]
8382         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
8383         .Lp__global.
8384         (_start): Load %dp via .Lp__global.
8385         [!SHARED]: Use .section .rodata.
8387 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8389         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
8390         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
8392 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8394         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
8395         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
8397 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8399         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
8400         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
8402 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8404         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
8405         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
8407 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8409         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
8410         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
8412 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8414         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
8415         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
8417 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8419         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
8421 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8423         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
8424         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
8425         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8426         (__ASSUME_LWS_CAS): Delete.
8428 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8430         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
8431         * sysdeps/hppa/configure: Regenerated.
8432         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
8433         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
8434         * sysdeps/hppa/nptl/tls.h: Likewise.
8436 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
8438         [BZ #18823]
8439         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
8440         for scaling up small arguments.
8441         * math/s_csqrtf.c (__csqrtf): Likewise.
8442         * math/s_csqrtl.c (__csqrtl): Likewise.
8443         * math/auto-libm-test-in: Add more tests of csqrt.
8444         * math/auto-libm-test-out: Regenerated.
8446 2015-08-17  Andreas Schwab  <schwab@suse.de>
8448         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
8449         version set GLIBC_2.19.
8451 2015-08-16  Zack Weinberg  <zackw@panix.com>
8453         [BZ #18681]
8454         * misc/regexp.h: This interface is no longer supported.
8455         Remove all contents, leaving only an #error directive.
8456         * misc/regexp.c (loc1, loc2, locs, step, advance):
8457         Demote to compatibility symbols.
8459 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
8461         [BZ #18084]
8462         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
8463         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
8464         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8465         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
8466         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
8467         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
8468         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
8469         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
8470         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8472 2015-08-15  Zack Weinberg  <zackw@panix.com>
8474         [BZ #18795]
8475         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
8476         buffer length is known to be too large, not if it's known to be
8477         small enough.
8478         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
8479         overflow at runtime, involving a length parameter, twice: once
8480         with a compile-time constant length parameter, once without.
8482 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
8484         [BZ #18824]
8485         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
8486         scaling x * y up instead of down.
8487         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8488         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8489         * math/auto-libm-test-in: Add more tests of fma.
8490         * math/auto-libm-test-out: Regenerated.
8492 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8494         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8496 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8498         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
8499         unnecessary movq.
8500         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
8501         Likewise.
8503 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
8505         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8506         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
8507         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
8508         and tgamma.
8509         * math/auto-libm-test-out: Regenerated.
8510         * sysdeps/i386/fpu/libm-test-ulps: Update.
8511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8513         [BZ #16520]
8514         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
8515         (__tanh): Force underflow exception for arguments with small
8516         absolute value.
8517         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
8518         (__tanhf): Force underflow exception for arguments with small
8519         absolute value.
8520         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
8521         (__tanhl): Force underflow exception for arguments with small
8522         absolute value.
8523         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
8524         (__tanhl): Force underflow exception for arguments with small
8525         absolute value.
8526         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
8527         (__tanhl): Force underflow exception for arguments with small
8528         absolute value.
8529         * math/auto-libm-test-in: Add more tests of tanh.
8530         * math/auto-libm-test-out: Regenerated.
8531         * sysdeps/i386/fpu/libm-test-ulps: Update.
8533 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8535         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
8536         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
8538 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8540         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
8541         <cpuid.h>.
8543 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8545         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
8546         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
8548 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8550         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
8551         Remove $(objpfx)init-arch.o.
8552         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
8553         init-arch.
8554         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
8555         (INIT_ARCH_EXT): Defined as empty.
8556         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
8557         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
8558         __init_cpu_features call.  Replace HAS_XXX with
8559         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8560         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
8561         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
8562         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
8563         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
8564         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8565         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
8566         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
8567         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8568         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
8569         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
8570         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8571         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
8572         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
8573         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8574         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
8575         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
8576         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8577         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8578         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
8579         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
8580         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8581         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
8582         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
8583         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8584         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
8585         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
8586         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8587         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
8588         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
8589         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8590         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
8591         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
8592         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8593         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
8594         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
8596 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8598         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
8599         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8600         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8601         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8602         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
8603         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
8604         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
8605         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
8606         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
8607         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
8608         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
8609         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
8610         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8611         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8612         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8613         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8614         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8615         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8616         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8617         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8618         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8619         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8620         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8621         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8622         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8623         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8624         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8625         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8626         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8627         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8628         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8629         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8630         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8631         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8632         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8633         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8634         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8635         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8636         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8637         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8638         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8639         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8640         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8642 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8644         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
8645         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8646         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8647         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8648         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8649         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
8650         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8651         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
8652         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8653         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8654         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8655         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
8656         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
8657         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
8658         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
8659         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
8660         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
8661         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
8662         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
8663         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
8664         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8665         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
8666         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
8667         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8668         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8669         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
8670         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
8671         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
8672         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8673         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8674         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8675         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8676         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8677         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8678         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8679         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8680         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8681         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8682         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8683         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8684         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8685         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8686         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8688 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8690         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
8691         (dl_platform_init): Call init_cpu_features.
8692         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
8693         * sysdeps/i386/i686/cacheinfo.c
8694         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
8695         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
8696         * sysdeps/i386/i686/multiarch/Versions: Removed.
8697         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
8698         Removed.
8699         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
8700         * sysdeps/unix/sysv/linux/x86/Makefile
8701         (libpthread-sysdep_routines): Remove init-arch.
8702         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
8703         <sysdeps/x86_64/dl-procinfo.c> instead of
8704         sysdeps/generic/dl-procinfo.c>.
8705         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
8706         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
8707         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
8708         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
8709         [$(subdir) == elf] (tests-static): Add
8710         tst-get-cpu-features-static.
8711         * sysdeps/x86/Versions: New file.
8712         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
8713         * sysdeps/x86/cpu-features.c: Likewise.
8714         * sysdeps/x86/cpu-features.h: Likewise.
8715         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
8716         * sysdeps/x86/libc-start.c: Likewise.
8717         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8718         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
8719         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
8720         * sysdeps/x86_64/dl-procinfo.c: Likewise.
8721         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
8722         Assume USE_MULTIARCH is defined and don't check it.
8723         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
8724         (is_amd): Likewise.
8725         (max_cpuid): Likewise.
8726         (intel_check_word): Likewise.
8727         (__cache_sysconf): Don't call __init_cpu_features.
8728         (__x86_preferred_memory_instruction): Removed.
8729         (init_cacheinfo): Don't call __init_cpu_features. Replace
8730         __cpu_features with GLRO(dl_x86_cpu_features).
8731         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
8732         (dl_platform_init): Call init_cpu_features.
8733         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
8734         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
8735         * sysdeps/x86_64/multiarch/Versions: Removed.
8736         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
8737         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
8738         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
8739         Removed.
8740         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
8742 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8744         [BZ #18820]
8745         * libio/Makefile (test-fmemopen-mem): New test.
8746         * libio/test-fmemopen.c (do_bz18820): New test.
8747         * libio/fmemopen.c (__fmemopen): Fix memory leak.
8748         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
8750 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8752         [BZ #16734]
8753         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
8754         (FREE_BUF): Delete.
8755         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
8756         * libio/genops.c (_IO_setb): Use malloc and free directly.
8757         (_IO_default_doallocate, _IO_default_finish): Likewise.
8758         ( _IO_unbuffer_all): Likewise.
8759         ( libc_freeres_fn): Likewise.
8760         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8761         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8762         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
8763         (_IO_wdefault_doallocate): Likewise.
8765 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8767         [BZ #18086]
8768         * sysdeps/posix/nice.c (nice): Restore old errno.
8769         * posix/tst-nice.c (do_test): Add test for BZ #18086.
8771 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
8773         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
8775 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8777         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
8778         __bcopy and add a weak_alias to bcopy.
8779         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
8780         for static build.
8782         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
8783         cleanup macro usage.
8784         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
8785         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
8786         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8787         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
8788         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8789         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
8790         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
8791         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8792         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8793         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
8794         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8795         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
8796         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8797         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
8798         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8799         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
8800         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
8801         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
8802         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8804         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
8805         libc_hidden_def.
8806         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
8808         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
8809         (sysdep_routines): Add strstr-ppc64.
8810         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
8812 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
8814         [BZ #18778]
8815         * elf/Makefile (tests): Add Add tst-nodelete2.
8816         (modules-names): Add tst-nodelete2mod.
8817         (tst-nodelete2mod.so-no-z-defs): New.
8818         ($(objpfx)tst-nodelete2): Likewise.
8819         ($(objpfx)tst-nodelete2.out): Likewise.
8820         (LDFLAGS-tst-nodelete2): Likewise.
8821         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
8822         out of loop through all loaded libraries.
8823         * elf/tst-nodelete2.c: New file.
8824         * elf/tst-nodelete2mod.c: Likewise.
8825         * elf/tst-znodelete-zlib.cc: Delete.
8827 2015-08-11  Andreas Schwab  <schwab@suse.de>
8829         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
8830         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
8831         (__openat64_nocancel): Likewise.
8833 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
8835         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
8836         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
8837         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
8838         * math/auto-libm-test-out: Regenerated.
8839         * sysdeps/i386/fpu/libm-test-ulps: Update.
8840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8842 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8844         [BZ #18790]
8845         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
8846         threshold for returning +/- 1.
8847         * math/auto-libm-test-in: Add more tests of tanh.
8848         * math/auto-libm-test-out: Regenerated.
8849         * sysdeps/i386/fpu/libm-test-ulps: Update.
8851 2015-08-10  Andreas Schwab  <schwab@suse.de>
8853         [BZ #18781]
8854         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
8855         MORE_OFLAGS to oflag.
8856         * io/test-lfs.c (do_test): Test openat64.
8858 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8860         [BZ #18789]
8861         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
8862         smaller threshold for returning the argument.
8863         * math/auto-libm-test-in: Add more tests of sinh.
8864         * math/auto-libm-test-out: Regenerated.
8865         * sysdeps/i386/fpu/libm-test-ulps: Update.
8867 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
8869         [BZ #18674]
8870         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
8871         break.
8873 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8875         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
8876         (generated): Don't add $(addprefix z.,$(tzfiles)).
8878 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8880         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
8881         * scripts/sysd-rules.awk: Likewise.
8883 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8885         * iconvdata/tst-tables.sh: Change echo -n to printf.
8886         * nss/db-Makefile: Likewise.
8887         * posix/tst-getconf.sh: Likewise.
8888         * stdio-common/tst-unbputc.sh: Likewise.
8890 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8892         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
8893         MADV_*_PAGES defines behind this feature check.
8895 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
8897         [BZ #18480]
8898         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
8899         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
8900         Define.
8901         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
8902         LOAD_REGS_5, LOAD_REGS_6): Update.
8903         (INTERNAL_SYSCALL): Update using new LOAD defines.
8904         (INTERNAL_SYSCALL_NCS): Likewise.
8905         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
8907 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8909         [BZ #16734]
8910         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
8912 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8914         [BZ #17905]
8915         * catgets/Makefile (tst-catgets-mem): New test.
8916         * catgets/catgets.c (catopen): Don't use unbounded alloca.
8917         * catgets/open_catalog.c (__open_catalog): Likewise.
8918         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
8920 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
8922         [BZ #18787]
8923         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
8924         clobber registers.
8925         (atomic_compare_and_exchange_val_acq): Use register asms to assign
8926         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
8927         Cast return to __typeof (oldval).
8929 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
8931         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
8932         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
8933         and delete sys/syscall.h include.
8935 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
8937         [BZ #16517]
8938         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
8939         (tan): Force underflow exception for arguments with small absolute
8940         value.
8941         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
8942         (__kernel_tanf): Force underflow exception for arguments with
8943         small absolute value.
8944         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
8945         (__kernel_tanl): Force underflow exception for arguments with
8946         small absolute value.
8947         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
8948         (__kernel_tanl): Force underflow exception for arguments with
8949         small absolute value.
8950         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
8951         (__kernel_tanl): Force underflow exception for arguments with
8952         small absolute value.
8953         * math/auto-libm-test-in: Add more tests of tan.
8954         * math/auto-libm-test-out: Regenerated.
8956 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8958         Fix sysdeps/i386/fpu/s_scalbn.S build
8960         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
8962 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
8964         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8966 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8968         Fix gcrt0.o compilation
8970         When static-start-installed-name is different from
8971         start-installed-name, we must not use the shared objects.
8973         * csu/Makefile
8974         (extra-objs): Add gmon-start.o when building shared library and
8975         $(static-start-installed-name) is different from
8976         $(start-installed-name).
8977         $(objpfx)g$(static-start-installed-name): When building shared
8978         library and $(static-start-installed-name) is different from
8979         $(static-start-installed-name), revert to non-shared rule,
8980         i.e. using $(objpfx)% and gmon-start.o.
8982 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
8984         [BZ #16519]
8985         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
8986         (__ieee754_sinh): Force underflow exception for arguments with
8987         small absolute value.
8988         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
8989         (__ieee754_sinhf): Force underflow exception for arguments with
8990         small absolute value.
8991         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
8992         (__ieee754_sinhl): Force underflow exception for arguments with
8993         small absolute value.
8994         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
8995         (__ieee754_sinhl): Force underflow exception for arguments with
8996         small absolute value.
8997         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
8998         (__ieee754_sinhl): Force underflow exception for arguments with
8999         small absolute value.
9000         * math/auto-libm-test-in: Add more tests of sinh.
9001         * math/auto-libm-test-out: Regenerated.
9002         * sysdeps/i386/fpu/libm-test-ulps: Update.
9004 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9006         * libio/oldfileops.c: Include unistd.h.
9008 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
9010         * stdlib/isomac.c: Include ctype.h.
9012 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
9014         * dirent/tst-seekdir.c (main): Converted to ...
9015         (do_test): ... this.
9016         (TEST_FUNCTION): New macro.
9017         Include test-skeleton.c.
9018         * elf/tst-dlmodcount.c (main): Converted to ...
9019         (do_test): ... this.
9020         (TEST_FUNCTION): New macro.
9021         Include test-skeleton.c.
9022         * elf/tst-order-main.c (main): Converted to ...
9023         (do_test): ... this.
9024         (TEST_FUNCTION): New macro.
9025         Include test-skeleton.c.
9026         * elf/tst-pie2.c (main): Converted to ...
9027         (do_test): ... this.
9028         (TEST_FUNCTION): New macro.
9029         Include test-skeleton.c.
9030         * inet/tst-ether_aton.c (main): Converted to ...
9031         (do_test): ... this.
9032         (TEST_FUNCTION): New macro.
9033         Include test-skeleton.c.
9034         * misc/tst-mntent.c (main): Converted to ...
9035         (do_test): ... this.
9036         (TEST_FUNCTION): New macro.
9037         Include test-skeleton.c.
9038         * misc/tst-tsearch.c (main): Converted to ...
9039         (do_test): ... this.
9040         (TEST_FUNCTION): New macro.
9041         Include test-skeleton.c.
9042         * posix/tst-regexloc.c (main): Converted to ...
9043         (do_test): ... this.
9044         (TEST_FUNCTION): New macro.
9045         Include test-skeleton.c.
9046         * resolv/tst-aton.c (main): Converted to ...
9047         (do_test): ... this.
9048         (TEST_FUNCTION): New macro.
9049         Include test-skeleton.c.
9050         * stdio-common/test-fwrite.c (main): Converted to ...
9051         (do_test): ... this.
9052         (TEST_FUNCTION): New macro.
9053         Include test-skeleton.c.
9054         * stdio-common/tst-ferror.c (main): Converted to ...
9055         (do_test): ... this.
9056         (TEST_FUNCTION): New macro.
9057         Include test-skeleton.c.
9058         * stdio-common/tst-printf.c (main): Converted to ...
9059         (do_test): ... this.
9060         (TEST_FUNCTION): New macro.
9061         Include test-skeleton.c.
9062         * stdio-common/tst-printfsz.c (main): Converted to ...
9063         (do_test): ... this.
9064         (TEST_FUNCTION): New macro.
9065         Include test-skeleton.c.
9066         * stdlib/tst-strtod.c (main): Converted to ...
9067         (do_test): ... this.
9068         (TEST_FUNCTION): New macro.
9069         Include test-skeleton.c.
9070         * string/tst-strlen.c (main): Converted to ...
9071         (do_test): ... this.
9072         (TEST_FUNCTION): New macro.
9073         Include test-skeleton.c.
9074         * string/tst-svc.c (main): Converted to ...
9075         (do_test): ... this.
9076         (TEST_FUNCTION): New macro.
9077         Include test-skeleton.c.
9078         * time/tst-strptime.c (main): Converted to ...
9079         (do_test): ... this.
9080         (TEST_FUNCTION): New macro.
9081         Include test-skeleton.c.
9082         * timezone/tst-timezone.c (main): Converted to ...
9083         (do_test): ... this.
9084         (TEST_FUNCTION): New macro.
9085         Include test-skeleton.c.
9087 2015-08-05  Zack Weinberg  <zackw@panix.com>
9089         * misc/regexp.h: Update comments.
9091 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
9093         [BZ #18635]
9094         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
9095         before return label.
9097 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9099         [BZ #18661]
9100         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
9101         when calling __errno_location.
9102         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
9103         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
9105 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9107         [BZ #18661]
9108         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
9109         (__lll_timedwait_tid): Align stack to 16 bytes when calling
9110         __gettimeofday.
9112 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9114         [BZ #18661]
9115         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9116         (__start_context): Don't use pop to restore %rdi so that stack
9117         is aligned to 16 bytes when calling __setcontext.
9119 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9121         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
9122         only for libc.
9123         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9125 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9127         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
9128         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
9129         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
9131 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9133         * string/memccpy.c (memccpy):
9134         Improve performance by using memchr/memcpy/__mempcpy.
9136 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9138         * string/strncpy.c (strncpy):
9139         Improve performance by using __strnlen/memcpy.
9141 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9143         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9144         Optimize to avoid an unnecessary FPCR read.
9146 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
9148         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9149         Optimize to reduce FPCR/FPSR accesses.
9151 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
9153         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
9154         dead->data[category] != NULL.
9156 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
9158         [BZ #18647]
9159         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
9160         and |x| close to 1, use absolute value of x when computing log.
9161         * math/auto-libm-test-in: Add more tests of pow.
9162         * math/auto-libm-test-out: Regenerated.
9164 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9166         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
9167         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
9168         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
9170 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
9172         [BZ #18525]
9173         * locales/km_KH: Remove timezone definition.
9174         * locales/lo_LA: Likewise.
9175         * locales/my_MM: Likewise.
9176         * locales/nan_TW@latin: Likewise.
9177         * locales/th_TH: Likewise.
9178         * locales/uk_UA: Likewise.
9180 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
9182         [BZ #18265]
9183         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
9184         (wcsncat): Likewise.
9185         (wcscmp): Likewise.
9186         (wcsncmp): Likewise.
9188 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9190         * test-skeleton.c (usage): New function.
9191         (main): Call usage when opt is '?'.
9193 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9195         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
9196         before first use.
9198 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
9200         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
9201         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
9202         in there too.
9204 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
9206         * version.h (RELEASE): Set to "development".
9207         (VERSION): Set to "2.22.90"
9209         * version.h (RELEASE): Set to "stable".
9210         (VERSION): Set to "2.22"
9211         * include/features.h (__GLIBC_MINOR__): Set to 22.
9213 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
9215         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
9216         Restructure macro to avoid "value computed is not used" warning.
9217         (atomic_compare_and_exchange_val_acq): Likewise.
9219 2015-08-04  Andreas Schwab  <schwab@suse.de>
9221         [BZ #18635]
9222         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
9223         ret.
9224         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
9226 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
9228         * po/pl.po: Updated translation.
9229         * po/uk.po: Likewise.
9230         * po/fi.po: Likewise.
9231         * po/ko.po: Likewise.
9232         * po/ru.po: Likewise.
9233         * po/vi.po: Likewise.
9235 2015-07-31  Zack Weinberg  <zackw@panix.com>
9237         [BZ #18681]
9238         * regexp.h: Add unconditional #warning stating that this header
9239         will be removed soon.  Revise banner comment to match.
9240         (compile): Consistently use ERROR instead of RETURN to report
9241         errors (partial fix for bz#18681).
9242         * regexp.c: Don't include regexp.h. Remove some unnecessary
9243         declarations.
9245 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
9247         * po/libc.pot: Regenerated.
9249 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9251         [BZ #18740]
9252         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
9253         float-vlen4-arch-ext-cflags): Removed.
9254         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
9255         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
9257 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9259         [BZ #14113]
9260         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
9261         aligned to __aligned__.
9262         (pthread_cond_t, pthread_rwlock_t): Likewise.
9264 2015-07-30  Torvald Riegel  <triegel@redhat.com>
9266         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
9268 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9270         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
9271         (struct sigaction): Change sa_flags from a long to an int, and add
9272         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
9274 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9276         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
9277         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
9278         sysdeps/generic/sysdep.h include.
9279         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
9280         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
9281         sysdeps/hppa/sysdep.h.
9282         (ENTRY, PSEUDO): Undefine before defining.
9284 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9286         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
9287         from scratch to use INTERNAL_SYSCALL.
9289 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
9291         [BZ #18078]
9292         * scripts/check-localplt.awk: Support alternate relocations.
9293         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
9294         sections.
9295         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
9296         malloc entries with + REL R_386_GLOB_DAT.
9297         * sysdeps/x86_64/localplt.data: New file.
9299 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
9301         [BZ #18731]
9302         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
9303         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9304         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9306 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9308         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
9310 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9312         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
9313         directly in terms of __sync_fetch_and_add and delete (int) cast.
9315 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9317         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
9318         the -D_ASM_IA64_CURRENT_H flag.
9320 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9322         [BZ #18641]
9323         * pwd/pwd.h (putpwent): Delete __nonnull markings.
9325 2015-07-27  Andreas Schwab  <schwab@suse.de>
9327         * conform/conformtest.pl (checknamespace): Filter out string
9328         literals while tokenizing.
9330 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9332         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9333         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
9334         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9336 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9338         * nptl/tst-join7mod.c: Add #include <string.h>.
9340 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9342         * sysdeps/nios2/libm-test-ulps: Update.
9344 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9346         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
9347         Fix order of arguments to the rt_sigprocmask syscall.
9348         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
9349         Likewise.
9351 2015-07-24  Roland McGrath  <roland@hack.frob.com>
9353         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
9355 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9357         [BZ #18457]
9358         * nptl/Makefile (tests): New test case tst-join7.
9359         (modules-names): New test case module tst-join7mod.
9360         * nptl/tst-join7.c: New file.
9361         * nptl/tst-join7mod.c: New file.
9362         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
9363         all translation units in libc.so, libpthread.so and rtld.
9365 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9369 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9371         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
9372         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9373         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9374         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9375         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9376         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9377         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9378         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9379         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9380         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9381         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9382         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9383         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
9384         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
9385         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
9386         implementation.
9388 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9390         [BZ #17711]
9391         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9392         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
9393         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9394         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9395         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
9396         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9398 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9400         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
9401         instead of just saying load lock in the comments.
9403 2015-07-23  Roland McGrath  <roland@hack.frob.com>
9405         * sysdeps/unix/Subdirs: Moved ...
9406         * sysdeps/posix/Subdirs: ... here.
9407         * login/pty.h (struct termios, struct winsize): Add forward decls.
9408         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
9409         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
9410         * sysdeps/arm/nacl/libc.abilist: Updated.
9411         * sysdeps/nacl/libutil.abilist: New file.
9413         * bits/signum.h: Update comments to mention 1003.1-2013 too.
9414         (SIGWINCH): New macro.
9416         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
9417         * sysdeps/arm/nacl/libc.abilist: Add it.
9419 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9421         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
9423 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9425         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9426         Swap __glibc_reserved0 and sa_flags order.
9428 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9430         [BZ #18657]
9431         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
9432         are pending TLS destructor calls.
9433         * include/link.h (struct link_map): Add concurrency note for
9434         L_TLS_DTOR_COUNT.
9435         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9436         Don't touch the link map flag.  Atomically increment
9437         l_tls_dtor_count.
9438         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
9439         Avoid taking the load lock and don't touch the link map flag.
9440         * stdlib/tst-tls-atexit-nodelete.c: New test case.
9441         * stdlib/Makefile (tests): Use it.
9442         * stdlib/tst-tls-atexit.c (do_test): dlopen
9443         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
9444         to allow tst-tls-atexit-nodelete test case to use it.
9446 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9448         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
9449         to bits/types.h.
9450         (msgqnum_t): New typedef.
9451         (msglen_t): Likewise.
9452         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
9453         and msg_qbytes type to msglen_t.
9455 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9457         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
9458         pad0 to __glibc_reserved0.
9459         (struct stat64): Likewise.
9461 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9463         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9464         Change sa_flags from a long to an int and add __glibc_reserved0 before
9465         it for padding.
9467 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9469         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
9470         anonymous by deleting "siginfo" name.
9472 2015-07-21  Roland McGrath  <roland@hack.frob.com>
9474         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
9475         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
9476         rather than __nacl_irt_filename.
9477         * sysdeps/nacl/xstat.c (__xstat): Likewise.
9479         * NEWS: New item for arm-nacl port.
9480         * sysdeps/arm/nacl/libc.abilist: New file.
9481         * sysdeps/nacl/ld.abilist: New file.
9482         * sysdeps/nacl/libBrokenLocale.abilist: New file.
9483         * sysdeps/nacl/libanl.abilist: New file.
9484         * sysdeps/nacl/libcrypt.abilist: New file.
9485         * sysdeps/nacl/libdl.abilist: New file.
9486         * sysdeps/nacl/libm.abilist: New file.
9487         * sysdeps/nacl/libpthread.abilist: New file.
9488         * sysdeps/nacl/libresolv.abilist: New file.
9489         * sysdeps/nacl/librt.abilist: New file.
9491 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
9493         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
9494         __startcontext to initialize the new context.
9495         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
9496         up CFI directive to forbid further backtracing.
9498 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
9500         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
9501         reference.
9502         * charmaps/ANSI_X3.4-1968: Likewise.
9503         * charmaps/BS_4730: Likewise.
9504         * charmaps/BS_VIEWDATA: Likewise.
9505         * charmaps/CP1250: Likewise.
9506         * charmaps/CP1251: Likewise.
9507         * charmaps/CP1252: Likewise.
9508         * charmaps/CP1253: Likewise.
9509         * charmaps/CP1254: Likewise.
9510         * charmaps/CP1255: Likewise.
9511         * charmaps/CP1256: Likewise.
9512         * charmaps/CSN_369103: Likewise.
9513         * charmaps/EBCDIC-DK-NO: Likewise.
9514         * charmaps/GB_1988-80: Likewise.
9515         * charmaps/GREEK-CCITT: Likewise.
9516         * charmaps/GREEK7: Likewise.
9517         * charmaps/INIS-8: Likewise.
9518         * charmaps/ISIRI-3342: Likewise.
9519         * charmaps/ISO_2033-1983: Likewise.
9520         * charmaps/ISO_5427-EXT: Likewise.
9521         * locales/POSIX: Likewise.
9522         * locales/ar_SA: Likewise.
9523         * locales/be_BY: Likewise.
9524         * locales/be_BY@latin: Likewise.
9525         * locales/ca_ES: Likewise.
9526         * locales/cs_CZ: Likewise.
9527         * locales/da_DK: Likewise.
9528         * locales/de_BE: Likewise.
9529         * locales/de_CH: Likewise.
9530         * locales/de_LU: Likewise.
9531         * locales/en_AU: Likewise.
9532         * locales/en_BW: Likewise.
9533         * locales/en_CA: Likewise.
9534         * locales/en_DK: Likewise.
9535         * locales/en_GB: Likewise.
9536         * locales/en_IE: Likewise.
9537         * locales/en_NZ: Likewise.
9538         * locales/en_ZA: Likewise.
9539         * locales/en_ZW: Likewise.
9540         * locales/es_AR: Likewise.
9541         * locales/es_BO: Likewise.
9542         * locales/es_CL: Likewise.
9543         * locales/es_CO: Likewise.
9544         * locales/es_DO: Likewise.
9545         * locales/es_EC: Likewise.
9546         * locales/es_ES: Likewise.
9547         * locales/es_HN: Likewise.
9548         * locales/es_MX: Likewise.
9549         * locales/es_PA: Likewise.
9550         * locales/es_PE: Likewise.
9551         * locales/es_PY: Likewise.
9552         * locales/es_SV: Likewise.
9553         * locales/es_US: Likewise.
9554         * locales/es_UY: Likewise.
9555         * locales/es_VE: Likewise.
9556         * locales/et_EE: Likewise.
9557         * locales/fa_IR: Likewise.
9558         * locales/fo_FO: Likewise.
9559         * locales/fr_CA: Likewise.
9560         * locales/fr_CH: Likewise.
9561         * locales/gv_GB: Likewise.
9562         * locales/he_IL: Likewise.
9563         * locales/hr_HR: Likewise.
9564         * locales/id_ID: Likewise.
9565         * locales/is_IS: Likewise.
9566         * locales/it_CH: Likewise.
9567         * locales/iw_IL: Likewise.
9568         * locales/kl_GL: Likewise.
9569         * locales/ko_KR: Likewise.
9570         * locales/kw_GB: Likewise.
9571         * locales/lg_UG: Likewise.
9572         * locales/lt_LT: Likewise.
9573         * locales/lv_LV: Likewise.
9574         * locales/mi_NZ: Likewise.
9575         * locales/nhn_MX: Likewise.
9576         * locales/nl_BE: Likewise.
9577         * locales/pl_PL: Likewise.
9578         * locales/sk_SK: Likewise.
9579         * locales/sl_SI: Likewise.
9580         * locales/sv_FI: Likewise.
9581         * locales/tl_PH: Likewise.
9582         * locales/tr_TR: Likewise.
9583         * locales/vi_VN: Likewise.
9585 2015-07-21  Khem Raj  <raj.khem@gmail.com>
9587         [BZ #17475]
9588         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
9589         of tu_IN and bh_IN.
9591 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
9593         [BZ #18694]
9594         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
9595         bits/wordsize.h.
9596         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
9598 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9600         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
9601         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
9602         (spawn_thread): New function.
9603         (load): Rename to reg_dtor_and_close.  Move dlopen to...
9604         (do_test): ... here.  Use IS_LOADED to test for its
9605         availability.
9607 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
9609         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9611 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
9613         [BZ #18696]
9614         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
9615         si_addr_bnd.
9616         (si_lower): New.
9617         (si_upper): Likewise.
9619 2015-07-16  David S. Miller  <davem@davemloft.net>
9621         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9623 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9625         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
9626         buffer.
9627         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
9628         fail output information.
9630 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
9633         and strstr-ppc64..
9634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9635         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
9636         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
9637         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
9638         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
9640 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9642         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9643         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9644         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9645         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9647 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9649         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9650         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
9651         rtld_hidden_proto.
9652         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
9654 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9656         * tst-nodelete-opened.c (do_test): Add comment to clarify how
9657         the test can fail.
9659         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
9661         [BZ #18676]
9662         * elf/tst-nodelete-opened.c: New test case.
9663         * elf/tst-nodelete-opened-lib.c: New test case module.
9664         * elf/Makefile (tests, modules-names): Use them.
9665         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
9666         early.
9668 2015-07-15  David S. Miller  <davem@davemloft.net>
9670         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
9671         futex-intenal.h
9672         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
9673         * sysdeps/sparc/sparc64/Makefile: Likewise.
9674         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9675         Remove space from macro define.
9676         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
9678 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
9680         [BZ #17475]
9681         * locale/iso-639.def: Update Bhili and Tulu language codes as
9682         per iso639-3.
9684 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
9686         * elf/tst-leaks1.c (main): Converted to ...
9687         (do_test): ... this.
9688         (TEST_FUNCTION): New macro.
9689         Include test-skeleton.c.
9690         * localedata/tst-langinfo.c (main): Converted to ...
9691         (do_test): ... this.
9692         (TEST_FUNCTION): New macro.
9693         Include test-skeleton.c.
9694         * math/test-fpucw.c (main): Converted to ...
9695         (do_test): ... this.
9696         (TEST_FUNCTION): New macro.
9697         Include test-skeleton.c.
9698         * math/test-tgmath.c (main): Converted to ...
9699         (do_test): ... this.
9700         (TEST_FUNCTION): New macro.
9701         Include test-skeleton.c.
9702         * math/test-tgmath2.c (main): Converted to ...
9703         (do_test): ... this.
9704         (TEST_FUNCTION): New macro.
9705         Include test-skeleton.c.
9706         * setjmp/tst-setjmp.c (main): Converted to ...
9707         (do_test): ... this.
9708         (TEST_FUNCTION): New macro.
9709         Include test-skeleton.c.
9710         * stdio-common/tst-sscanf.c (main): Converted to ...
9711         (do_test): ... this.
9712         (TEST_FUNCTION): New macro.
9713         Include test-skeleton.c.
9714         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
9715         (do_test): ... this.
9716         (TEST_FUNCTION): New macro.
9717         Include test-skeleton.c.
9719         * elf/tst-audit9.c (main): Converted to ...
9720         (do_test): ... this.
9721         (TEST_FUNCTION): New macro.
9722         Include test-skeleton.c.
9724 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
9726         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
9728 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9730         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
9731         New variable.
9733 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9735         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9737 2015-07-14  Roland McGrath  <roland@hack.frob.com>
9739         * sysdeps/generic/dl-fileid.h: New file.
9740         * sysdeps/posix/dl-fileid.h: New file.
9741         * sysdeps/nacl/dl-fileid.h: New file.
9742         * include/link.h: Include <dl-fileid.h>.
9743         (struct link_map): Replace l_dev and l_ino with l_file_id.
9744         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
9745         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
9746         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
9748 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9750         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
9752 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9754         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
9755         Add iff $CXX is set.
9756         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
9757         Likewise.
9758         (tst-nodelete-zmodiff): Likewise.
9759         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
9761 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9763         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
9765 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9767         * sysdeps/aarch64/fpu/math_private.h
9768         (define math_opt_barrier): Add AArch64 version.
9769         (math_force_eval): Likewise.
9771 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9773         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
9775 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
9777         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
9778         %ld with %jd and cast to intmax_t.
9779         (do_test_length_zero): Likewise.
9781 2015-07-10  Roland McGrath  <roland@hack.frob.com>
9783         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
9785 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
9787         * sysdeps/tile/libm-test-ulps: Regenerated.
9789         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
9790         Comment out the whole function, not just its body.
9792 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9794         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
9795         locks.
9797         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
9799 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9801         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
9802         (sem_assume_only_signals_cause_futex_EINTR): Remove.
9804 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9806         * sysdeps/nptl/futex-internal.h: New file.
9807         * sysdeps/nacl/futex-internal.h: New file.
9808         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
9809         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
9810         error checking.
9811         (setxid_unmark_thread): Likewise.
9812         (__nptl_setxid): Likewise.
9813         (__wait_lookup_done): Likewise.
9814         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
9815         * nptl/nptl-init.c (sighandler_setxid): Likewise.
9816         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
9817         * nptl/pthread_once.c (clear_once_control): Likewise.
9818         (__pthread_once_slow): Likewise.
9819         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9820         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
9821         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
9822         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9823         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
9824         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
9825         Likewise.
9826         (__pthread_rwlock_rdlock): Likewise.
9827         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9828         Likewise.
9829         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9830         Likewise.
9831         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9832         Likewise.
9833         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
9834         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
9835         Likewise.
9836         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
9837         __ASSUME_PRIVATE_FUTEX check.
9838         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
9839         Check that shared futexes are supported.
9840         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
9841         wrappers with error checking.
9842         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
9843         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
9844         * nptl/pthread_barrierattr_setpshared.c
9845         (pthread_barrierattr_setpshared): Check that shared futexes are
9846         supported.
9847         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
9848         Likewise.
9849         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
9850         Likewise.
9851         * nptl/sem_init.c (futex_private_if_supported): Remove.
9852         (__new_sem_init): Adapt and check that shared futexes are supported.
9853         * nptl/sem_open.c (sem_open): Likewise.
9854         * nptl/sem_post.c (futex_wake): Remove.
9855         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
9856         (do_futex_wait): Use futex wrappers with error checking.
9857         * nptl/sem_wait.c: Include lowlevellock.h.
9858         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
9859         Use futex_supports_pshared.
9860         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
9861         Use futex wrappers with error checking.
9862         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
9863         Likewise.
9864         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
9865         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
9866         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
9867         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
9868         (futex_wake): Likewise.
9869         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
9870         (do_futex_wait): Use futex wrappers with error checking.
9871         (__new_sem_wait_slow): Update EINTR handling.
9872         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
9874 2015-07-09  Martin Sebor  <msebor@redhat.com>
9876         [BZ #18435]
9877         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9878         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
9879         * nptl/Makefile (test-xfail-tst-once5): Define.
9881 2015-07-09  Roland McGrath  <roland@hack.frob.com>
9883         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
9884         * elf/dl-minimal.c: For readability, reorder some definitions and
9885         introduce more page breaks.  Include <stdio.h>.
9886         (__libc_fatal): New function.
9888         * include/unistd.h: Add rtld_hidden_proto for _exit.
9889         * posix/_exit.c: Add rtld_hidden_def.
9890         * sysdeps/mach/hurd/_exit.c: Likewise.
9891         * sysdeps/nacl/_exit.c: Likewise.
9892         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
9893         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
9895 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
9897         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
9898         bndmov encoding with zero displacement.
9900 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9901             H.J. Lu  <hongjiu.lu@intel.com>
9903         [BZ #18134]
9904         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
9905         * sysdeps/i386/configure: Regenerated.
9906         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9907         (_dl_runtime_profile): Save and restore Intel MPX return bound
9908         registers when calling _dl_call_pltexit.  Add
9909         PRESERVE_BND_REGS_PREFIX before return.
9910         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
9911         (LRV_BND1_OFFSET): Likewise.
9912         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
9913         lrv_bnd1.
9914         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
9915         typo in bndmov encoding.
9916         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
9917         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
9918         branch instructions to preserve bounds.
9920 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9923         [GLIBC_2.22]: Add fmemopen.
9925 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9927         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
9928         returns an error, also try to use host port from __mach_host_self for
9929         the __vm_wire call.
9930         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
9932 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9934         [BZ #18400]
9935         [BZ #18648]
9936         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
9937         Fix pr_uid and pr_gid members.
9938         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
9939         definition to elf_greg_t.
9941 2015-07-08  Roland McGrath  <roland@hack.frob.com>
9943         [BZ #18383]
9944         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
9945         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
9946         * sysdeps/arm/configure: Regenerated.
9947         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
9948         (test-xfail-tst-tlsalign-static): Variable removed.
9950         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
9951         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
9952         rather than explicit 'ln -s'.
9954         * resolv/rpc/netdb.h: New file.
9955         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
9957 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9959         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
9960         length buffers.
9961         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9962         test-skeleton.c.
9964         [BZ #6544]
9965         [BZ #11216]
9966         [BZ #12836]
9967         [BZ #13151]
9968         [BZ #13152]
9969         [BZ #14292]
9970         * include/stdio.h (fmemopen): Remove hidden prototype.
9971         (__fmemopen): Add new hidden prototype.
9972         * libio/Makefile: Add oldfmemopen object.
9973         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
9974         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
9975         compliance.
9976         * libio/oldfmemopen.c: New file: old fmemopen implementation for
9977         symbol compatibility.
9978         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
9979         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
9980         fmemopen.
9981         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
9982         on append and read mode.
9983         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
9984         fmemopen.
9985         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
9986         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
9987         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
9988         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
9989         Likewise.
9990         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9991         [GLIBC_2.22]: Likewise.
9992         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
9993         Likewise.
9994         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
9995         Likewise.
9996         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9997         [GLIBC_2.22]: Likewise.
9998         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9999         [GLIBC_2.22]: Likewise.
10000         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10001         [GLIBC_2.22]: Likewise.
10002         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10003         [GLIBC_2.22]: Likewise.
10004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10005         [GLIBC_2.22]: Likewise.
10006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10007         [GLIBC_2.22]: Likewise.
10008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10009         [GLIBC_2.22]: Likewise.
10010         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
10011         Likewise.
10012         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
10013         Likewise.
10014         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
10015         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10016         [GLIBC_2.22]: Likewise.
10017         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10018         [GLIBC_2.22]: Likewise.
10019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10020         [GLIBC_2.22]: Likewise.
10021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10022         [GLIBC_2.22]: Likewise.
10023         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
10024         Likewise.
10025         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
10026         Likewise.
10027         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
10028         Likewise.
10029         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
10030         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
10032 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10034         [BZ #18643]
10035         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
10036         IPV6_PATHMTU, and IPV6_DONTFRAG.
10038 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
10040         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
10041         and _IO_UNBUFFERED.
10042         * libio/oldfileops.c: Likewise.
10043         * libio/wfileops.c: Likewise.
10045 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10047         * nscd/selinux.c: Delete selinux/flask.h include.
10049 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
10051         [BZ #18641]
10052         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
10053         (putpwent): Likewise.
10054         (getpwnam): Likewise.
10055         (getpwent_r): Likewise.
10056         (getpwuid_r): Likewise.
10057         (getpwnam_r): Likewise.
10058         (fgetpwent_r): Likewise.
10060 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
10062         [BZ #18557]
10063         * inet/rcmd.c (__validuser2_sa): Check user first to
10064         short-circuit host check.
10066 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
10067             Mikhail Ilin  <m.ilin@samsung.com>
10069         [BZ #17833]
10070         * elf/Makefile (tests): Add tst-nodelete.
10071         (modules-names): Add tst-nodelete-uniquemod.
10072         (tst-nodelete-uniquemod.so-no-z-defs): New.
10073         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
10074         (tst-nodelete-zmod.so-no-z-defs): Likewise.
10075         ($(objpfx)tst-nodelete): Likewise.
10076         ($(objpfx)tst-nodelete.out): Likewise.
10077         (LDFLAGS-tst-nodelete): Likewise.
10078         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
10079         * elf/dl-close.c (_dl_close_worker): Add a parameter to
10080         implement forced object deletion.
10081         (_dl_close): Pass false to _dl_close_worker.
10082         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
10083         * elf/tst-nodelete.cc: New file.
10084         * elf/tst-nodeletelib.cc: Likewise.
10085         * elf/tst-znodeletelib.cc: Likewise.
10086         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
10088 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10090         [BZ #18508]
10091         * stdlib/Makefile ($(objpfx)tst-makecontext3):
10092         Depend on $(libdl).
10093         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
10094         is not called infinitely times.
10095         (backtrace_helper): New function.
10096         (trace_arg): New struct.
10097         (st1): Enlarge stack size.
10098         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10099         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
10100         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10101         Likewise.
10103 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10105         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10107 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10109         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
10110         Include sys/types.h instead of bits/types.h.
10111         Remove inclusion of bits/wordsize.h.
10113 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10115         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
10116         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
10117         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
10118         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
10119         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
10120         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
10122 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10124         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
10125         link-defines.sym.
10126         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
10127         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
10128         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
10129         and LR_SIZE.
10130         * sysdeps/i386/link-defines.sym: New file.
10132 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10134         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
10135         (modules-names): Add tst-auditmod3a tst-auditmod3b.
10136         ($(objpfx)tst-audit3): New rule.
10137         ($(objpfx)tst-audit3.out): Likewise.
10138         * sysdeps/i386/tst-audit3.c: New file.
10139         * sysdeps/i386/tst-audit3.h: Likewise.
10140         * sysdeps/i386/tst-auditmod3a.c: Likewise.
10141         * sysdeps/i386/tst-auditmod3b.c: Likewise.
10143 2015-07-07  Torvald Riegel  <triegel@redhat.com>
10145         [BZ #18633]
10146         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
10147         pointer in C code.
10148         (__strcat_c): Likewise.
10149         (__strcat_g): Likewise.
10151 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
10153         [BZ #18592]
10154         * misc/sbrk.c: Set errno to ENOMEM on overflow.
10156 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10158         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
10159         New function.  (__ieee754_sqrtf): New function.
10160         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
10161         New function.
10162         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
10163         New function.
10165 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
10167         * sysdeps/ieee754/support.c: Remove unused file.
10169 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10171         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
10172         registers instead of d ones so the layout is kernel abi compatible.
10173         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
10174         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
10175         Likewise.
10177 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10179         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10181 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10183         [BZ #18619]
10184         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
10185         and return argument in case of subnormal argument.
10187 2015-07-01  Martin Sebor  <msebor@redhat.com>
10189         [BZ #18435]
10190         * nptl/Makefile: Add tst-once5.cc.
10191         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10192         Remove macro redefinitions.
10193         * nptl/tst-once5.cc: New test.
10195 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
10197         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10199         * sysdeps/arm/libm-test-ulps: Regenerated.
10201         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10202         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10204 2015-06-30  Torvald Riegel  <triegel@redhat.com>
10206         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
10207         lll_lock_wait_private and lll_futex_wake probes.
10209         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10210         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
10211         Likewise.
10212         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
10213         atomic_spin_nop.
10214         * sysdeps/x86_64/bits/atomic.h: Likewise.
10215         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
10216         to atomic_spin_nop and move ...
10217         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10218         ... here and ...
10219         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
10220         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10221         atomic_spin_nop instead of BUSY_WAIT_NOP.
10222         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
10223         Likewise.
10224         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
10225         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10226         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
10227         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
10228         instead of atomic_delay.
10230 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
10232         [BZ #18613]
10233         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
10234         X_ADJ not X when adjusting exponent.
10235         (__ieee754_gamma_r): Do intermediate computations in
10236         round-to-nearest then adjust overflowing and underflowing results
10237         as needed.
10238         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
10239         of X_ADJ not X when adjusting exponent.
10240         (__ieee754_gammaf_r): Do intermediate computations in
10241         round-to-nearest then adjust overflowing and underflowing results
10242         as needed.
10243         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
10244         log of X_ADJ not X when adjusting exponent.
10245         (__ieee754_gammal_r): Do intermediate computations in
10246         round-to-nearest then adjust overflowing and underflowing results
10247         as needed.  Use 1.0L not 1.0f as numerator of division.
10248         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
10249         log of X_ADJ not X when adjusting exponent.
10250         (__ieee754_gammal_r): Do intermediate computations in
10251         round-to-nearest then adjust overflowing and underflowing results
10252         as needed.  Use 1.0L not 1.0f as numerator of division.
10253         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
10254         of X_ADJ not X when adjusting exponent.
10255         (__ieee754_gammal_r): Do intermediate computations in
10256         round-to-nearest then adjust overflowing and underflowing results
10257         as needed.  Use 1.0L not 1.0f as numerator of division.
10258         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
10259         to auto-libm-test-in.
10260         (tgamma_test): Use ALL_RM_TEST.
10261         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
10262         tests of tgamma with spurious-overflow.
10263         * math/auto-libm-test-out: Regenerated.
10264         * math/gen-libm-have-vector-test.sh: Do not check for START.
10265         * sysdeps/i386/fpu/libm-test-ulps: Update.
10266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10268         [BZ #18612]
10269         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
10270         arguments, just return 0.5 times the argument, with underflow
10271         forced as needed.
10272         * math/auto-libm-test-in: Add more tests of j1.
10273         * math/auto-libm-test-out: Regenerated.
10275         [BZ #16559]
10276         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
10277         (__ieee754_j1): Force underflow exception for small results.
10278         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10279         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
10280         (__ieee754_j1f): Force underflow exception for small results.
10281         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10282         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10283         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10284         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
10285         (__ieee754_j1l): Force underflow exception for small results.
10286         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10287         * math/auto-libm-test-in: Add more tests of j1 and jn.
10288         * math/auto-libm-test-out: Regenerated.
10290         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
10291         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
10292         (PF_MPLS): Likewise.
10293         (AF_IB): Likewise.
10294         (AF_MPLS): Likewise.
10295         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
10296         value and macro.
10297         (MS_RMT_MASK): Include MS_LAZYTIME.
10299 2015-06-26  Mel Gorman  <mgorman@suse.de>
10301         [BZ #18502]
10302         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
10303         already minimal.
10305 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
10307         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
10308         (DT_MIPS_NUM): Update.
10309         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
10310         DT_MIPS_RLD_MAP_REL.
10312 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
10314         [BZ #16559]
10315         [BZ #18602]
10316         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
10317         round-to-nearest internally then recompute results that
10318         underflowed to zero in the original rounding mode.
10319         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10320         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10321         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10322         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
10323         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
10324         * sysdeps/i386/fpu/libm-test-ulps: Update.
10325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10327 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
10329         * NEWS: Fixed description of link with vector math library.
10331 2015-06-25  Andreas Schwab  <schwab@suse.de>
10333         [BZ #18549]
10334         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
10335         * libio/test-fmemopen.c (do_test): Add test for it.
10337 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
10339         [BZ #17841]
10340         * Makeconfig (no-pie-ldflag): New.
10341         (+link): Set to $(+link-pie) if default to PIE.
10342         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
10343         * config.make.in (build-pie-default): New.
10344         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
10345         is default.  AC_SUBST.
10346         * configure: Regenerated.
10347         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
10349 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10351         * nptl/descr.h (struct pthread): Change type of field setxid_futex
10352         to 'unsigned int'.
10354         * resolv/gai_misc.h (struct waitlist): Change type of field
10355         counterp to 'volatile unsigned int *'.
10356         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
10357         FUTEXADDR and OLDVAL.
10358         * resolv/getaddrinfo_a.c (getaddrinfo_a):
10359         Give local variable TOTAL type 'volatile unsigned int'.
10360         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10361         * resolv/gai_suspend.c (gai_suspend):
10362         Give local variable CNTR type 'unsigned int'.
10364         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
10365         counterp to 'volatile unsigned int *'.
10366         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
10367         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
10368         (aio_suspend): Give local variable CNTR type 'unsigned int'.
10369         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
10370         Give local variable TOTAL type 'volatile unsigned int'.
10371         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10373 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10375         [BZ #18383]
10376         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
10377         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
10378         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
10379         comment for i386/x86-64.
10380         (test-xfail-tst-tlsalign-extern-static): Removed.
10382 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10384         * math/test-double.h: New file.
10385         * math/test-float.h: Likewise.
10386         * math/test-ldouble.h: Likewise.
10387         * math/test-math-inline.h: Likewise.
10388         * math/test-math-no-inline.h: Likewise.
10389         * math/test-math-scalar.h: Likewise.
10390         * math/test-math-vector.h: Likewise.
10391         * math/test-vec-loop.h: Remove file.  Contents moved into
10392         test-math-vector.h.
10393         * math/libm-test.inc (MATHCONST): Do not document macro.
10394         * math/test-double.c: Include test-double.h, test-math-no-inline.h
10395         and test-math-scalar.h.
10396         (FUNC): Remove macro.
10397         (FUNC_TEST): Likewise.
10398         (FLOAT): Likewise.
10399         (MATHCONST): Likewise.
10400         (PRINTF_EXPR): Likewise.
10401         (PRINTF_XEXPR): Likewise.
10402         (PRINTF_NEXPR): Likewise.
10403         (TEST_DOUBLE): Likewise.
10404         (TEST_MATHVEC): Likewise.
10405         (__NO_MATH_INLINES): Likewise.
10406         * math/test-float.c: Include test-float.h, test-math-no-inline.h
10407         and test-math-scalar.h.
10408         (FUNC): Remove macro.
10409         (FUNC_TEST): Likewise.
10410         (FLOAT): Likewise.
10411         (MATHCONST): Likewise.
10412         (PRINTF_EXPR): Likewise.
10413         (PRINTF_XEXPR): Likewise.
10414         (PRINTF_NEXPR): Likewise.
10415         (TEST_FLOAT): Likewise.
10416         (TEST_MATHVEC): Likewise.
10417         (__NO_MATH_INLINES): Likewise.
10418         * math/test-idouble.c: Include test-double.h, test-math-inline.h
10419         and test-math-scalar.h.
10420         (FUNC): Remove macro.
10421         (FUNC_TEST): Likewise.
10422         (FLOAT): Likewise.
10423         (MATHCONST): Likewise.
10424         (PRINTF_EXPR): Likewise.
10425         (PRINTF_XEXPR): Likewise.
10426         (PRINTF_NEXPR): Likewise.
10427         (TEST_DOUBLE): Likewise.
10428         (TEST_MATHVEC): Likewise.
10429         (TEST_INLINE): Likewise.
10430         (__NO_MATH_INLINES): Likewise.
10431         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
10432         test-math-scalar.h.
10433         (FUNC): Remove macro.
10434         (FUNC_TEST): Likewise.
10435         (FLOAT): Likewise.
10436         (MATHCONST): Likewise.
10437         (PRINTF_EXPR): Likewise.
10438         (PRINTF_XEXPR): Likewise.
10439         (PRINTF_NEXPR): Likewise.
10440         (TEST_FLOAT): Likewise.
10441         (TEST_MATHVEC): Likewise.
10442         (TEST_INLINE): Likewise.
10443         (__NO_MATH_INLINES): Likewise.
10444         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
10445         and test-math-scalar.h.
10446         (FUNC): Remove macro.
10447         (FUNC_TEST): Likewise.
10448         (FLOAT): Likewise.
10449         (MATHCONST): Likewise.
10450         (PRINTF_EXPR): Likewise.
10451         (PRINTF_XEXPR): Likewise.
10452         (PRINTF_NEXPR): Likewise.
10453         (TEST_LDOUBLE): Likewise.
10454         (TEST_MATHVEC): Likewise.
10455         (TEST_INLINE): Likewise.
10456         (__NO_MATH_INLINES): Likewise.
10457         * math/test-ldouble.c: Include test-ldouble.h,
10458         test-math-no-inline.h and test-math-scalar.h.
10459         (FUNC): Remove macro.
10460         (FUNC_TEST): Likewise.
10461         (FLOAT): Likewise.
10462         (MATHCONST): Likewise.
10463         (PRINTF_EXPR): Likewise.
10464         (PRINTF_XEXPR): Likewise.
10465         (PRINTF_NEXPR): Likewise.
10466         (TEST_LDOUBLE): Likewise.
10467         (TEST_MATHVEC): Likewise.
10468         (__NO_MATH_INLINES): Likewise.
10469         * math/test-double-vlen2.h: Include test-double.h,
10470         test-math-no-inline.h and test-math-vector.h.
10471         (FLOAT): Remove macro.
10472         (FUNC): Likewise.
10473         (MATHCONST): Likewise.
10474         (PRINTF_EXPR): Likewise.
10475         (PRINTF_XEXPR): Likewise.
10476         (PRINTF_NEXPR): Likewise.
10477         (TEST_DOUBLE): Likewise.
10478         (TEST_MATHVEC): Likewise.
10479         (__NO_MATH_INLINES): Likewise.
10480         (CNCT): Likewise.
10481         (CONCAT): Likewise.
10482         (WRAPPER_NAME): Likewise.
10483         (WRAPPER_DECL): Likewise.
10484         (WRAPPER_DECL_ff): Likewise.
10485         (WRAPPER_DECL_fFF): Likewise.
10486         (VECTOR_WRAPPER): Likewise.
10487         (VECTOR_WRAPPER_ff): Likewise.
10488         (VECTOR_WRAPPER_fFF): Likewise.
10489         (VEC_LEN): New macro.
10490         * math/test-double-vlen4.h: Include test-double.h,
10491         test-math-no-inline.h and test-math-vector.h.
10492         (FLOAT): Remove macro.
10493         (FUNC): Likewise.
10494         (MATHCONST): Likewise.
10495         (PRINTF_EXPR): Likewise.
10496         (PRINTF_XEXPR): Likewise.
10497         (PRINTF_NEXPR): Likewise.
10498         (TEST_DOUBLE): Likewise.
10499         (TEST_MATHVEC): Likewise.
10500         (__NO_MATH_INLINES): Likewise.
10501         (CNCT): Likewise.
10502         (CONCAT): Likewise.
10503         (WRAPPER_NAME): Likewise.
10504         (WRAPPER_DECL): Likewise.
10505         (WRAPPER_DECL_ff): Likewise.
10506         (WRAPPER_DECL_fFF): Likewise.
10507         (VECTOR_WRAPPER): Likewise.
10508         (VECTOR_WRAPPER_ff): Likewise.
10509         (VECTOR_WRAPPER_fFF): Likewise.
10510         (VEC_LEN): New macro.
10511         * math/test-double-vlen8.h: Include test-double.h,
10512         test-math-no-inline.h and test-math-vector.h.
10513         (FLOAT): Remove macro.
10514         (FUNC): Likewise.
10515         (MATHCONST): Likewise.
10516         (PRINTF_EXPR): Likewise.
10517         (PRINTF_XEXPR): Likewise.
10518         (PRINTF_NEXPR): Likewise.
10519         (TEST_DOUBLE): Likewise.
10520         (TEST_MATHVEC): Likewise.
10521         (__NO_MATH_INLINES): Likewise.
10522         (CNCT): Likewise.
10523         (CONCAT): Likewise.
10524         (WRAPPER_NAME): Likewise.
10525         (WRAPPER_DECL): Likewise.
10526         (WRAPPER_DECL_ff): Likewise.
10527         (WRAPPER_DECL_fFF): Likewise.
10528         (VECTOR_WRAPPER): Likewise.
10529         (VECTOR_WRAPPER_ff): Likewise.
10530         (VECTOR_WRAPPER_fFF): Likewise.
10531         (VEC_LEN): New macro.
10532         * math/test-float-vlen4.h: Include test-float.h,
10533         test-math-no-inline.h and test-math-vector.h.
10534         (FLOAT): Remove macro.
10535         (FUNC): Likewise.
10536         (MATHCONST): Likewise.
10537         (PRINTF_EXPR): Likewise.
10538         (PRINTF_XEXPR): Likewise.
10539         (PRINTF_NEXPR): Likewise.
10540         (TEST_FLOAT): Likewise.
10541         (TEST_MATHVEC): Likewise.
10542         (__NO_MATH_INLINES): Likewise.
10543         (CNCT): Likewise.
10544         (CONCAT): Likewise.
10545         (WRAPPER_NAME): Likewise.
10546         (WRAPPER_DECL): Likewise.
10547         (WRAPPER_DECL_ff): Likewise.
10548         (WRAPPER_DECL_fFF): Likewise.
10549         (VECTOR_WRAPPER): Likewise.
10550         (VECTOR_WRAPPER_ff): Likewise.
10551         (VECTOR_WRAPPER_fFF): Likewise.
10552         (VEC_LEN): New macro.
10553         * math/test-float-vlen8.h: Include test-float.h,
10554         test-math-no-inline.h and test-math-vector.h.
10555         (FLOAT): Remove macro.
10556         (FUNC): Likewise.
10557         (MATHCONST): Likewise.
10558         (PRINTF_EXPR): Likewise.
10559         (PRINTF_XEXPR): Likewise.
10560         (PRINTF_NEXPR): Likewise.
10561         (TEST_FLOAT): Likewise.
10562         (TEST_MATHVEC): Likewise.
10563         (__NO_MATH_INLINES): Likewise.
10564         (CNCT): Likewise.
10565         (CONCAT): Likewise.
10566         (WRAPPER_NAME): Likewise.
10567         (WRAPPER_DECL): Likewise.
10568         (WRAPPER_DECL_ff): Likewise.
10569         (WRAPPER_DECL_fFF): Likewise.
10570         (VECTOR_WRAPPER): Likewise.
10571         (VECTOR_WRAPPER_ff): Likewise.
10572         (VECTOR_WRAPPER_fFF): Likewise.
10573         (VEC_LEN): New macro.
10574         * math/test-float-vlen16.h: Include test-float.h,
10575         test-math-no-inline.h and test-math-vector.h.
10576         (FLOAT): Remove macro.
10577         (FUNC): Likewise.
10578         (MATHCONST): Likewise.
10579         (PRINTF_EXPR): Likewise.
10580         (PRINTF_XEXPR): Likewise.
10581         (PRINTF_NEXPR): Likewise.
10582         (TEST_FLOAT): Likewise.
10583         (TEST_MATHVEC): Likewise.
10584         (__NO_MATH_INLINES): Likewise.
10585         (CNCT): Likewise.
10586         (CONCAT): Likewise.
10587         (WRAPPER_NAME): Likewise.
10588         (WRAPPER_DECL): Likewise.
10589         (WRAPPER_DECL_ff): Likewise.
10590         (WRAPPER_DECL_fFF): Likewise.
10591         (VECTOR_WRAPPER): Likewise.
10592         (VECTOR_WRAPPER_ff): Likewise.
10593         (VECTOR_WRAPPER_fFF): Likewise.
10594         (VEC_LEN): New macro.
10595         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
10596         test-vec-loop.h.
10597         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10598         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10599         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10600         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10601         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10602         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10603         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10605 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10607         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
10608         (__getlogin_r): ... this.
10610 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10612         [BZ #18594]
10613         * math/s_ccosh.c (__ccosh): Compare with least normal value
10614         instead of comparing class with FP_SUBNORMAL.
10615         * math/s_ccoshf.c (__ccoshf): Likewise.
10616         * math/s_ccoshl.c (__ccoshl): Likewise.
10617         * math/s_cexp.c (__cexp): Likewise.
10618         * math/s_cexpf.c (__cexpf): Likewise.
10619         * math/s_cexpl.c (__cexpl): Likewise.
10620         * math/s_csin.c (__csin): Likewise.
10621         * math/s_csinf.c (__csinf): Likewise.
10622         * math/s_csinh.c (__csinh): Likewise.
10623         * math/s_csinhf.c (__csinhf): Likewise.
10624         * math/s_csinhl.c (__csinhl): Likewise.
10625         * math/s_csinl.c (__csinl): Likewise.
10626         * math/s_ctan.c (__ctan): Likewise.
10627         * math/s_ctanf.c (__ctanf): Likewise.
10628         * math/s_ctanh.c (__ctanh): Likewise.
10629         * math/s_ctanhf.c (__ctanhf): Likewise.
10630         * math/s_ctanhl.c (__ctanhl): Likewise.
10631         * math/s_ctanl.c (__ctanl): Likewise.
10632         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
10633         csin, csinh, ctan and ctanh.
10634         * math/auto-libm-test-out: Regenerated.
10635         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
10636         * sysdeps/i386/fpu/libm-test-ulps: Update.
10637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10639 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10641         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
10642         return value is wrong, print the expected value too.
10644 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10646         [BZ #18585]
10647         * elf/readlib.c (is_gdb_python_file): New.
10648         (process_file): Don't issue errors on filenames with -gdb.py
10649         suffix.
10651 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10653         * math/auto-libm-test-in: Add more tests of csin and csinh.
10654         * math/auto-libm-test-out: Regenerated.
10655         * math/libm-test.inc (csin_test_data): Remove tests moved to
10656         auto-libm-test-in.
10657         (csinh_test_data): Likewise.
10659         [BZ #18593]
10660         * math/s_csin.c (__csin): Negate before rather than after possibly
10661         overflowing multiplication.
10662         * math/s_csinf.c (__csinf): Likewise.
10663         * math/s_csinh.c (__csinh): Likewise.
10664         * math/s_csinhf.c (__csinhf): Likewise.
10665         * math/s_csinhl.c (__csinhl): Likewise.
10666         * math/s_csinl.c (__csinl): Likewise.
10667         * math/auto-libm-test-in: Add some tests of csin and csinh.
10668         * math/auto-libm-test-out: Regenerated.
10669         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
10670         (csinh_test_data): Likewise.
10671         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10673         [BZ #18586]
10674         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
10675         underflow exception for small results.
10677 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10679         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10680         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
10681         variable and included header.
10682         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
10683         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
10684         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
10685         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
10686         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
10687         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10688         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10689         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
10690         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
10691         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
10692         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
10693         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
10694         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
10695         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
10696         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
10697         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
10699 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10701         [BZ #16526]
10702         [BZ #16538]
10703         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
10704         (__sin): Force underflow exception for arguments with small
10705         absolute value.
10706         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
10707         (__kernel_sinf): Force underflow exception for arguments with
10708         small absolute value.
10709         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
10710         (__kernel_sincosl): Force underflow exception for arguments with
10711         small absolute value.
10712         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
10713         (__kernel_sinl): Force underflow exception for arguments with
10714         small absolute value.
10715         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
10716         (__kernel_sincosl): Force underflow exception for arguments with
10717         small absolute value.
10718         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
10719         (__kernel_sinl): Force underflow exception for arguments with
10720         small absolute value.
10721         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
10722         (__kernel_sinl): Force underflow exception for arguments with
10723         small absolute value.
10724         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
10725         (__kernel_sinf): Force underflow exception for arguments with
10726         small absolute value.
10727         * math/auto-libm-test-in: Add more tests of sin and sincos.
10728         * math/auto-libm-test-out: Regenerated.
10730         [BZ #18245]
10731         [BZ #18583]
10732         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
10733         (__kernel_standard_l): Use feholdexcept and fesetenv around
10734         conversion to double instead of special-casing overflow and
10735         underflow.
10736         * math/libm-test.inc (fmod_test_data): Add more tests.
10737         (remainder_test_data): Likewise.
10738         (sqrt_test_data): Likewise.
10740 2015-06-23  Torvald Riegel  <triegel@redhat.com>
10742         [BZ #17403]
10743         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
10744         atomic_read_barrier, atomic_write_barrier): Define.
10745         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
10746         atomic_read_barrier, atomic_write_barrier): Define.
10748 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10750         * math/Makefile [$(PERL) != no]
10751         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
10752         dependency on libm-test.stmp below the inclusion of Rules.
10754 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
10756         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10757         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
10758         and included header.
10759         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
10760         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
10761         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
10762         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
10763         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
10764         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
10765         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10766         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10767         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
10768         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
10769         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
10770         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
10771         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
10772         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
10773         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
10774         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
10775         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
10776         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
10777         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
10779 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10781         [BZ #18371]
10782         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
10783         intermediate but not final result might underflow.
10784         * math/s_csqrtf.c (__csqrtf): Likewise.
10785         * math/s_csqrtl.c (__csqrtl): Likewise.
10786         * math/auto-libm-test-in: Add more tests of csqrt.
10787         * math/auto-libm-test-out: Regenerated.
10788         * sysdeps/i386/fpu/libm-test-ulps: Update.
10790         [BZ #18219]
10791         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
10792         threshold on absolute value of exponent for which scaling is used.
10793         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10794         * math/auto-libm-test-in: Add more tests of exp2.
10795         * math/auto-libm-test-out: Regenerated.
10797 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
10799         [BZ #17977]
10800         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
10801         when initializing interface list, based on the bug analysis
10802         and the patch proposed by Eric Newton.
10803         * resolv/tst-res_hconf_reorder.c: New test.
10804         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
10805         tst-res_hconf_reorder.
10806         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
10807         and $(shared-thread-library).
10808         (tst-res_hconf_reorder-ENV): New variable.
10810         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
10811         in comment.
10813 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
10815         [BZ #16353]
10816         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
10817         (__expm1): Force underflow exception for arguments with small
10818         absolute value.
10819         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
10820         (__expm1f): Force underflow exception for arguments with small
10821         absolute value.
10822         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
10823         (__expm1): Force underflow exception for arguments with small
10824         absolute value.
10825         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
10826         (__expm1f): Force underflow exception for arguments with small
10827         absolute value.
10828         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10829         Check for small arguments before calling __expm1.
10830         * math/auto-libm-test-in: Do not mark underflow exceptions as
10831         possibly missing for bug 16353.
10832         * math/auto-libm-test-out: Regenerated.
10834 2015-06-22  Andreas Schwab  <schwab@suse.de>
10836         [BZ #18513]
10837         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
10838         PTR queries.
10840 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
10842         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
10844         * string/strcoll_l.c: Remove unused struct element idxnow.
10846 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
10848         [BZ #18569]
10849         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
10850         underflow and return argument in case of subnormal argument.
10851         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10852         Likewise.
10853         * math/auto-libm-test-in: Add more tests of expm1.
10854         * math/auto-libm-test-out: Regenerated.
10856         [BZ #16361]
10857         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10858         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10859         tiny results.
10860         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10861         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10862         tiny results.
10863         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
10864         mark underflow exceptions as possibly missing for bug 16361.
10865         * math/auto-libm-test-out: Regenerated.
10867 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
10869         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
10870         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
10871         Remove variable.
10872         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10873         (test-xfail-XOPEN2K8/utmpx.h/conform).
10875         * conform/conformtest.pl ($xerrors): New variable.
10876         (note_error): New function.
10877         (compiletest): New argument $xfail.  Use not_error.
10878         (runtest): Likewise.
10879         (top level): Handle xfail- lines.  Update calls to compiletest and
10880         runtest.  Handle xfail- and optional- in headers listed with
10881         allow-header.
10882         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
10883         (O_EXEC): Likewise.
10884         (O_SEARCH): Likewise.
10885         * conform/data/stropts.h-data (ioctl): Likewise.
10886         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
10887         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
10888         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
10889         (msghdr.msg_controllen): Likewise.
10890         (cmsghdr.cmsg_len): Likewise.
10891         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
10892         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
10893         variable.
10894         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10895         (test-xfail-XPG4/stropts.h/conform): Likewise.
10896         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10897         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10898         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10899         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10900         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10901         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10902         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10903         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10904         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10905         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10906         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10907         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10908         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10909         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10910         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10911         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10912         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10913         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10914         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10916 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10918         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
10919         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
10920         definitions for proper unfolding of __MATHDECL_VEC.
10922 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10924         * benchtests/bench-strcoll.c:
10925         Include string.h.
10926         (main): Remove unused variable res.
10928 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10930         * timezone/Makefile (%/UTC %/Universal):
10931         Generate test-result files for UTC and Universal.
10933 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10935         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10937 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
10939         [BZ #16350]
10940         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
10941         for arguments with small absolute value.
10942         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
10943         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
10944         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
10945         (__asinh): Force underflow exception for arguments with small
10946         absolute value.
10947         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
10948         (__asinhf): Force underflow exception for arguments with small
10949         absolute value.
10950         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
10951         (__asinhl): Force underflow exception for arguments with small
10952         absolute value.
10953         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
10954         (__asinhl): Force underflow exception for arguments with small
10955         absolute value.
10956         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
10957         (__asinhl): Force underflow exception for arguments with small
10958         absolute value.
10959         * math/auto-libm-test-in: Do not mark underflow exceptions as
10960         possibly missing for bug 16350.
10961         * math/auto-libm-test-out: Regenerated.
10963         * include/bits/ipc.h: Remove file.
10964         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
10965         variable.
10966         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10967         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10968         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10969         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10970         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10971         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10972         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10973         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10974         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10976         * math/auto-libm-test-in: Remove spurious underflow allowance for
10977         tests of cexp.
10978         * math/auto-libm-test-out: Regenerated.
10980         [BZ #18558]
10981         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
10982         unconditional definition.
10983         (MCAST_BLOCK_SOURCE): Likewise.
10984         (MCAST_UNBLOCK_SOURCE): Likewise.
10985         (MCAST_LEAVE_GROUP): Likewise.
10986         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10987         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10988         (MCAST_MSFILTER): Likewise.
10989         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
10990         Remove variable.
10991         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10992         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10993         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10994         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10995         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10997 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
10999         * NEWS: Mention addition of x86_64 vector sincosf.
11000         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
11001         * math/test-float-vlen4.h: Likewise.
11002         * math/test-float-vlen8.h: Likewise.
11003         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11004         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
11005         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11006         * sysdeps/x86_64/fpu/Versions: New versions added.
11007         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11008         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11009         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11010         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
11011         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11012         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
11013         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11014         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
11015         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11016         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
11017         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
11018         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
11019         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
11020         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
11021         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
11022         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
11023         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
11024         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11025         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11026         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11027         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11028         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11029         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11030         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11032         * NEWS: Mention addition of x86_64 vector sincos.
11033         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
11034         * math/math.h (__MATHDECL_VEC): New macro.
11035         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
11036         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
11037         declaration under condition.
11038         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
11039         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
11040         TEST_VEC_LOOP change.
11041         * math/test-double-vlen4.h: Likewise.
11042         * math/test-double-vlen8.h: Likewise.
11043         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
11044         * math/test-float-vlen4.h: Likewise.
11045         * math/test-float-vlen8.h: Likewise.
11046         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11047         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
11048         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11049         * sysdeps/x86_64/fpu/Versions: New versions added.
11050         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11051         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11052         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11053         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
11054         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
11055         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
11056         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
11057         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
11058         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
11059         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
11060         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
11061         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
11062         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
11063         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
11064         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
11065         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
11066         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
11067         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11068         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11069         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11070         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11071         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11072         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11073         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11075         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11076         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11077         redirections for powf.
11078         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11079         * sysdeps/x86_64/fpu/Versions: New versions added.
11080         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11081         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11082         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11083         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
11084         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
11085         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
11086         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
11087         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
11088         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
11089         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
11090         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
11091         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
11092         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
11093         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
11094         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
11095         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
11096         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
11097         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11098         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11099         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11100         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11101         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11102         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11103         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11104         * math/test-float-vlen16.h: Fixed 2 argument macro.
11105         * math/test-float-vlen4.h: Likewise.
11106         * math/test-float-vlen8.h: Likewise.
11107         * NEWS: Mention addition of x86_64 vector powf.
11109 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
11111         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11112         and redefine.
11113         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11114         and redefine.
11115         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
11116         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11117         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11119         [BZ #18553]
11120         * resource/getpriority.c (getpriority): Rename to __getpriority
11121         and define as weak alias of __getpriority.
11122         * resource/setpriority.c (setpriority): Rename to __setpriority
11123         and define as weak alias of __setpriority.
11124         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
11125         __getpriority and define as weak alias of __getpriority.
11126         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
11127         __setpriority and define as weak alias of __setpriority.
11128         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
11129         strong name.
11130         (setpriority): Use __setpriority as strong name.
11131         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
11132         __getpriority and define as weak alias of __getpriority.
11133         * include/sys/resource.h (__getpriority): Declare.  Use
11134         libc_hidden_proto.
11135         (__setpriority): Likewise.
11136         (getpriority): Don't use libc_hidden_proto.
11137         (setpriority): Likewise.
11138         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
11139         getpriority.  Call __setpriority instead of setpriority.
11140         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
11141         Remove variable.
11143         [BZ #18547]
11144         * misc/getttyent.c (getttynam): Rename to __getttynam and define
11145         as weak alias of __getttynam.  Use prototype function definition.
11146         Call __setttyent, __getttyent and __endttyent instead of
11147         setttyent, getttyent and endttyent.
11148         (getttyent): Rename to __getttyent and define as weak alias of
11149         __getttyent.  Call __setttyent instead of setttyent.  Call
11150         __fgets_unlocked instead of fgets_unlocked.
11151         (setttyent): Rename to __setttyent and define as weak alias of
11152         __setttyent.
11153         (endttyent): Rename to __endttyent and define as weak alias of
11154         __endttyent.
11155         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
11156         (__setttyent): Likewise.
11157         (__endttyent): Likewise.
11158         (getttyent): Don't use libc_hidden_proto.
11159         (setttyent): Likewise.
11160         (endttyent): Likewise.
11161         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
11162         __endttyent instead of setttyent, getttyent and endttyent.
11163         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
11164         Remove variable.
11166         [BZ #18546]
11167         * socket/recv.c (__recv): Use libc_hidden_def.
11168         * socket/socket.c (__socket): Likewise.
11169         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11170         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11171         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
11172         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
11173         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
11174         libc_hidden_def.
11175         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
11176         libc_hidden_weak.
11177         * include/sys/socket.h (__socket): Do not use attribute_hidden.
11178         Use libc_hidden_proto.
11179         (__recv): Likewise.
11180         * socket/Versions (libc): Export __recv and __socket at version
11181         GLIBC_PRIVATE.
11182         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
11183         instead of recv.
11184         (init_mq_netlink): Call __socket instead of socket.
11185         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
11186         Remove variable.
11188         [BZ #18545]
11189         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
11190         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
11191         hidden_weak.
11192         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
11193         define as alias of __mq_timedsend.  Use hidden_weak.
11194         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
11195         __mq_timedsend as strong name.
11196         (mq_timedreceive): Use __mq_timedreceive as strong name.
11197         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
11198         (__mq_timedreceive): Likewise.
11199         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
11200         __mq_timedreceive instead of mq_timedreceive.
11201         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
11202         instead of mq_timedsend.
11203         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
11204         Remove variable.
11206         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
11207         hidden_def and hidden_weak instead of libc_hidden_def and
11208         libc_hidden_weak.
11209         (top level): Refer to hidden_def in comment.
11210         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
11211         macro.  Use it instead of libc_hidden_def.
11212         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
11213         specify __GI_* name explicitly.
11214         (mq_timedreceive): Likewise.
11215         (mq_setattr): Likewise.
11217         [BZ #18544]
11218         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
11219         __pthread_barrier_init and define as weak alias of
11220         __pthread_barrier_init.
11221         * sysdeps/sparc/nptl/pthread_barrier_init.c
11222         (pthread_barrier_init): Likewise.
11223         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
11224         __pthread_barrier_wait and define as weak alias of
11225         __pthread_barrier_wait.
11226         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11227         (pthread_barrier_wait): Likewise.
11228         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11229         (pthread_barrier_wait): Likewise.
11230         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
11231         (pthread_barrier_wait): Likewise.
11232         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
11233         (pthread_barrier_wait): Likewise.
11234         * nptl/Versions (libpthread): Export __pthread_barrier_init and
11235         __pthread_barrier_wait at version GLIBC_PRIVATE.
11236         * include/pthread.h (__pthread_barrier_init): Declare.
11237         (__pthread_barrier_wait): Likewise.
11238         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
11239         Call __pthread_barrier_wait instead of pthread_barrier_wait.
11240         (helper_thread): Likewise.
11241         (init_mq_netlink): Call __pthread_barrier_init instead of
11242         pthread_barrier_init.
11244         [BZ #18542]
11245         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
11246         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
11247         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
11248         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
11249         vswscanf.
11250         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
11251         Remove variable.
11253         [BZ #18540]
11254         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
11255         strong alias of _IO_fflush.  Use libc_hidden_def.
11256         * libio/iofflush_u.c (fflush_unlocked): Rename to
11257         __fflush_unlocked and define as weak alias of __fflush_unlocked.
11258         Use libc_hidden_weak.
11259         * include/stdio.h (__fflush_unlocked): Declare.  Use
11260         libc_hidden_proto.
11261         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
11262         fflush_unlocked.
11263         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
11264         Remove variable.
11266         [BZ #18539]
11267         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
11268         define as weak alias of __addseverity.
11269         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
11270         Remove variable.
11271         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11272         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11273         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11275         [BZ #18536]
11276         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
11277         (__tfind): Likewise.
11278         (__tdelete): Likewise.
11279         (__twalk): Likewise.
11280         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
11281         __twalk to GLIBC_PRIVATE.
11282         * include/search.h (__tsearch): Use libc_hidden_proto.
11283         (__tfind): Likewise.
11284         (__tdelete): Likewise.
11285         (__twalk): Likewise.
11286         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
11287         Call __tdelete instead of tdelete.
11288         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
11289         tfind.  Call __tsearch instead of tsearch.
11290         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
11291         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
11292         Remove variable.
11293         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11295         [BZ #18534]
11296         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
11297         (dprintf): Define as a weak alias of __dprintf, not a strong
11298         alias.
11299         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
11300         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
11301         dprintf.
11302         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
11303         Remove variable.
11304         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11305         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11307         [BZ #18533]
11308         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
11309         not a strong alias.
11310         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
11311         Remove variable.
11313         [BZ #18532]
11314         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
11315         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
11316         (in6addr_loopback): Rename to __in6addr_loopback and define as
11317         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
11318         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
11319         libc_hidden_proto.
11320         (__in6addr_any): Likewise.
11321         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
11322         in6addr_any.
11323         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
11324         variable.
11325         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11327 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11329         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
11330         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
11331         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11332         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11333         redirections for pow.
11334         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11335         * sysdeps/x86_64/fpu/Versions: New versions added.
11336         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11337         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11338         build of SSE, AVX2 and AVX512 IFUNC versions.
11339         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
11340         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
11341         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
11342         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
11343         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
11344         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
11345         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
11346         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
11347         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
11348         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
11349         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
11350         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
11351         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
11352         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
11353         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11354         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11355         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11356         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11357         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11358         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11359         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11360         * NEWS: Mention addition of x86_64 vector pow.
11362         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11363         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11364         redirections for expf.
11365         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11366         * sysdeps/x86_64/fpu/Versions: New versions added.
11367         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11368         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11369         build of SSE, AVX2 and AVX512 IFUNC versions.
11370         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
11371         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
11372         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
11373         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
11374         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
11375         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
11376         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
11377         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
11378         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
11379         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
11380         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
11381         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
11382         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
11383         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11384         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11385         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11386         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11387         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11388         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11389         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11390         * NEWS: Mention addition of x86_64 vector expf.
11392         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
11393         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
11394         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11395         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11396         redirections for exp.
11397         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11398         * sysdeps/x86_64/fpu/Versions: New versions added.
11399         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11400         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11401         build of SSE, AVX2 and AVX512 IFUNC versions.
11402         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
11403         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
11404         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
11405         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
11406         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
11407         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
11408         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
11409         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
11410         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
11411         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
11412         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
11413         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
11414         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
11415         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11416         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11417         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11418         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11419         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11420         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11421         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11422         * NEWS: Mention addition of x86_64 vector exp.
11424         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11425         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11426         redirections for logf.
11427         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11428         * sysdeps/x86_64/fpu/Versions: New versions added.
11429         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11430         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11431         build of SSE, AVX2 and AVX512 IFUNC versions.
11432         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
11433         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
11434         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
11435         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
11436         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
11437         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
11438         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
11439         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
11440         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
11441         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
11442         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
11443         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
11444         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
11445         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11446         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11447         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11448         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11449         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11450         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11451         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11452         * NEWS: Mention addition of x86_64 vector logf.
11454         * bits/libm-simd-decl-stubs.h: Added stubs for log.
11455         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
11456         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11457         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11458         redirections for log.
11459         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11460         * sysdeps/x86_64/fpu/Versions: New versions added.
11461         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11462         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11463         build of SSE, AVX2 and AVX512 IFUNC versions.
11464         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
11465         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
11466         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
11467         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
11468         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
11469         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
11470         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
11471         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
11472         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
11473         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
11474         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
11475         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
11476         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
11477         test.
11478         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11479         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11480         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11481         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11482         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11483         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11484         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11485         * NEWS: Mention addition of x86_64 vector log.
11487 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11489         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
11490         cfi_adjust_cfa_offset argument.
11491         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
11492         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
11494         [BZ #18034]
11495         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
11496         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
11497         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
11498         ordering using ldar.
11499         (_dl_tlsdesc_dynamic): Likewise.
11500         (_dl_tlsdesc_return_lazy): Likewise.
11501         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
11502         relaxed atomics instead of volatile and synchronize with release store.
11503         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
11504         volatile.
11505         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11507 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
11509         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11510         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
11511         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11512         * sysdeps/x86_64/fpu/Versions: New versions added.
11513         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11514         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11515         build of SSE, AVX2 and AVX512 IFUNC versions.
11516         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
11517         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
11518         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
11519         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
11520         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
11521         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
11522         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
11523         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
11524         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
11525         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
11526         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
11527         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
11528         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
11529         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11530         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11531         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11532         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11533         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11534         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11535         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11536         * NEWS: Mention addition of x86_64 vector sinf.
11538 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
11540         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
11541         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
11542         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
11543         Remove variable.
11544         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11545         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11547 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11549         [BZ #18530]
11550         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
11551         strong alias of _IO_fputs.  Use libc_hidden_def.
11552         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
11553         and define as weak alias of __fputs_unlocked.  Use
11554         libc_hidden_weak.
11555         * include/stdio.h (__fputs_unlocked): Declare.  Use
11556         libc_hidden_proto.
11557         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
11558         fputs_unlocked.
11560         [BZ #18529]
11561         * resolv/netdb.h [__USE_POSIX]: Change condition to
11562         [__USE_XOPEN2K].
11563         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
11564         not expect.
11565         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
11566         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
11567         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
11568         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
11569         [XPG4 || UNIX98] (AI_ALL): Likewise.
11570         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
11571         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
11572         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
11573         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
11574         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
11575         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
11576         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
11577         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
11578         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
11579         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
11580         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
11581         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
11582         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
11583         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
11584         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
11585         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11586         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11587         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
11588         [XPG4 || UNIX98] (gai_strerror): Likewise.
11589         [XPG4 || UNIX98] (getaddrinfo): Likewise.
11590         [XPG4 || UNIX98] (getnameinfo): Likewise.
11592         [BZ #18528]
11593         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
11594         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
11595         __USE_XOPEN2K8].
11596         (getgrent): Likewise.
11597         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
11598         expect.
11599         [XPG3 || POSIX2008] (endgrent): Likewise.
11600         [XPG3] (setgrent): Likewise.
11601         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
11602         variable.
11603         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11605         [BZ #18527]
11606         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
11607         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
11608         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
11609         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
11610         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
11611         * include/unistd.h (__getlogin_r): Declare.  Use
11612         libc_hidden_proto.
11613         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
11614         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
11615         variable.
11616         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11617         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11618         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11620 2015-06-12  Martin Sebor  <msebor@redhat.com>
11622         [BZ #18512]
11623         * Makerules (check-install-supported): New target.
11624         (install): Add check-install-supported as a dependency.
11625         * manual/install.texi (Installing the C Library): Document
11626         that overriding prefix and exec_prefix is not supported.
11627         Mention DESTDIR.
11628         * INSTALL: Regenerate from the above.
11630 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11632         [BZ #18519]
11633         * posix/Versions (libc): Export __libc_pread at version
11634         GLIBC_PRIVATE.
11635         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
11636         instead of pread.
11637         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
11638         variable.
11640         [BZ #18522]
11641         * misc/efgcvt_r.c
11642         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
11643         (cvt_symbol): Use weak_alias instead of strong_alias.
11644         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
11645         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
11646         Remove variable.
11647         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11648         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11650         [BZ #18520]
11651         * inet/herrno.c (h_errno): Rename to __h_errno.
11652         (__libc_h_errno): Define as alias of __h_errno not h_errno.
11653         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
11654         to __h_errno instead of h_errno.
11655         * nptl/herrno.c (h_errno): Rename to __h_errno.
11656         (__h_errno_location): Refer to __h_errno not h_errno.
11657         * resolv/Versions (h_errno): Rename to __h_errno.
11658         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
11659         Remove variable.
11660         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11662 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
11664         * configure.ac: More strict check for AVX512 assembler support.
11665         * configure: Regenerated.
11667         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
11668         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
11669         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11670         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
11671         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11672         * sysdeps/x86_64/fpu/Versions: New versions added.
11673         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11674         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11675         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11676         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
11677         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
11678         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
11679         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
11680         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
11681         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
11682         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
11683         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
11684         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
11685         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
11686         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
11687         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
11688         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
11689         test.
11690         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11691         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11692         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11693         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11694         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11695         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11696         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11697         * NEWS: Mention addition of x86_64 vector sin.
11699 2015-06-11  Florian Weimer  <fweimer@redhat.com>
11701         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
11702         comment.
11704 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11706         [BZ #18479]
11707         * nptl/pt-interp.c: New file.
11708         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
11709         Add pt-interp.
11710         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
11711         $(common-objpfx)runtime-linker.h.
11713 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
11715         * Makeconfig (+interp): Remove unused variable.
11716         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
11717         only.  Depend on $(common-objpfx)runtime-linker.h instead of
11718         $(elf-objpfx)runtime-linker.h.
11719         ($(elf-objpfx)runtime-linker.h): Rename to
11720         $(common-objpfx)runtime-linker.h and move ...
11721         * Makerules [$(build-shared) = yes]: ... here.
11722         * elf/interp.c: Include <runtime-linker.h> instead of
11723         <elf/runtime-linker.h>.
11725 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11727         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
11728         (__gettimeofday_syscall): Remove vsyscall fallback.
11729         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
11730         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
11731         Add syscall fallback function.
11732         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
11733         if vDSO is not present.
11734         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
11735         fallback function.
11736         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
11737         present.
11738         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
11739         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11741 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
11743         [BZ #18497]
11744         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
11745         of wcscmp.
11746         (wcscmp): Define as weak alias of WCSCMP.
11747         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
11748         wcscoll.
11749         (USE_HIDDEN_DEF): Define.
11750         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
11751         __wcscoll.  Don't use libc_hidden_weak.
11752         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
11753         wcscmp.
11754         * sysdeps/i386/i686/multiarch/wcscmp-c.c
11755         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
11756         __GI_wcscmp.
11757         (weak_alias): Undefine and redefine.
11758         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
11759         __wcscmp and define as weak alias of __wcscmp.
11760         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
11761         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
11762         (__wcscoll): Likewise.
11763         (wcscmp): Don't use libc_hidden_proto.
11764         (wcscoll): Likewise.
11765         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
11766         wcscoll.
11767         * posix/regexec.c (check_node_accept_bytes): Likewise.
11768         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
11769         variable.
11770         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11771         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11773         [BZ #18507]
11774         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
11775         __fstatvfs and define as weak alias of __fstatvfs.  Use
11776         libc_hidden_weak.
11777         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
11778         and define as weak alias of __statvfs.  Use libc_hidden_weak.
11779         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
11780         Define as alias of __fstatvfs, not fstatvfs.
11781         (fstatvfs64): Likewise.
11782         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
11783         Define as alias of __statvfs, not statvfs.
11784         (statvfs64): Likewise.
11785         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
11786         Remove variable.
11788 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11791         (HAVE_GETCPU_VSYSCALL): Define.
11792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11793         (HAVE_GETCPU_VSYSCALL): Likewise.
11794         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
11795         * sysdeps/unix/sysv/linux/sched_getcpu.c
11796         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
11797         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
11798         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
11799         prototype.
11800         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11801         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
11802         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
11803         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
11804         Define.
11805         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
11806         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11807         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
11808         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11810 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
11812         * sysdeps/x86_64/fpu/Makefile: New file.
11813         * sysdeps/x86_64/fpu/Versions: New file.
11814         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
11815         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
11816         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
11817         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
11818         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
11819         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
11820         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
11821         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
11822         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
11823         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
11824         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
11825         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
11826         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
11827         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11828         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11829         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
11830         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
11831         * sysdeps/x86_64/configure.ac: Options for libmvec build.
11832         * sysdeps/x86_64/configure: Regenerated.
11833         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
11834         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
11835         * manual/install.texi (Configuring and compiling): Document
11836         --disable-mathvec.
11837         * INSTALL: Regenerated.
11838         * NEWS: Mention addition of libmvec and x86_64 vector cos.
11840         * math/Makefile: Added rules for vector tests.
11841         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
11842         declaration under condition.
11843         * math/test-double-vlen2.h: New file.
11844         * math/test-double-vlen4.h: New file.
11845         * math/test-double-vlen8.h: New file.
11846         * math/test-vec-loop.h: Added initialization macro.
11847         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
11848         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
11849         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
11850         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
11851         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
11852         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
11853         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
11854         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
11855         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
11856         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
11857         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
11859         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11860         * sysdeps/x86_64/fpu/Versions: New versions added.
11861         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
11862         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
11863         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
11864         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
11865         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
11866         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
11867         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
11868         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
11869         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
11870         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
11871         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
11872         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
11873         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
11874         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11875         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11876         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11877         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
11878         * NEWS: Mention addition of x86_64 vector cosf.
11880         * math/Makefile: Added CFLAGS for new tests.
11881         * math/test-float-vlen16.h: New file.
11882         * math/test-float-vlen4.h: New file.
11883         * math/test-float-vlen8.h: New file.
11884         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
11885         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
11886         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11887         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
11888         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
11889         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
11890         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
11891         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
11892         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
11893         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
11894         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
11896 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
11898         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
11899         * locale/programs/ld-ctype.c: Likewise.
11901 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11903         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
11904         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
11905         bit_ZMM16_31_state): New macro.
11906         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11907         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
11909 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
11911         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
11913 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
11915         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
11917 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
11919         [BZ #18498]
11920         * libio/memstream.c (open_memstream): Rename to __open_memstream
11921         and define as weak alias of __open_memstream.
11922         * include/stdio.h (__open_memstream): Declare.  Use
11923         libc_hidden_proto.
11924         (open_memstream): Don't use libc_hidden_proto.
11925         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
11926         open_memstream.
11927         * posix/getopt.c (_getopt_internal_r): Likewise.
11928         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
11929         variable.
11930         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11931         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11932         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11934         [BZ #18496]
11935         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
11936         instead of wcrtomb.
11938         [BZ #18483]
11939         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
11940         [__USE_XOPEN2K8].  Remove redundant #endif.
11941         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
11942         Remove redundant #if.
11943         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
11944         Remove variable.
11945         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11946         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11948         [BZ #18495]
11949         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
11950         (__iswlower): Likewise.
11951         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
11952         (__iswlower): Likewise.
11953         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
11954         instead of towlower.
11955         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
11956         instead of iswlower.  Call __towupper instead of towupper.
11957         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
11958         instead of iswalnum.
11960 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11962         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
11963         errors to stderr.
11965 2015-06-05  Florian Weimer  <fweimer@redhat.com>
11967         [BZ #15661]
11968         [BZ #17322]
11969         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11970         Check for overflow properly.  Check for O_APPEND.  Ignore large
11971         file system block sizes.  Add comments about problems.
11972         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
11973         * manual/filesys.texi (Storage Allocation): New node.
11975 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11977         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
11978         cancellable syscalls.
11979         (SYS_ify): Add guard to no redefine it.
11980         (INLINE_SYSCALL): Likewise.
11981         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
11982         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
11983         SYSCALL_CANCEL instead.
11984         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
11985         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11986         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11987         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11988         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11989         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
11990         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
11991         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
11992         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11993         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11994         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
11995         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
11996         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
11997         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
11998         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
11999         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12000         Likewise.
12001         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12002         (__libc_pread64): Likewise.
12003         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
12004         (__libc_preadv): Likewise.
12005         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
12006         (__libc_readv64): Likewise.
12007         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12008         (__libc_pwrite): Likewise.
12009         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12010         (__libc_pwrite64): Likewise.
12011         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
12012         (__libc_pwritev): Likewise.
12013         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
12014         (__libc_pwritev64): Likewise.
12015         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
12016         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12017         (sync_file_range): Likewise.
12018         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
12019         Likewise.
12020         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
12021         Likewise.
12022         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12023         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12024         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12025         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12026         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12027         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12028         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12029         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
12030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12031         Likewise.
12032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12033         (__libc_read64): Likewise.
12034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
12035         Likewise.
12036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
12037         Likewise.
12038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
12039         Likewise.
12040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
12041         Likewise.
12042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12043         (__libc_pread64): Likewise.
12044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
12045         Likewise.
12046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12047         (__libc_pwrite64): Likewise.
12048         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
12049         (sync_file_range): Likewise.
12050         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
12051         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12052         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12053         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
12054         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
12055         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12056         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12057         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
12058         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
12059         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12060         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12061         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12062         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12063         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12064         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
12065         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12066         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12067         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12068         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12069         Likewise.
12070         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
12071         Likewise.
12072         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
12073         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
12074         Likewise.
12075         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
12076         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
12077         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
12078         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
12079         Likewise.
12080         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
12081         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
12082         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
12083         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
12084         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
12086 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
12088         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
12089         Include dl-vdso.
12090         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
12091         Use VDSO routines for gettimeofday, clock_gettime if
12092         available.
12093         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
12094         Declare VDSO symbols.
12095         * sysdeps/unix/sysv/linux/arm/sysdep.h:
12096         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
12097         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12098         * sysdeps/unix/sysv/linux/arm/Versions: Add
12099         __vdso_clock_gettime.
12101 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12103         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
12104         be an inline implementation regardless of library is built within.
12105         (open_not_cancel_2): Likewise.
12106         (__read_nocancel): Likewise.
12107         (__write_nocancel): Likewise.
12108         (openat_not_cancel): Likewise.
12109         (openat_not_cancel_3): Likewise.
12110         (openat64_not_cancel): Likewise.
12111         (openat64_not_cancel_3): Likewise.
12112         (__close_nocancel): Likewise.
12113         (pause_not_cancel): Likewise.
12114         (nanosleep_not_cancel): Likewise.
12115         (sigsuspend_not_cancel): Likewise.
12117 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12119         [BZ #14958]
12120         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
12121         wake-up.
12122         (__pthread_rwlock_rdlock_slow): Likewise.
12123         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12124         Likewise.
12125         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12126         Likewise.
12127         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
12128         * nptl/tst-rwlock16.c: New file.
12129         * nptl/Makefile (tests): Add new test.
12131 2015-06-04  Torvald Riegel  <triegel@redhat.com>
12133         [BZ #18324]
12134         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
12135         missing wake-up of readers.
12136         * nptl/tst-rwlock15.c: New file.
12137         * nptl/Makefile (tests): Add new test.
12139 2015-06-03  Roland McGrath  <roland@hack.frob.com>
12141         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
12142         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
12143         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
12144         and __nacl_supply_interface_rtld.
12145         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
12146         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
12147         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
12148         Add __nacl_supply_interface_rtld.
12149         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
12151 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12153         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
12154         isfinite.
12155         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12156         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
12158 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
12160         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
12161         __signbit* with standard C99 macros.
12162         * math/e_exp10l.c: Likewise.
12163         * math/e_exp2l.c: Likewise.
12164         * math/e_scalb.c: Likewise.
12165         * math/e_scalbf.c: Likewise.
12166         * math/e_scalbl.c: Likewise.
12167         * math/s_ldexp.c: Likewise.
12168         * math/s_ldexpf.c: Likewise.
12169         * math/s_ldexpl.c: Likewise.
12170         * math/w_atan2.c: Likewise.
12171         * math/w_atan2f.c: Likewise.
12172         * math/w_atan2l.c: Likewise.
12173         * math/w_cosh.c: Likewise.
12174         * math/w_coshf.c: Likewise.
12175         * math/w_coshl.c: Likewise.
12176         * math/w_exp10.c: Likewise.
12177         * math/w_exp10f.c: Likewise.
12178         * math/w_exp10l.c: Likewise.
12179         * math/w_exp2.c: Likewise.
12180         * math/w_exp2f.c: Likewise.
12181         * math/w_exp2l.c: Likewise.
12182         * math/w_fmod.c: Likewise.
12183         * math/w_fmodf.c: Likewise.
12184         * math/w_fmodl.c: Likewise.
12185         * math/w_hypot.c: Likewise.
12186         * math/w_hypotf.c: Likewise.
12187         * math/w_hypotl.c: Likewise.
12188         * math/w_jnl.c: Likewise.
12189         * math/w_lgamma.c: Likewise.
12190         * math/w_lgamma_r.c: Likewise.
12191         * math/w_lgammaf.c: Likewise.
12192         * math/w_lgammaf_r.c: Likewise.
12193         * math/w_lgammal.c: Likewise.
12194         * math/w_lgammal_r.c: Likewise.
12195         * math/w_pow.c: Likewise.
12196         * math/w_powf.c: Likewise.
12197         * math/w_powl.c: Likewise.
12198         * math/w_remainder.c: Likewise.
12199         * math/w_remainderf.c: Likewise.
12200         * math/w_remainderl.c: Likewise.
12201         * math/w_scalb.c: Likewise.
12202         * math/w_scalbf.c: Likewise.
12203         * math/w_scalbl.c: Likewise.
12204         * math/w_scalbln.c: Likewise.
12205         * math/w_scalblnf.c: Likewise.
12206         * math/w_scalblnl.c: Likewise.
12207         * math/w_sinh.c: Likewise.
12208         * math/w_sinhf.c: Likewise.
12209         * math/w_sinhl.c: Likewise.
12210         * math/w_tgamma.c: Likewise.
12211         * math/w_tgammaf.c: Likewise.
12212         * math/w_tgammal.c: Likewise.
12213         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12214         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
12215         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12216         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12217         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12218         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12219         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12220         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12221         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12222         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12223         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12224         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12225         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12226         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12227         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12228         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12229         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12230         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12231         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12232         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12233         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12234         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12235         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12236         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12237         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12238         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12239         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
12240         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12241         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12242         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12243         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
12244         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
12245         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
12246         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
12247         * stdio-common/printf_fp.c: Likewise.
12248         * stdio-common/printf_fphex.c: Likewise.
12249         * stdio-common/printf_size.c: Likewise.
12251 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
12253         [BZ #18470]
12254         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
12255         strnlen.
12256         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
12257         Remove variable.
12258         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12259         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12260         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12261         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12262         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12263         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12264         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12265         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12266         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12267         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12269         [BZ #18468]
12270         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
12271         weak alias of __wmemchr.  Use libc_hidden_weak.
12272         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
12273         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
12274         instead of wmemchr.
12276 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12278         [BZ #18383]
12279         * elf/tst-tlsalign-extern.c: New file.
12280         * elf/tst-tlsalign-extern-static.c: New file.
12281         * elf/tst-tlsalign-vars.c: New file.
12282         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
12283         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
12284         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
12285         ($(objpfx)tst-tlsalign-extern-static): Likewise.
12286         (test-xfail-tst-tlsalign-extern-static): New variable.
12288 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
12290         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
12291         Use variable name _sc_err instead of err.
12292         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
12293         instead of ret.
12294         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
12295         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
12296         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
12297         (INLINE_SYSCALL): Likewise.
12299         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
12300         * include/string.h (__strnlen): Use libc_hidden_proto.
12301         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
12302         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
12303         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
12304         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
12305         (libc_hidden_def): Undefine and redefine.
12306         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
12307         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
12308         __GI_strnlen.
12309         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
12310         libc_hidden_def.
12311         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
12313         [BZ #18469]
12314         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
12315         weak alias of __towlower.  Use libc_hidden_weak.
12316         (towupper): Rename to __towupper and define as weak alias of
12317         __towupper.  Use libc_hidden_weak.
12318         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
12319         (__towupper): Likewise.
12320         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
12321         __towlower instead of towlower.
12323 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12325         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
12326         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
12328 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12330         * sysdeps/aarch64/libm-test-ulps: Update.
12332 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12334         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
12335         Define.
12336         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12337         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12338         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12339         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12340         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
12341         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
12342         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
12344 2015-06-01  Martin Sebor  <msebor@redhat.com>
12346         [BZ #18116]
12347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12348         (__setcontext): Use extended four-operand version of mtsf whenever
12349         possible.
12350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12351         (__novec_swapcontext): Likewise.
12353 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12355         * benchtests/scripts/compare_bench.py: New file.
12356         * benchtests/scripts/import_bench.py (mean): New function.
12357         (split_list): Likewise.
12358         (do_for_all_timings): Likewise.
12359         (compress_timings): Likewise.
12361         * benchtests/scripts/import_bench.py: New file.
12362         * benchtests/scripts/validate_benchout.py: Import import_bench
12363         instead of jsonschema.
12364         (validate_bench): Remove function.
12365         (main): Use import_bench.
12367 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
12369         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
12370         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
12372 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12376 2015-05-28  Roland McGrath  <roland@hack.frob.com>
12378         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
12379         set THREAD_SELF->tid to a magic value and futex-wake it.
12380         Pass its address to the thread_exit system call.
12381         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
12382         bit is clear.
12383         * sysdeps/nacl/lowlevellock.h: New file.
12384         * sysdeps/nacl/lll_timedwait_tid.c: New file.
12386         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
12387         Add TIMEOUT to current time, don't subtract it.
12389 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
12391         [BZ #2981]
12392         [BZ #18422]
12393         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
12394         ($(objpfx)tst-audit2.out): Also depend on
12395         $(objpfx)tst-auditmod9b.so.
12396         * elf/tst-audit2.c: Include <dlfcn.h>.
12397         (calloc_called): New.
12398         (calloc): Allow to be called more than once.
12399         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
12401 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
12403         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
12404         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
12406 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
12408         * stdlib/monetary.h: Fix comment.
12410 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
12412         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
12413         Avoid using variables in #defines that might cause shadowing.
12414         (INTERNAL_VSYSCALL_CALL): Likewise.
12416 2015-05-26  Roland McGrath  <roland@hack.frob.com>
12418         * sysdeps/nacl/lll_timedlock_wait.c: New file.
12420         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
12421         * nptl/lll_timedlock_wait.c: ... to this new file.
12422         * nptl/Makefile (libpthread-routines): Add it.
12423         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
12424         * nptl/lll_timedwait_tid.c: ... to this new file.
12425         * nptl/Makefile (libpthread-routines): Add it.
12426         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
12427         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
12428         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
12429         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
12430         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
12431         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
12432         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
12433         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
12434         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
12435         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
12437 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12439         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
12440         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12441         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12442         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
12443         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12444         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12445         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12446         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12447         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12448         * sysdeps/unix/sysv/linux/tile/sysdep.h
12449         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12450         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
12451         using vDSO syscall macro.
12453 2015-05-26  Andriy Rysin  <arysin@gmail.com>
12455         [BZ #17293]
12456         * uk_UA: Fix sorting order for Ukrainian locale
12458 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
12460         * stdlib/monetary.h: Fix comment.
12462 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12464         [BZ #18234]
12465         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
12466         st_mtim and st_ctim members.
12467         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
12468         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
12469         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
12470         (struct stat64): Likewise.
12471         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
12472         (struct stat64): Likewise.
12473         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
12474         (struct stat64): Likewise.
12476 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12478         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
12479         Define and include sysdep-vdso.h.
12480         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
12481         Likewise.
12482         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
12483         Likewise.
12484         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
12485         Define with VDSO_SYMBOL and use PTR_MANGLE.
12486         (__vdso_clock_gettime): Likewise.
12487         (__vdso_clock_getres): Likewise.
12488         (_libc_vdso_platform_setup): Likewise.
12489         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12490         Likewise.
12491         (_libc_vdso_platform_setup): Likewise.
12492         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
12493         Likewise.
12494         (__vdso_clock_gettime): Likewise.
12495         (__vdso_clock_getres): Likewise.
12496         (__vdso_get_tbfreq): Likewise.
12497         (__vdso_getcpu): Likewise.
12498         (__vdso_time): Likewise.
12499         (__vdso_sigtramp_rt64): Likewise.
12500         (__vdso_signtramp32): Likewise.
12501         (__vdso_sigtramp_rt32): Likewise.
12502         (_libc_vdso_platform_setup): Likewise.
12503         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
12504         Likewise.
12505         (__vdso_clock_gettime): Likewise.
12506         (__vdso_clock_getres): Likewise.
12507         (_libc_vdso_platform_setup): Likewise.
12508         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
12509         Likewise.
12510         (__vdso_clock_gettime): Likewise.
12511         (_libc_vdso_platform_setup): Likewise.
12512         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12513         Likewise.
12514         (__vdso_getcpu): Likewise.
12515         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
12516         Use VDSO_SYMBOL macro to define.
12517         (__vdso_clock_gettime): Likewise.
12518         (__vdso_clock_getres): Likewise.
12519         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
12520         Likewise.
12521         (__vdso_clock_gettime): Likewise.
12522         (__vdso_clock_getres): Likewise.
12523         (__vdso_get_tbfreq): Likewise.
12524         (__vdso_getcpu): Likewise.
12525         (__vdso_time): Likewise.
12526         (__vdso_sigtramp_rt64): Likewise.
12527         (__vdso_signtramp32): Likewise.
12528         (__vdso_sigtramp_rt32): Likewise.
12529         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
12530         Likewise.
12531         (__vdso_clock_gettime): Likewise.
12532         (__vdso_clock_getres): Likewise.
12533         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
12534         Likewise.
12535         (__vdso_clock_gettime): Likewise.
12536         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12537         Likewise.
12538         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
12539         macro.
12540         (INTERNAL_VSYSCALL): Likewise.
12541         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
12542         Remove macro.
12543         (INTERNAL_VSYSCALL): Likewise.
12544         (INTERNAL_VSYSCALL_NCS): Likewise.
12545         (INTERNAL_VSYSCALL_CALL): New macro.
12546         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12547         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
12548         Likewise.
12549         (INTERNAL_VSYSCALL): Likewise.
12550         (INTERNAL_VSYSCALL_NCS): Likewise.
12551         (INTERNAL_VSYSCALL_CALL): New macro.
12552         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12554         (INLINE_VSYSCALL): Remove macro.
12555         (INTERNAL_VSYSCALL): Remove macro.
12556         (INTERNAL_VSYSCALL_NCS): Remove macro.
12557         (INTERNAL_VSYSCALL_CALL): New macro.
12558         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
12559         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
12560         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12561         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
12562         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12564         (INLINE_VSYSCALL): Remove macro.
12565         (INTERNAL_VSYSCALL): Likewise.
12566         (INTERNAL_VSYSCALL_NCS): Likewise.
12567         (INTERNAL_VSYSCALL_CALL): New macro.
12568         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
12569         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
12570         PTR_DEMANGLE on vDSO pointer.
12571         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12572         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
12573         macro.
12574         (INTERNAL_SYSCALL): Likewise.
12575         (INTERNAL_VSYSCALL_NCS): Remove macro.
12576         (INTERNAL_VSYSCALL_CALL): New macro.
12577         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
12578         Remove macro.
12579         (INTERNAL_VSYSCALL): Likewise.
12580         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
12581         sysdep-vdso.h instead of libc-vdso.h.
12582         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
12583         definition.
12584         (INLINE_VSYSCALL): Likewise.
12585         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
12586         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
12587         definition.
12588         (INLINE_VSYSCALL): Likewise.
12589         (INTERNAL_VSYSCALL): Likewise.
12590         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12591         * sysdeps/unix/sysv/linux/timespec_get.c
12592         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12593         (timespec_get): Use ANSI prototype.
12594         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
12595         and definition for Linux.
12597 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
12599         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
12600         * include/libc-symbols.h: libmvec_hidden_* macro series added.
12602 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12604         [BZ #2981]
12605         [BZ #18410]
12606         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
12607         for missing DT_PLTRELSZ.
12609 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12611         Remove obsolete aliases that broke 'locale -a'
12612         [BZ #18412]
12613         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
12614         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
12615         breaking some applications that use 'locale -a' output.
12616         Change the encoding of this file from Latin-1 to ASCII to avoid
12617         other potential problems with people grepping this file.
12619 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12621         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
12622         -fasynchronous-unwind-tables.
12623         (CFLAGS-sendto.c): Likewise.
12624         (CFLAGS-sendmsg.c): Likewise.
12625         (CFLAGS-connect.c): Likewise.
12626         (CFLAGS-recvmsg.c): Likewise.
12627         (CFLAGS-recvfrom.c): Likewise.
12628         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
12629         (SOCKETCALL): New macro: non-cancellable socketcall.
12630         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
12631         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
12632         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
12633         * sysdeps/unix/sysv/linux/accept.c: New file.
12634         * sysdeps/unix/sysv/linux/bind.c: Likewise.
12635         * sysdeps/unix/sysv/linux/connect.c: Likewise.
12636         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
12637         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
12638         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
12639         * sysdeps/unix/sysv/linux/listen.c: Likewise.
12640         * sysdeps/unix/sysv/linux/recv.c: Likewise.
12641         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
12642         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12643         * sysdeps/unix/sysv/linux/send.c: Likewise.
12644         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12645         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
12646         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
12647         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
12648         * sysdeps/unix/sysv/linux/socket.c: Likewise.
12649         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
12650         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
12651         prototype.
12652         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
12653         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12654         instead of __internal_xxx function.
12655         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
12656         prototype.
12657         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
12658         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12659         instead of __internal_xxx function.
12660         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
12661         prototype.
12662         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
12663         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12664         instead of __internal_xxx function.
12665         * sysdeps/unix/sysv/linux/accept.S: Remove file.
12666         * sysdeps/unix/sysv/linux/bind.S: Likewise.
12667         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12668         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
12669         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
12670         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
12671         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
12672         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
12673         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
12674         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
12675         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
12676         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12677         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
12678         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
12679         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
12680         * sysdeps/unix/sysv/linux/listen.S: Likewise.
12681         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
12682         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
12683         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
12684         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
12685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
12686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
12687         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12688         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12689         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12690         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
12691         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12692         * sysdeps/unix/sysv/linux/send.S: Likewise.
12693         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12694         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12695         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
12696         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
12697         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
12698         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
12699         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
12700         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
12701         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
12702         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
12703         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
12704         socketcall is implemented in GLIBC.
12706 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12708         * soft-fp/fmadf4.c: Include <libc-internal.h>.
12709         (__fma): Ignore uninitialized warnings around packing.
12710         * soft-fp/fmasf4.c: Include <libc-internal.h>.
12711         (__fmaf): Ignore uninitialized warnings around packing.
12712         * soft-fp/fmatf4.c: Include <libc-internal.h>.
12713         (__fmal): Ignore uninitialized warnings around packing.
12715         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
12716         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12717         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
12718         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12720         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
12721         switch statement into default case.
12722         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
12724         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
12725         a conditional in forcing "inexact".
12726         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12727         Likewise.
12729 2015-05-22  Roland McGrath  <roland@hack.frob.com>
12731         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12732         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
12733         for each INTERNAL_SYSCALL use.
12735 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12737         [BZ #438]
12738         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
12739         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
12740         variable.
12742         [BZ #18444]
12743         * string/basename.c (basename): Rename to __basename and define as
12744         weak alias of __basename.  Use libc_hidden_weak.
12745         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
12746         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
12747         __basename instead of basename.
12748         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
12749         Remove variable.
12750         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12752 2015-05-18  Florian Weimer  <fweimer@redhat.com>
12754         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
12755         (_IO_JUMPS_FILE_plus): New.
12756         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
12757         _IO_CAST_FIELD_ACCESS.
12758         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
12759         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
12760         * libio/freopen.c (freopen): Likewise.
12761         * libio/freopen64.c (freopen64): Likewise.
12762         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
12763         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
12764         * libio/iofwide.c (_IO_fwide): Likewise.
12765         * libio/memstream.c (open_memstream): Likewise.
12766         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12767         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12768         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12770 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
12772         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
12773         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
12774         NADJ.
12775         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
12776         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
12777         NADJ.
12778         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
12779         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
12780         NADJ.
12782         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
12783         (p == 4) case.
12785         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
12786         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
12787         Remove variable.
12788         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12789         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12790         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12792 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12794         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
12795         Adjust jump table label generation macros.
12797 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12799         * stdio-common/vfprintf.c (vfprintf): Move local variables
12800         args_malloced, specs, specs_malloced, and the code after
12801         do_positional to the printf_positional function.
12802         (printf_positional): New function.
12804 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12806         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
12807         function.
12808         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
12809         STEP4_TABLE, process_arg): Move macro definitions
12810         out of the vfprintf function.  (Cosmetic change only.)
12812 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
12814         * benchtests/Makefile (stdio-common-bench): Define.
12815         (benchset): Add stdio-common-bench.
12816         * sprintf-inputs: New file.
12817         * sprintf-source.c: New file.
12819 2015-05-21  Andreas Schwab  <schwab@suse.de>
12821         [BZ #13028]
12822         [BZ #17053]
12823         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
12824         of struct __res_state.
12825         * resolv/res_send.c (__libc_res_nsend): Likewise.
12826         (get_nsaddr): New function.
12827         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
12828         statp directly.
12830 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
12832         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
12833         -D_POSIX_C_SOURCE=199506L.
12835         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
12837         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
12838         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
12839         Do not mention otherwise.
12840         [POSIX] (_XOPEN_VERSION): Do not expect.
12841         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
12842         [POSIX] (_POSIX2_C_BIND): Likewise.
12843         [POSIX] (_POSIX2_VERSION): Likewise.
12844         [POSIX] (_XOPEN_XPG2): Likewise.
12845         [POSIX] (_XOPEN_XPG3): Likewise.
12846         [POSIX] (_XOPEN_XPG4): Likewise.
12847         [POSIX] (_XOPEN_UNIX): Likewise.
12848         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
12849         [POSIX] (_POSIX_BARRIERS): Likewise.
12850         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
12851         [POSIX] (_POSIX_CPUTIME): Likewise.
12852         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
12853         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
12854         [POSIX] (_POSIX_SHELL): Likewise.
12855         [POSIX] (_POSIX_SPAWN): Likewise.
12856         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
12857         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
12858         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
12859         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
12860         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
12861         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
12862         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
12863         [POSIX] (_XBS5_LP64_OFF64): Likewise.
12864         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
12865         [POSIX] (_POSIX_TIMEOUTS): Likewise.
12866         [POSIX] (_POSIX2_PBS): Likewise.
12867         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
12868         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
12869         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
12870         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
12871         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
12872         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
12873         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
12874         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
12875         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
12876         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
12877         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
12878         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
12879         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
12880         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
12881         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
12882         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
12883         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
12884         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
12885         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
12886         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
12887         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
12888         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
12889         [POSIX] (_SC_2_C_BIND): Likewise.
12890         [POSIX] (_SC_2_C_VERSION): Likewise.
12891         [POSIX] (_SC_2_PBS): Likewise.
12892         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
12893         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
12894         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
12895         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
12896         [POSIX] (_SC_2_PBS_TRACK): Likewise.
12897         [POSIX] (_SC_ATEXIT_MAX): Likewise.
12898         [POSIX] (_SC_BARRIERS): Likewise.
12899         [POSIX] (_SC_BASE): Likewise.
12900         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
12901         [POSIX] (_SC_DEVICE_IO): Likewise.
12902         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
12903         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
12904         [POSIX] (_SC_FD_MGMT): Likewise.
12905         [POSIX] (_SC_FIFO): Likewise.
12906         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
12907         [POSIX] (_SC_FILE_LOCKING): Likewise.
12908         [POSIX] (_SC_FILE_SYSTEM): Likewise.
12909         [POSIX] (_SC_IOV_MAX): Likewise.
12910         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
12911         [POSIX] (_SC_NETWORKING): Likewise.
12912         [POSIX] (_SC_PAGE_SIZE): Likewise.
12913         [POSIX] (_SC_PASS_MAX): Likewise.
12914         [POSIX] (_SC_PIPE): Likewise.
12915         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
12916         [POSIX] (_SC_REGEXP): Likewise.
12917         [POSIX] (_SC_SHELL): Likewise.
12918         [POSIX] (_SC_SIGNALS): Likewise.
12919         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
12920         [POSIX] (_SC_SPIN_LOCKS): Likewise.
12921         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
12922         [POSIX] (_SC_USER_GROUPS): Likewise.
12923         [POSIX] (_SC_USER_GROUPS_R): Likewise.
12924         [POSIX] (_SC_STREAMS): Likewise.
12925         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
12926         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
12927         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
12928         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
12929         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
12930         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
12931         [POSIX] (_PC_FILESIZEBITS): Likewise.
12932         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
12933         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
12934         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
12935         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
12936         [POSIX] (uid_t): Likewise.
12937         [POSIX] (gid_t): Likewise.
12938         [POSIX] (off_t): Likewise.
12939         [POSIX] (pid_t): Likewise.
12940         [POSIX] (cuserid): Allow.
12941         (_SC_2_CHAR_TERM): Require constant.
12942         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
12943         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
12944         variable.
12946 2015-05-20  Roland McGrath  <roland@hack.frob.com>
12948         * sysdeps/nacl/pthread-pids.h: New file.
12949         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
12950         (create_thread): Use __nacl_get_tid to initialize PD->tid.
12952         * nptl/pthread-pids.h: New file.
12953         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
12954         * nptl/nptl-init.c: Include <pthread-pids.h>.
12955         (__pthread_initialize_minimal_internal):
12956         Call __pthread_initialize_pids instead of set_tid_address syscall.
12958         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
12959         * sysdeps/posix/usleep.c: ... here.
12961 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12963         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
12964         call_pselect6 object.
12965         [$(subdir) = io]: Remove call_sync_file_range object.
12966         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
12967         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
12968         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
12969         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
12971 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
12973         * math/s_cproj.c: Add include "math_private.h".
12974         * math/s_cprojf.c: Likewise.
12975         * math/s_cprojl.c: Likewise.
12977 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
12979         [BZ #18244]
12980         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
12981         high mantissa bit when testing whether P is a NaN.
12982         * math/libm-test.inc (remainder_test_data): Add more tests.
12983         (remquo_test_data): Likewise.
12985         [BZ #18049]
12986         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
12987         below -32, return the argument, with underflow if subnormal.
12988         * math/auto-libm-test-in: Add more tests of atanh.
12989         * math/auto-libm-test-out: Regenerated.
12991 2015-05-19  Roland McGrath  <roland@hack.frob.com>
12993         [BZ #18434]
12994         * nptl/tst-sem15.c: New file.
12995         * nptl/Makefile (tests): Add it.
12996         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
12997         s/<</>>/ to fix typo in EOVERFLOW check.
12998         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
13000 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13002         * manual/strings.texi (envz_remove): Fix typo in safety
13003         annotations.
13005 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
13006             Steve Ellcey  <sellcey@imgtec.com>
13008         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
13009         in order to avoid strict alias warnings.
13010         (iruserok_af): Ditto for ra.
13012 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
13014         [BZ #17581]
13015         * malloc/hooks.c
13016         (magicbyte): Convert to a function and avoid returning 0x01.
13017         (mem2mem_check): Avoid using a length byte equal to the magic byte.
13018         (mem2chunk_check): Fix unsigned comparisons to zero.
13019         Hoist defs of sz and magic.
13021 2015-05-19  Richard Henderson  <rth@redhat.com>
13023         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
13025         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13027 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13029         [BZ #16159]
13030         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
13031         * malloc/arena.c (arena_lock): Check if arena is corrupt.
13032         (reused_arena): Find a non-corrupt arena.
13033         (heap_trim): Pass arena to unlink.
13034         * malloc/hooks.c (malloc_check_get_size): Pass arena to
13035         malloc_printerr.
13036         (top_check): Likewise.
13037         (free_check): Likewise.
13038         (realloc_check): Likewise.
13039         * malloc/malloc.c (malloc_printerr): Add arena argument.
13040         (unlink): Likewise.
13041         (munmap_chunk): Adjust.
13042         (ARENA_CORRUPTION_BIT): New macro.
13043         (arena_is_corrupt): Likewise.
13044         (set_arena_corrupt): Likewise.
13045         (sysmalloc): Use mmap if there are no usable arenas.
13046         (_int_malloc): Likewise.
13047         (__libc_malloc): Don't fail if arena_get returns NULL.
13048         (_mid_memalign): Likewise.
13049         (__libc_calloc): Likewise.
13050         (__libc_realloc): Adjust for additional argument to
13051         malloc_printerr.
13052         (_int_free): Likewise.
13053         (malloc_consolidate): Likewise.
13054         (_int_realloc): Likewise.
13055         (_int_memalign): Don't touch corrupt arenas.
13056         * malloc/tst-malloc-backtrace.c: New test case.
13058         * Makefile (summarize-tests): Fix return value on success.
13060         * manual/string.texi (Envz Functions): Add envz_remove.
13062 2015-05-18  Roland McGrath  <roland@hack.frob.com>
13064         * sysdeps/posix/opendir.c: Include <stdbool.h>.
13065         (invalid_name): New function, broken out of ...
13066         (__opendirat): ... here.  Call it.
13067         (need_isdir_precheck): New function, broken out of ...
13068         (__opendirat): ... here.  Call it.
13069         Use __fxstatat64, not __xstatat64.
13070         (opendir_oflags): New function, broken out of ...
13071         (__opendirat): ... here.  Call it.
13072         (opendir_tail): New function, broken out of ...
13073         (__opendirat): ... here.  Call it.
13074         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
13075         opendir_tail, rather than punting to __opendirat.
13076         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
13078 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13080         * .gitignore: Ignore generated *.pyc.
13082 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
13084         * include/stdio.h: Define __need_wint_t.
13085         * test-skeleton.c: Avoid `for' loop initial declaration.
13086         * nptl/tst-initializers1.c: Use test-skeleton.c.
13088 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13090         [BZ #18418]
13091         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
13093 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13095         [BZ #16352]
13096         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
13097         (__ieee754_atanh): Force underflow exception for results with
13098         small absolute value.
13099         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
13100         (__ieee754_atanhf): Force underflow exception for results with
13101         small absolute value.
13102         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
13103         (__ieee754_atanh): Force underflow exception for results with
13104         small absolute value.
13105         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
13106         (__ieee754_atanhf): Force underflow exception for results with
13107         small absolute value.
13108         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
13109         (__ieee754_atanhl): Force underflow exception for results with
13110         small absolute value.
13111         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
13112         (__ieee754_atanhl): Force underflow exception for results with
13113         small absolute value.
13114         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
13115         (__ieee754_atanhl): Force underflow exception for results with
13116         small absolute value.
13117         * math/auto-libm-test-in: Do not allow missing underflow
13118         exceptions from atanh.
13119         * math/auto-libm-test-out: Regenerated.
13121         [BZ #18221]
13122         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
13123         2**-28 as threshold for returning x or +/- 1/x.
13124         * math/auto-libm-test-in: Add more tests of tan.
13125         * math/auto-libm-test-out: Regenerated.
13127         [BZ #18220]
13128         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13129         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
13130         * math/auto-libm-test-in: Add another test of lgamma.
13131         * math/auto-libm-test-out: Regenerated.
13133 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
13135         * stdio-common/printf_fp.c (___printf_fp): Use abs.
13136         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
13137         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
13138         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
13139         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
13140         (ADD2A): Use fabs.  (SUB2A): Use fabs.
13141         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
13142         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
13143         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
13144         (log1): Use fabs.  (my_log2): Use fabs.
13145         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
13146         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
13147         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
13148         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
13149         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
13150         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
13151         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
13152         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
13153         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
13154         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
13155         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
13157 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
13159         [BZ #18217]
13160         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
13161         as threshold for returning 1 - x.
13162         * math/auto-libm-test-in: Add more tests of erfc.
13163         * math/auto-libm-test-out: Regenerated.
13165 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
13167         [BZ #18196]
13168         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
13169         threshold for large arguments.
13170         * math/auto-libm-test-in: Add another test of atan.
13171         * math/auto-libm-test-out: Regenerated.
13173         [BZ #16339]
13174         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
13175         (__log1p): Force underflow exception for results with small
13176         absolute value.
13177         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
13178         (__log1pf): Force underflow exception for results with small
13179         absolute value.
13180         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
13181         (__log1p): Force underflow exception for results with small
13182         absolute value.
13183         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
13184         (__log1pf): Force underflow exception for results with small
13185         absolute value.
13186         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
13187         (__log1pl): Force underflow exception for results with small
13188         absolute value.
13189         * math/auto-libm-test-in: Do not allow missing underflow
13190         exceptions from log1p.
13191         * math/auto-libm-test-out: Regenerated.
13193 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
13194             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13196         [BZ #16704]
13197         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
13199 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
13201         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
13202         (libmvec): New variable.
13203         * configure.ac: Added option for mathvec build.
13204         * configure: Regenerated.
13205         * mathvec/Depend: New file.
13206         * mathvec/Makefile: New file.
13207         * shlib-versions: Added libmvec.
13208         * math/Makefile: Added rule for libm.so installation.
13210         * bits/math-vector.h: New file.
13211         * bits/libm-simd-decl-stubs.h: New header.
13212         * math/Makefile (headers): Added new header
13213         libm-simd-decl-stubs.h.
13214         * math/math.h (__MATHCALL_VEC): New macro.
13216         * math/gen-libm-have-vector-test.sh: Script generates series of macros
13217         for conditions in testing functions.
13218         * math/Makefile: Added call of libm-have-vector-test.sh.
13219         * math/libm-test.inc (HAVE_VECTOR): New macros.
13221         * math/libm-test.inc: START refactored.
13222         * math/test-double.c (TEST_MATHVEC): Add define.
13223         * math/test-float.c: Likewise.
13224         * math/test-idouble.c: Likewise.
13225         * math/test-ifloat.c: Likewise.
13226         * math/test-ildoubl.c: Likewise.
13227         * math/test-ldouble.c: Likewise.
13228         * sysdeps/generic/math-tests-arch.h
13229         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
13230         architecture check.
13232         * math/test-double.c (FUNC_TEST): New macro.
13233         * math/test-float.c: Likewise.
13234         * math/test-idouble.c: Likewise.
13235         * math/test-ifloat.c: Likewise.
13236         * math/test-ildoubl.c: Likewise.
13237         * math/test-ldouble.c: Likewise.
13238         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
13240 2015-05-13  Roland McGrath  <roland@hack.frob.com>
13242         * sysdeps/nacl/fdopendir.c: New file.
13244         * dirent/scandir-tail.c: New file.
13245         * dirent/scandir64-tail.c: New file.
13246         * dirent/Makefile (routines): Add them.
13247         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
13248         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
13249         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
13250         [!SCANDIR] (SCANDIR_TAIL): New macro.
13251         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
13252         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
13253         (SCANDIRAT): Macro removed.
13254         (SCANDIR_TAIL): New macro.
13255         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
13256         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
13257         (SCANDIRAT): Just call __opendirat and __scandir_tail.
13258         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
13259         (READDIR): Macro removed.
13260         (SCANDIR_TAIL): New macro.
13261         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
13262         (SCANDIR_TAIL): New macro.
13264         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
13265         * dirent/scandir-cancel.c: ... to this new file.
13266         * dirent/Makefile (routines): Add it.
13267         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
13268         * sysdeps/unix/sysv/linux/i386/scandir64.c
13269         (SKIP_SCANDIR_CANCEL): Macro removed.
13270         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
13272         * dirent/tst-scandir.c: New file.
13273         * dirent/tst-scandir64.c: New file.
13274         * dirent/Makefile (tests): Add them.
13276 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13278         [BZ #18409]
13279         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
13281 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13283         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
13284         list.
13286 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
13288         * benchtests/bench-strcoll.c: New benchmark.
13289         * benchtests/Makefile: Generate locales and run benchmark.
13290         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
13291         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
13292         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
13293         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
13294         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
13295         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
13296         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
13297         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
13298         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
13299         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
13300         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
13301         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
13302         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
13303         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
13304         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
13305         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
13306         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
13307         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
13308         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
13309         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
13310         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
13311         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
13312         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
13313         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
13315 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
13317         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
13318         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13320 2015-05-12  Roland McGrath  <roland@hack.frob.com>
13322         * posix/uname-values.h: New file.
13323         * posix/uname.c: Include that instead of <config-name.h>.
13324         * sysdeps/nacl/uname-values.h: New file.
13325         * sysdeps/arm/nacl/uname-values.h: New file.
13327 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
13329         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
13330         splitting into fields.
13332 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
13334         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
13335         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
13336         * locale/localeinfo.h: Add enum collation_encoding_type.
13337         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
13338         * programs/ld-collate.c (collate_output): Add encoding type info.
13339         * string/strcoll_l.c (STRDIFF): New function.
13340         * (STRCOLL): Use STRDIFF to skip over equal prefix.
13341         * wcsmbs/wcscoll_l.c: Define STRDIFF.
13343 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
13345         [BZ #18397]
13346         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
13347         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
13348         <fpu_control.h> instead of <math/fpu_control.c>.
13349         * sysdeps/mips/mips32/fpu/Makefile: New file.
13351 2015-05-11  Andreas Schwab  <schwab@suse.de>
13353         [BZ #18007]
13354         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
13355         nss_endgrent.
13356         (_nss_compat_endgrent): Call nss_endgrent.
13357         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
13358         nss_endpwent.
13359         (_nss_compat_endpwent): Call nss_endpwent.
13360         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
13361         needent, call nss_setspent only if non-zero.
13362         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
13363         (internal_endspent): Don't call nss_endspent.
13364         (_nss_compat_endspent): Call nss_endspent.
13365         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
13366         Remove.  All uses removed.
13367         (internal_setent): Remove parameter stayopen, add parameter
13368         stream.  Use it instead of global variable.
13369         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
13370         (internal_endent, internal_getent): Add parameter stream.  Use it
13371         instead of global variable.
13372         (CONCAT(_nss_files_end,ENTNAME))
13373         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
13374         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
13375         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
13376         uses removed.
13377         (internal_setent, internal_endent): Add parameter stream.  Use it
13378         instead of global variable.
13379         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
13380         stream.
13381         (get_next_alias): Add parameter stream.
13382         (_nss_files_getaliasent_r): Pass global stream.
13383         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
13384         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
13385         (_nss_files_gethostbyname4_r): Pass local stream to
13386         internal_setent, internal_getent and internal_endent.  Remove
13387         locking.
13389 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13391         * tst-strfmon1.c (tests): Update expected currency symbol.
13393 2015-05-08  Roland McGrath  <roland@hack.frob.com>
13395         * sysdeps/nacl/gethostname.c: New file.
13397 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
13399         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
13400         and sinh.
13401         * math/auto-libm-test-out: Regenerated.
13402         * sysdeps/i386/fpu/libm-test-ulps: Update.
13403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13405 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
13407         [BZ #18125]
13408         * stdlib/tst-setcontext3.c: New file.
13409         * stdlib/tst-setcontext3.sh: New file.
13410         * stdlib/Makefile (tests): Add tst-setcontext3.
13411         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
13412         to verify test program created output file.
13413         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
13414         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
13415         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
13416         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
13418 2015-05-06  Roland McGrath  <roland@hack.frob.com>
13420         [BZ #18383]
13421         * elf/tst-tlsalign.c: New file.
13422         * elf/tst-tlsalign-static.c: New file.
13423         * elf/tst-tlsalign-lib.c: New file.
13424         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
13425         (tests-static): Add tst-tlsalign-static.
13426         (modules-names): Add tst-tlsalign-lib.
13427         (test-xfail-tst-tlsalign): New variable.
13428         (test-xfail-tst-tlsalign-static): New variable.
13430         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
13431         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
13433 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
13435         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
13436         csqrt, erfc, sin and sincos.
13437         * math/auto-libm-test-out: Regenerated.
13438         * sysdeps/i386/fpu/libm-test-ulps: Update.
13439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13441 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13443         * sysdeps/aarch64/libm-test-ulps: Update.
13445 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
13447         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
13448         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
13449         * math/auto-libm-test-out: Regenerated.
13450         * sysdeps/i386/fpu/libm-test-ulps: Update.
13451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13453 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13455         [BZ #18265]
13456         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
13457         (wcsncpy): Likewise.
13459 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13461         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13462         Assume __ASSUME_FALLOCATE is always true.
13463         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13464         (__posix_fallocate64_l64): Likweise.
13465         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
13466         (posix_fallocate): Likewise.
13467         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
13468         (__posix_fallocate64_l64): Likewise.
13469         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13470         [!__ASSUME_FALLOCATE]: Add comment.
13472 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13474         * sysdeps/unix/sysv/linux/i386/Makefile
13475         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
13476         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
13477         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
13478         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13479         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13480         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
13481         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
13483 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
13485         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
13486         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
13487         tgamma.
13488         * math/auto-libm-test-out: Regenerated.
13489         * sysdeps/i386/fpu/libm-test-ulps: Update.
13490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13492 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13494         * math/auto-libm-test-in: Add more tests of tgamma.
13495         * math/auto-libm-test-out: Regenerated.
13496         * sysdeps/i386/fpu/libm-test-ulps: Update.
13497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13499         * math/auto-libm-test-in: Add more tests of tanh.
13500         * math/auto-libm-test-out: Regenerated.
13501         * sysdeps/i386/fpu/libm-test-ulps: Update.
13502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13504         * math/auto-libm-test-in: Add more tests of tan.
13505         * math/auto-libm-test-out: Regenerated.
13506         * sysdeps/i386/fpu/libm-test-ulps: Update.
13507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13509         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
13510         * math/auto-libm-test-out: Regenerated.
13511         * sysdeps/i386/fpu/libm-test-ulps: Update.
13512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13514         * math/auto-libm-test-in: Add another test of pow.
13515         * math/auto-libm-test-out: Regenerated.
13516         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13518         * math/auto-libm-test-in: Add more tests of lgamma.
13519         * math/auto-libm-test-out: Regenerated.
13520         * sysdeps/i386/fpu/libm-test-ulps: Update.
13521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13523         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
13524         log1p.
13525         * math/auto-libm-test-out: Regenerated.
13526         * sysdeps/i386/fpu/libm-test-ulps: Update.
13527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13529 2015-05-01  Mark Wielaard  <mjw@redhat.com>
13531         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
13532         Elf64_Chdr structs and ELFCOMPRESS constants.
13534 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13536         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
13537         expm1.
13538         * math/auto-libm-test-out: Regenerated.
13539         * sysdeps/i386/fpu/libm-test-ulps: Update.
13540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13542         * math/auto-libm-test-in: Add more tests of erf and erfc.
13543         * math/auto-libm-test-out: Regenerated.
13544         * sysdeps/i386/fpu/libm-test-ulps: Update.
13545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13547 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13549         * config.h.in (HAVE_AARCH64_BE): Add.
13551 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
13553         * math/auto-libm-test-in: Add more tests of csqrt.
13554         * math/auto-libm-test-out: Regenerated.
13555         * sysdeps/i386/fpu/libm-test-ulps: Update.
13556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13558         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13559         * math/auto-libm-test-out: Regenerated.
13560         * sysdeps/i386/fpu/libm-test-ulps: Update.
13561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13563         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
13565 2015-04-29  Roland McGrath  <roland@hack.frob.com>
13567         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
13568         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
13570         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
13571         (euidaccess, eaccess): Define as weak aliases.
13573         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
13574         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
13575         but __suseconds_t is often 'long int' so some sources assume that
13576         type is being used (e.g. they use %ld to print tv_usec).
13578 2015-04-29  Florian Weimer  <fweimer@redhat.com>
13580         [BZ #18007]
13581         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
13582         (CVE-2014-8121)
13583         * nss/tst-nss-getpwent.c: New file.
13584         * nss/Makefile (tests): Add new test.
13586 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
13588         [BZ #18346]
13589         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
13590         exponents less than 48 as cases where high part of mantissa needs
13591         examining to determine whether argument is integral.
13592         * math/libm-test.inc (round_test_data): Add more tests.
13594 2015-04-28  Mark Wielaard  <mjw@redhat.com>
13596         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
13598 2015-04-27  David S. Miller  <davem@davemloft.net>
13600         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
13601         __tls_get_addr.
13602         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13604 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
13606         [BZ#18333]
13607         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
13609 2015-04-27  Florian Weimer  <fweimer@redhat.com>
13611         [BZ#18333]
13612         * time/tzset.c (parse_tzname): Return error on memory allocation
13613         failure.
13614         * test-skeleton.c (struct temp_name_list): Change type of name
13615         member to non-const.
13616         (add_temp_file): Create a copy of the file name.
13617         (delete_temp_files): Deallocate memory.
13618         (create_temp_file): Add comment.
13620 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13622         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
13623         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
13625 2015-04-24  Roland McGrath  <roland@hack.frob.com>
13627         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
13628         * sysdeps/arm/configure: Regenerated.
13630 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13632         [BZ #17715]
13633         * time/tzfile.c (__tzfile_read): Check for large values of
13634         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
13635         * time/tzset.c (__tzstring_len): New function, based on the old
13636         __tzstring function.
13637         (__tzstring): Call __tzstring_len.
13638         (parse_tzname): New helper function extracted from
13639         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
13640         the input string.
13641         (parse_offset): New helper function extracted from
13642         __tzset_parse_tz.  Replace switch with fallthrough with
13643         initialization before sscanf.
13644         (parse_rule): Likewise.
13645         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
13646         new-style function definition.
13647         * timezone/Makefile (tests): Add tst-tzset.
13648         (tst-tzset.out): Dependencies on time zone files.
13649         (tst-tzset-ENV): Set TZDIR.
13650         (testdata/XT%): Copy crafted time zone files.
13651         * timezone/README: Mention crafted time zone files.
13652         * timezone/testdata/XT1, timezone/testdata/XT2,
13653         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
13654         files.
13655         * timezone/tst-tzset.c: New test.
13657 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13659         * Makeconfig (+gccwarn): Remove -Winline.
13661 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13663         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
13665 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13667         * NEWS: Mention sysconf() cache information support for s390.
13668         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
13670 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
13672         * math/k_casinh.c (__kernel_casinh): Use __copysign.
13673         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
13674         (__nearbyint): Likewise.
13675         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
13676         (copysignl): Likewise.
13678 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
13680         [BZ #18287]
13681         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
13682         based on padding.  (CVE-2015-1781)
13684 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13686         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
13687         libc-vdso.h.
13688         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
13689         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
13690         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
13691         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13692         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13693         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
13694         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
13695         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13696         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13697         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
13698         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13699         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13700         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13701         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
13702         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13703         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
13704         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
13705         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
13706         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
13707         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
13708         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
13709         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
13710         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
13712 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
13714         * stdlib/setenv.c (__add_to_environ):
13715         Dump core quickly if setenv (..., NULL, ...) is called.
13716         This time, do it the right way, and pacify GCC with a pragma.
13718 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13720         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
13721         IMAP->l_prev cannot be null, and #if out the code for the contrary
13722         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
13723         believe that NS (&_dl_ns[NSID]) could point outside the array.
13725         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
13726         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
13727         before using NSID as an index.
13729 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
13731         [BZ #17825]
13732         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
13733         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
13734         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13736 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13738         Add preliminary port to Google Native Client on ARM.
13739         * abi-tags (.*-.*-nacl.*): New entry.
13740         * sysdeps/arm/nacl: New directory.
13741         * sysdeps/nacl: New directory.
13743 2015-04-16  David S. Miller  <davem@davemloft.net>
13745         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
13746         lowlevellock-futex.h
13748 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
13750         * sysdeps/tile/configure.ac: New file.
13751         * sysdeps/tile/configure: Regenerated.
13753 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13755         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
13756         conditionals for weak_alias and libc_hidden_weak.
13757         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
13758         libc_hidden_weak and weak_alias.
13759         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
13760         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
13761         and weak_alias for static one.
13763 2015-04-15  David S. Miller  <davem@davemloft.net>
13765         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13767 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13769         [BZ #18206]
13770         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
13771           Use signed comparision instead of substraction to avoid
13772           overflow bug.
13773         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
13774           Take the sign of ret.
13775         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
13776           Do not expect precise return values. Only the sign matters.
13777         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
13778         * wcsmbs/test-wcsncmp.c: New File.
13779         * string/test-strncmp.c: Add wcsncmp support.
13781 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13783         [BZ #6792]
13784         * math/w_log1p.c: New file.
13785         * math/w_log1pf.c: Likewise.
13786         * math/w_log1pl.c: Likewise.
13787         * math/Makefile (libm-calls): Add w_log1p.
13788         * math/s_log1pl.c (log1pl): Remove weak_alias.
13789         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
13790         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
13791         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
13792         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
13793         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
13794         [NO_LONG_DOUBLE] (log1pl): Likewise.
13795         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
13796         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
13797         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
13798         (log1p): Remove long_double_symbol.
13799         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
13800         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
13801         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
13802         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
13803         remove weak_alias for corresponding log1p function.
13804         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
13805         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13806         * sysdeps/ia64/fpu/w_log1p.c: New file.
13807         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
13808         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
13809         * math/libm-test.inc (log1p_test_data): Add errno expectations.
13811 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
13813         [BZ #18247]
13814         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
13815         decimal exponent by 1.
13816         * stdlib/tst-strtod-round-data: Add more tests.
13817         * stdlib/tst-strtod-round.c (tests): Regenerated.
13819 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
13821         * math/auto-libm-test-in: Add more tests of clog and clog10.
13822         * math/auto-libm-test-out: Regenerated.
13823         * sysdeps/i386/fpu/libm-test-ulps: Update.
13824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13826 2015-04-09  Roland McGrath  <roland@hack.frob.com>
13828         * Makeconfig (module-cppflags): Exclude all .v.i files.
13829         (skip-module-cppflags): Variable removed.
13831         * configure.ac (libc_config_ok): Initialize before reading
13832         preconfigure scripts, not after.
13833         * configure: Regenerated.
13835         * test-skeleton.c (TIMEOUT): Move #define to top level.
13836         (main): Grok environment variable TEST_DIRECT.  If set, print
13837         test expectation details into that file and then behave as if
13838         given --direct.
13840 2015-04-09  Florian Weimer  <fweimer@redhat.com>
13842         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
13843         warning on 32-bit.
13845 2015-04-08  David S. Miller  <davem@davemloft.net>
13847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13849 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13851         * math/auto-libm-test-in: Add more tests of atanh.
13852         * math/auto-libm-test-out: Regenerated.
13853         * sysdeps/i386/fpu/libm-test-ulps: Update.
13854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13856         * math/auto-libm-test-in: Add more tests of atan.
13857         * math/auto-libm-test-out: Regenerated.
13858         * sysdeps/i386/fpu/libm-test-ulps: Update.
13859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13861 2015-04-08  Florian Weimer  <fweimer@redhat.com>
13863         * elf/pldd.c (main): Rewrite to use struct
13864         scratch_buffer instead of extend_alloca.
13865         * elf/pldd-xx.c (find_maps): Likewise.
13866         * grp/initgroups.c: Include <scratch_buffer.h> instead of
13867         <alloca.h>.
13868         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
13869         scratch_buffer instead of extend_alloca.
13870         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
13871         grp/compat-initgroups.c.
13872         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
13873         Rewrite to use struct scratch_buffer instead of extend_alloca.
13874         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
13875         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13877 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13879         * math/auto-libm-test-in: Add more tests of cbrt.
13880         * math/auto-libm-test-out: Regenerated.
13881         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13883         * math/auto-libm-test-in: Add more tests of cabs.
13884         * math/auto-libm-test-out: Regenerated.
13885         * sysdeps/i386/fpu/libm-test-ulps: Update.
13886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13888         [BZ #18210]
13889         [BZ #18211]
13890         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
13891         (__ieee754_atan2): Set FE_TONEAREST mode for internal
13892         computations.
13893         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
13894         clog10.
13895         * math/auto-libm-test-out: Regenerated.
13896         * sysdeps/i386/fpu/libm-test-ulps: Update.
13897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13899         [BZ #18197]
13900         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
13901         (atan): Set FE_TONEAREST mode for internal computations.
13902         * math/auto-libm-test-in: Add more tests of atan.
13903         * math/auto-libm-test-out: Regenerated.
13905 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
13907         [BZ #17930]
13908         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
13910 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13912         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
13914 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13916         * include/scratch_buffer.h: New file.
13917         * malloc/scratch_buffer_grow.c: Likewise.
13918         * malloc/scratch_buffer_grow_preserve.c: Likewise.
13919         * malloc/scratch_buffer_set_array_size.c: Likewise.
13920         * malloc/tst-scratch_buffer.c: Likewise.
13921         * malloc/Makefile (routines): Add scratch_buffer_grow.
13922         (tests): Add test case.
13923         * malloc/Versions (GLIBC_PRIVATE): Export
13924         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
13925         __libc_scratch_buffer_set_array_size.
13927 2015-04-06  Richard Henderson  <rth@redhat.com>
13929         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
13930         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13932         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
13933         unsigned int before printing.
13935 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13937         [BZ #17596]
13938         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
13939         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13941 2015-04-02  Florian Weimer  <fweimer@redhat.com>
13943         * include/libc-internal.h (libc_max_align_t): Define.
13945 2015-04-02  Andreas Schwab  <schwab@suse.de>
13947         [BZ #16850]
13948         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
13950 2015-04-02  Mel Gorman  <mgorman@suse.de>
13952         [BZ #17195]
13953         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
13954         as well as the main arena.
13956 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13958         [BZ #18185]
13959         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
13960         sharing L2 cache to 2 for Silvermont/Knights Landing.
13962 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13964         [BZ #17711]
13965         * config.make.in (have-protected-data): New.
13966         * configure.ac: Check linker support for protected data symbol.
13967         * configure: Regenerated.
13968         * elf/Makefile (modules-names): Add tst-protected1moda and
13969         tst-protected1modb if $(have-protected-data) is yes.
13970         (tests): Add tst-protected1a and tst-protected1b if
13971         $(have-protected-data) is yes.
13972         ($(objpfx)tst-protected1a): New.
13973         ($(objpfx)tst-protected1b): Likewise.
13974         (tst-protected1modb.so-no-z-defs): Likewise.
13975         * elf/tst-protected1a.c: New file.
13976         * elf/tst-protected1b.c: Likewise.
13977         * elf/tst-protected1mod.h: Likewise.
13978         * elf/tst-protected1moda.c: Likewise.
13979         * elf/tst-protected1modb.c: Likewise.
13981 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13983         [BZ #17711]
13984         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
13985         indicates it is called from do_lookup_x on relocation against
13986         protected data, skip the data definion in the executable from
13987         copy reloc.
13988         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
13989         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
13990         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
13991         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
13992         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
13993         otherwise to 0.
13994         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13995         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
13996         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
13997         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13998         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
13999         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
14001 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
14003         * sysdeps/nptl/pthread.h: Remove duplicate definition of
14004         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
14006 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
14008         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
14009         THREAD_SETMEM_NC.
14010         * sysdeps/x86_64/nptl/tls.h: Ditto.
14012 2015-03-27  Roland McGrath  <roland@hack.frob.com>
14014         * dlfcn/tststatic.c (main): Converted to ...
14015         (do_test): ... this.
14016         (TEST_FUNCTION): New macro.
14017         Include test-skeleton.c.
14019 2015-03-26  Alan Modra  <amodra@gmail.com>
14021         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
14022         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
14023         zero for undefined weak.
14024         (elf_machine_plt_conflict): Similarly.
14026 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14028         * math/auto-libm-test-in: Add more tests of acosh, asinh and
14029         atanh.
14030         * math/auto-libm-test-out: Regenerated.
14031         * sysdeps/i386/fpu/libm-test-ulps: Update.
14032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14034         * math/auto-libm-test-in: Add another test of asin.
14035         * math/auto-libm-test-out: Regenerated.
14036         * sysdeps/i386/fpu/libm-test-ulps: Update.
14037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14039         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
14040         Remove macro.
14041         (LLL_EBX_REG): Likewise.
14042         (LLL_ENTER_KERNEL): Likewise.
14044         * math/auto-libm-test-in: Add more tests of asin.
14045         * math/auto-libm-test-out: Regenerated.
14046         * sysdeps/i386/fpu/libm-test-ulps: Update.
14047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14049         [BZ #18138]
14050         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
14051         libc_do_syscall_args): New structure.
14052         (INTERNAL_SYSCALL_MAIN_0): New macro.
14053         (INTERNAL_SYSCALL_MAIN_1): Likewise.
14054         (INTERNAL_SYSCALL_MAIN_2): Likewise.
14055         (INTERNAL_SYSCALL_MAIN_3): Likewise.
14056         (INTERNAL_SYSCALL_MAIN_4): Likewise.
14057         (INTERNAL_SYSCALL_MAIN_5): Likewise.
14058         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
14059         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
14060         Replace conditional definitions by conditional definitions of ....
14061         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
14062         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
14063         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
14064         (libpthread-sysdep_routines): Add libc-do-syscall.
14065         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
14066         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
14067         to __NR_futex not 240.
14069 2015-03-25  Alan Modra  <amodra@gmail.com>
14071         * NEWS: Advertise TLS optimization.
14072         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
14073         (DT_PPC_NUM): Increment.
14074         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
14075         (CHECK_STATIC_TLS): Use here.
14076         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
14077         TLS descriptors.
14078         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14079         * sysdeps/powerpc/dl-tls.c: New file.
14080         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
14081         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
14082         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
14083         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
14084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
14085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14088 2015-03-25  Alan Modra  <amodra@gmail.com>
14090         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
14091         for overlapping .opd entries" to "support...".
14092         * sysdeps/powerpc/powerpc64/configure: Regenerate
14094 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
14096         * math/auto-libm-test-in: Add more tests of acos.
14097         * math/auto-libm-test-out: Regenerated.
14098         * sysdeps/i386/fpu/libm-test-ulps: Update.
14099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14101         * math/auto-libm-test-in: Add more tests of expm1.
14102         * math/auto-libm-test-out: Regenerated.
14103         * sysdeps/i386/fpu/libm-test-ulps: Update.
14104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14106 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
14108         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14109         * math/auto-libm-test-out: Regenerated.
14110         * sysdeps/i386/fpu/libm-test-ulps: Update.
14111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14113         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14116         * math/auto-libm-test-in: Add more tests of log2.
14117         * math/auto-libm-test-out: Regenerated.
14118         * sysdeps/i386/fpu/libm-test-ulps: Update.
14119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14121 2015-03-23  Roland McGrath  <roland@hack.frob.com>
14123         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
14124         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
14125         _IO_IS_APPENDING bit in READ_WRITE instead.
14127 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14129         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14130         (__determine_cpumask_size): Replace extend_alloca with a
14131         variable-length array.  Do not treat res == 0 as an error.
14133 2015-03-23  Florian Weimer  <fweimer@redhat.com>
14135         [BZ #18100]
14136         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
14137         and integer overflow.
14138         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
14139         (main): Add integer overflow tests.
14140         * manual/pattern.texi (Calling Wordexp): Document additional use
14141         for WRDE_SYNTAX.
14143 2015-03-23  Alan Modra  <amodra@gmail.com>
14145         * config.h.in: Remove HAVE_ASM_PPC_REL16.
14146         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
14147         and false branch of conditional.
14148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14149         Likewise.
14151 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
14153         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
14154         libc-modules.h
14155         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
14156         unused declaration of _hurd_intr_rpc_msg_in_trap.
14157         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
14158         defined instead of whether it is non-zero.
14159         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
14160         input constraint instead of both input and output constraint.  Use ecx
14161         clobber instead of %ecx.
14162         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
14163         mutex_unlock): Use a statement expression instead of an expression list.
14164         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
14165         type to vm_size_t instead of vm_address_t.
14166         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
14167         defined instead of whether it is non-zero.
14168         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
14169         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
14170         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
14171         comparisons with mapaddr.
14172         * nscd/nscd-client.h: Include <time.h>.
14173         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
14174         9th parameter to __vm_region instead of int.
14175         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
14176         * scripts/check-local-headers.sh (exclude): Add device/,
14177         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
14178         cthreads.h.
14180 2015-03-19  Roland McGrath  <roland@hack.frob.com>
14182         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
14183         to account for alignment padding.
14184         * sysdeps/arm/memmove.S: Likewise.
14186 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
14188         * sysdeps/unix/sysv/linux/generic/README: New file.
14190 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
14192         [BZ #18138]
14193         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
14194         (futex_abstimed_wait)
14195         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
14196         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
14197         of lll_futex_timed_wait.
14199 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
14201         [BZ #17542]
14202         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
14204 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
14206         [BZ #17090]
14207         [BZ #17620]
14208         [BZ #17621]
14209         [BZ #17628]
14210         * NEWS: Update.
14211         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
14212         entries with Static TLS too.  Skip entries past the end of the
14213         allocated DTV, from Alan Modra.
14214         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
14215         Static TLS DTV entry set up from...
14216         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
14217         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
14218         * nptl/allocatestack.c (init_one_static_tls): ... and here...
14219         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
14220         for Static TLS.
14221         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
14222         that the slot we find is associated with the given map before
14223         using its generation count.
14224         * nptl_db/db_info.c: Include ldsodefs.h.
14225         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
14226         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
14227         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
14228         (link_map::l_tls_offset): New struct field.
14229         (dtv_t::counter): Likewise.
14230         (rtld_global): New struct.
14231         (_rtld_global): New rtld variable.
14232         (dl_tls_dtv_slotinfo_list): New rtld global field.
14233         (dtv_slotinfo_list): New struct.
14234         (dtv_slotinfo): Likewise.
14235         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
14236         (td_lookup): Rename to...
14237         (td_mod_lookup): ... this.  Use new mod parameter instead of
14238         LIBPTHREAD_SO.
14239         * nptl_db/td_thr_tlsbase.c: Include link.h.
14240         (dtv_slotinfo_list, dtv_slotinfo): New functions.
14241         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
14242         addresses even if the DTV is out of date or missing them.
14243         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
14244         index zero-length arrays.
14245         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
14246         (td_lookup): Make it a macro implemented in terms of...
14247         (td_mod_lookup): ... this declaration.
14248         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
14249         (DB_MAIN_VARIABLE): Likewise.
14251 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14253         [BZ #18134]
14254         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14256 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
14258         * stdlib/setenv.c (__add_to_environ): Revert previous change.
14260 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
14262         [BZ #18128]
14263         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
14264         (atomic_add, atomic_increment_and_test)
14265         (atomic_decrement_and_test): Fix 64-bit arithmetic.
14267 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
14269         * stdlib/setenv.c (__add_to_environ):
14270         Dump core quickly if setenv (..., NULL, ...) is called.
14272 2015-03-13  Roland McGrath  <roland@hack.frob.com>
14274         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
14275         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
14276         all the necessary asm magic in one place.
14277         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
14278         using those.
14280 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
14282         [BZ #14906]
14283         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
14284         traced file mtime. Use consistent log message.
14285         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
14286         (register_traced_file): Call install_watches. Always set mtime.
14287         (invalidate_cache): Iterate over all trace files. Call install_watches.
14288         (inotify_check_files): Don't inline. Handle watching parent
14289         directories and configuration file movement in and out.
14290         (handle_inotify_events): New function.
14291         (main_loop_poll): Call handle_inotify_events.
14292         (main_loop_epoll): Likewise.
14293         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
14294         (struct traced_file): Use array of inotify fds. Add parent directory,
14295         and basename.
14296         (struct database_dyn): Remove unused file_mtime.
14297         (init_traced_file): New inline function.
14298         (define_traced_file): New macro.
14299         * nss/nss_db/db-init.c: Use define_traced_file.
14300         (_nss_db_init): Use init_traced_file.
14301         * nss/nss_files/files-init.c: Use define_traced_file.
14302         (_nss_files_init): Use init_traced_file.
14304 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
14306         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
14307         [_LIBC]: Do not include <stdlib.h>.
14308         [!_LIBC] (abort): Remove declaration.
14309         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
14310         _FP_STATIC_ASSERT instead of conditionally calling abort.
14311         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
14312         (_FP_EXTEND_CNAN): Likewise.
14313         (FP_TRUNC): Likewise.
14314         (__FP_CLZ): Likewise.
14315         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
14317 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
14319         * manual/string.texi (XPG basename): Fix prototype.
14321 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14323         [BZ #18080]
14324         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
14325         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14326         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
14327         (__setcontext): Likewise.
14328         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
14329         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14330         Call rt_sigprocmask syscall one time to set new signal mask
14331         and retrieve the current signal mask instead of two calls.
14332         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
14333         (__swapcontext): Likewise.
14334         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
14335         * stdlib/tst-setcontext2.c: New file.
14337 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14339         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14341 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
14343         [BZ #18093]
14344         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
14345         the wrong size.
14347 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14349         [BZ #18043]
14350         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
14352 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14354         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
14355         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
14356         Remove define.
14357         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
14358         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
14359         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
14360         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
14361         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
14362         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
14363         define.
14364         * nptl_db/td_symbol_list.c (td_lookup): Remove
14365         HAVE_ASM_GLOBAL_DOT_NAME code.
14366         * sysdeps/powerpc/powerpc64/configure.ac: Remove
14367         HAVE_ASM_GLOBAL_DOT_NAME check.
14368         * sysdeps/powerpc/powerpc64/configure: Regenerate.
14369         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
14370         (DOT_LABEL): Remove define.
14371         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
14372         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
14373         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
14374         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
14375         (__TLS_GET_ADDR): Likewise.
14376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
14377         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
14379 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
14381         [BZ #18111]
14382         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
14383         (_FPU_SETCW): Initialize cw from fpsr before storing.
14384         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
14385         (fesetexceptflag): Rewrite using fpu_control.h.
14386         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
14388 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
14390         [BZ #18110]
14391         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
14392         asms.
14393         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14395 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
14397         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
14398         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
14399         abort.
14400         (_FP_FMA): Likewise.
14401         (_FP_DIV): Likewise.
14403 2015-03-10  Roland McGrath  <roland@hack.frob.com>
14405         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
14406         with 0 in that case.
14407         * Makefile (summarize-tests): New canned sequence, factored out of
14408         commands for targets tests and xtests.  Display summary lines that
14409         don't start with PASS: or XFAIL: rather than ones that do start with
14410         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
14411         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
14412         do start with ERROR: or FAIL:.
14413         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
14414         (except for [$(build-shared) = yes]).
14415         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
14416         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
14417         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
14418         * nptl/Makefile: Revert 2015-03-04 changes.
14419         [$(CXX) empty] (tests-unsupported): New variable.
14420         * debug/Makefile: Likewise.
14422         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
14423         gnulib file.  Replace __attribute with __attribute__ throughout.
14425 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
14427         * sysdeps/hppa/fpu/libm-test-ulps: Update.
14429 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14431         [BZ #18104]
14432         * math/auto-libm-test-in: Add another test of pow.
14433         * math/auto-libm-test-out: Regenerated.
14435 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14437         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
14438         $(config-cflags-nofma).
14440 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14442         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
14443         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
14444         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
14445         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
14446         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
14447         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
14448         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
14449         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
14450         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
14451         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
14452         Add comment on closing #endif.
14454 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14456         * posix/wordexp.c (CHAR_IN_SET): New macro.
14457         (parse_param): Use it.
14459 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14461         * sysdeps/powerpc/fpu/libm-test-ulps: update.
14463 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14465         [BZ #18043]
14466         * posix/wordexp.c (parse_param): Fix buffer overflow.
14467         * posix/wordexp-test.c (test_case): Add test case.
14469 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14471         [BZ #18042]
14472         * posix/wordexp.c (parse_backtick): Fix off-by-one.
14473         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
14475 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14477         [BZ #18043]
14478         * posix/wordexp-test.c (test_case): Add test for BZ #18043
14479         (do_bz18043): Delete.
14480         (at_page_end): New.
14481         (testit): Refactor to have words at the edge of unreadable page.
14483 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14485         [BZ #16734]
14486         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
14487         Cleanup read-only streams as well.
14488         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
14490 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14492         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
14493         <bits/libc-lockP.h>
14495 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
14497         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
14498         on [__KERNEL__].
14499         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
14500         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
14501         * soft-fp/op-common.h (_FP_DECL): Likewise.
14503 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14505         * elf/ifuncdep2.c (global): Replace
14506         __attribute__((visibility("protected"))) with
14507         asm (".protected global").
14508         * elf/ifuncmod1.c (global): Likewise.
14509         * elf/ifuncmod5.c (global): Likewise.
14511 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
14513         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
14514         <asm/sfp-machine.h> instead of <sfp-machine.h>.
14516 2015-03-06  Roland McGrath  <roland@hack.frob.com>
14518         * manual/install.texi (Configuring and compiling):
14519         Document test-wrapper-env-only.
14520         * INSTALL: Regenerated.
14522 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14524         [BZ #18043]
14525         * posix/wordexp.c (parse_param): Fix buffer overflow.
14526         * posix/wordexp-test.c (do_bz18043): Add test case.
14528 2015-03-06  Vincent Bernat  <vincent@bernat.im>
14530         * time/tst-strptime2.c (do_test): Ensure failing tests are
14531         reported correctly.
14532         * time/tst-strptime3.c (do_test): Likewise.
14534 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
14536         Fix aio_error thread-safety.
14537         * sysdeps/pthread/aio_error.c: New file
14538         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
14539         synchronization.
14541 2015-03-06  Florian Weimer  <fweimer@redhat.com>
14543         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
14544         (group_number, vfprintf): Use it.
14545         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
14546         (JUMP, REF): Use it.
14547         (WORK_BUFFER_SIZE): New enum constant.
14548         (process_arg, vfprintf): Use it.
14550 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
14552         * manual/errno.texi (Error Messages): Complete example function
14553         by adding missing #define.
14554         (program_invocation_name): Add statement indicating GNU
14555         extension and reference which header file declares the variable.
14556         (program_invocation_short_name): Likewise.
14558 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
14560         * manual/errno.texi (Error Messages): Delete strerror ISO C89
14561         compatibility note.
14563 2015-03-05  Roland McGrath  <roland@hack.frob.com>
14565         * Makeconfig (test-wrapper-env-only): New variable.
14566         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
14567         then use that with $(test-wrapper-env-only) rather than using
14568         $(test-wrapper-env) $(run-program-env) $($*-ENV).
14570 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14572         [BZ #18082]
14573         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
14574         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
14575         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
14576         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
14577         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
14578         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
14579         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
14580         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
14581         Likewise.
14582         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
14583         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
14584         Likewise.
14585         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
14586         Likewise.
14587         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
14588         Likewise.
14589         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
14590         Likewise.
14591         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
14592         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
14593         Likewise.
14594         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
14595         Likewise.
14596         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
14597         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
14599 2015-03-04  Roland McGrath  <roland@hack.frob.com>
14601         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
14602         (ETH_ALEN): New macro.
14603         (struct ether_addr): Use it for length of ether_addr_octet.
14605         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
14606         (setdb): Don't call __nss_configure_lookup for "rpc".
14607         (do_test): Don't call test_rpc.
14608         (output_rpcent, test_rpc): Functions moved ...
14609         * sunrpc/test-rpcent.c: ... to this new file.
14610         * sunrpc/Makefile (tests): Add it.
14612         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
14613         __xpg_sigpause.
14614         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
14615         * nptl/tst-signal6.c: Likewise.
14616         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
14617         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
14619         * configure.ac (libc_cv_cxx_link_ok): New check.
14620         Reset CXX to empty if it fails to link.
14621         * configure: Regenerated.
14622         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
14623         bug-atexit3-lib only if $(CXX) is nonempty.
14624         * nptl/Makefile (tests): Likewise for tst-cancel24.
14625         (tests, tests-static): Likewise for tst-cancel24-static.
14626         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
14627         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
14628         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
14629         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
14631 2015-03-04  Andreas Schwab  <schwab@suse.de>
14633         [BZ #17631]
14634         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
14635         for non-GCC compilers.
14636         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14637         Likewise.
14639 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14641         [BZ #17776]
14642         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
14643         integer before bitwise and assembly operations.
14644         (feclearexcept): Likewise.
14645         * math/test-fenvinline.c: New file.
14646         * math/Makefile: Add test-fenvinline test.
14648 2015-03-03  Alan Modra  <amodra@gmail.com>
14650         [BZ #16512]
14651         * scripts/localplt.awk: Strip off symbol version.
14652         * NEWS: Mention bug fix.
14654 2015-03-02  Roland McGrath  <roland@hack.frob.com>
14656         * sysdeps/pthread/timer_routines.c
14657         (timer_free_list, thread_free_list, thread_active_list): Make static.
14659 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
14661         [BZ #17779]
14662         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14663         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14664         Undefine.
14665         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14666         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14667         Likewise.
14668         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14669         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14670         Likewise.
14672 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14674         [BZ #18036]
14675         * posix/fnmatch_loop.c (END): Detect invalid pattern.
14676         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
14678 2015-03-02  Andreas Schwab  <schwab@suse.de>
14680         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
14681         variable name.
14683 2015-03-02  Florian Weimer  <fweimer@redhat.com>
14685         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
14686         Return error status.
14688 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
14690         [BZ #15969]
14691         * locale/findlocale.c (_nl_find_locale): Introduce const
14692         version of loc_name and drop unsafe type casts.
14694 2015-02-27  Roland McGrath  <roland@hack.frob.com>
14696         * dlfcn/tststatic2.c (main): Converted to ...
14697         (do_test): ... this.
14698         (TEST_FUNCTION): New macro.
14699         Include test-skeleton.c.
14701 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
14703         [BZ #17711]
14704         * elf/Makefile (tests): Add vismain only if PIE is enabled.
14705         (tests-pie): Add vismain.
14706         (CFLAGS-vismain.c): New.
14707         * elf/vismain.c: Add comments for PIE requirement.
14709 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14711         [BZ #18046]
14712         [BZ #18047]
14713         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
14714         0x1p-56L as threshold for just returning the argument.
14715         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
14716         0x1p-32L as threshold for just returning the argument.
14717         * math/auto-libm-test-in: Add more tests of atanh.
14718         * math/auto-libm-test-out: Regenerated.
14719         * sysdeps/i386/fpu/libm-test-ulps: Update.
14720         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
14722 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14724         * string/bcopy.c (bcopy): Call memmove for performance.
14726 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14728         * string/bzero.c (__bzero): Call memset for performance.
14730 2015-02-27  John David Anglin  <dave.anglin@bell.net>
14732         [BZ #18068]
14733         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
14734         to 00100000.
14736 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14738         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
14740 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14742         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
14743         (__kernel_standard): Use CSTR macro when setting exc.name.
14744         * sysdeps/ieee754/Makefile [$(subdir) = math]
14745         (CFLAGS-k_standard.c): Remove variable.
14747         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
14748         setting p and q from "else if" to "else".
14749         (qzero): Likewise.
14750         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
14751         (qone): Likewise.
14752         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
14753         (qzerof): Likewise.
14754         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
14755         (qonef): Likewise.
14756         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
14757         (qzero): Likewise.
14758         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
14759         (qone): Likewise.
14761         [BZ #18038]
14762         [BZ #18039]
14763         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
14764         return pi/2 for arguments below 0x1p-113L.
14765         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
14766         return pi/2 for arguments below 0x1p-106L.
14767         * math/auto-libm-test-in: Add more tests of acos.
14768         * math/auto-libm-test-out: Regenerated.
14770         [BZ #16351]
14771         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
14772         (MO): New macro.
14773         (__ieee754_asin): Force underflow exception for results with small
14774         absolute value.
14775         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
14776         (MO): New macro.
14777         (__ieee754_asinf): Force underflow exception for results with
14778         small absolute value.
14779         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
14780         (__ieee754_asin): Force underflow exception for results with small
14781         absolute value.
14782         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
14783         (__ieee754_asinf): Force underflow exception for results with
14784         small absolute value.
14785         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
14786         (__ieee754_asinl): Force underflow exception for results with
14787         small absolute value.
14788         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
14789         (__ieee754_asinl): Force underflow exception for results with
14790         small absolute value.
14791         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
14792         (__ieee754_asinl): Force underflow exception for results with
14793         small absolute value.
14794         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14795         Include <math.h>.
14796         * math/auto-libm-test-in: Do not mark underflow exceptions as
14797         possibly missing for bug 16351.
14798         * math/auto-libm-test-out: Regenerated.
14800         [BZ #18030]
14801         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
14802         of power of 2 down when low part has opposite sign.
14803         * math/libm-test.inc (logb_test_data): Add more tests.
14805 2015-02-26  Andreas Schwab  <schwab@suse.de>
14807         [BZ #18032]
14808         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
14809         over collating symbol inside a bracket expression.  Minor cleanup.
14810         * posix/tst-fnmatch3.c (do_test): Add test case.
14812 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14814         [BZ #18029]
14815         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
14816         Adjust exponent of power of 2 down when low part has opposite
14817         sign.
14818         * math/libm-test.inc (ilogb_test_data): Add more tests.
14820 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
14822         [BZ #15969]
14823         * locale/findlocale.c (_nl_find_locale): Fix constness error in
14824         the previous change.
14826         [BZ #15969]
14827         * locale/findlocale.c (_nl_find_locale): Retry archive search
14828         after alias expansion.
14830 2015-02-25  Roland McGrath  <roland@hack.frob.com>
14832         * iconv/tst-iconv3.c (main): Converted to ...
14833         (do_test): ... this.
14834         (TEST_FUNCTION): New macro.
14835         Include test-skeleton.c.
14837         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
14838         (convert): Make function static.
14839         (test_unalign): Likewise.  Add const to argument pointee types.
14840         (main): Replace with static function do_test.
14841         Print "Succeeded." only if RET is zero.
14842         (TEST_FUNCTION): New macro.
14843         Include test-skeleton.c.
14845         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
14846         returns a null pointer.
14848 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14850         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
14851         to __memcpy_ppc only for static builds.
14853 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
14855         [BZ #18020]
14856         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
14857         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
14858         * math/auto-libm-test-in: Add more tests of asinh.
14859         * math/auto-libm-test-out: Regenerated.
14860         * sysdeps/i386/fpu/libm-test-ulps: Update.
14861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14863 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
14865         [BZ #15850]
14866         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
14867         and ip6_mtuinfo definitions here.
14868         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
14869         in this define too.  Update comment.
14871 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
14873         * elf/sprof.c (load_shobj): Tweak error message to match others.
14875 2015-02-24  Kevin Easton  <kevin@guarana.org>
14877         [BZ #16145] (partial fix)
14878         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
14879         to reduce lock contention.
14881 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
14883         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
14884         (struct timex): Update time comment.
14885         (ADJ_SETOFFSET): Define.
14887 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14889         [BZ #18019]
14890         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14891         2**56 not 2**28 as threshold for log (2x) formula.
14892         * math/auto-libm-test-in: Add more tests of acosh.
14893         * math/auto-libm-test-out: Regenerated.
14894         * sysdeps/i386/fpu/libm-test-ulps: Update.
14895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14897 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14899         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
14900         parenthesis around the buf assignment.
14901         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
14903 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14905         [BZ #16783]
14906         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
14907         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
14908         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
14909         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14910         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14911         * math/libm-test.inc (scalb_test_data): Add more tests.
14913 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14915         [BZ #17916]
14916         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
14917         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
14919 2015-02-24  Eric Rannaud  <e@nanocritical.com>
14921         [BZ #17523]
14922         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
14923         * io/bits/fcntl2.h (open): Use it.
14924         (openat): Likewise.
14925         * io/open.c (__libc_open): Likewise.
14926         * io/open64.c (__libc_open64): Likewise.
14927         * io/open64_2.c (__open64_2): Likewise.
14928         * io/open_2.c (__open_2): Likewise.
14929         * io/openat.c (__openat): Likewise.
14930         * io/openat64.c (__openat64): Likewise.
14931         * io/openat64_2.c (__openat64_2): Likewise.
14932         * io/openat_2.c (__openat_2): Likewise.
14933         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
14934         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14935         * sysdeps/posix/open64.c (__libc_open64): Likewise.
14936         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14937         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14938         (__open_nocancel): Likewise.
14939         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14940         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14941         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
14943 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14945         [BZ #14841]
14946         * resolv/gethnamaddr.c (getanswer): Skip logging if
14947         RES_USE_DNSSEC is set.
14948         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14950 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14952         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
14954 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
14956         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14957         201304L, for Unicode 7.
14959 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
14961         [BZ #17836]
14962         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
14963         shared library.  Add gmon-start.os otherwise.
14964         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
14965         $(objpfx)gmon-start.os if builing shared library.
14966         ($(objpfx)g$(static-start-installed-name)): Likewise.
14968 2015-02-23  Andreas Schwab  <schwab@suse.de>
14970         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
14972 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
14974         [BZ #17269]
14975         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
14976         (enlarge_userbuf): Likewise.
14978 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
14980         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
14981         * math/atest-exp.c (TIMEOUT): Adjust to 200.
14982         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
14983         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
14985 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
14987         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
14988         expression inside statement expression.
14990 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14992         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
14993         <sysdeps/nptl/lowlevellock.h> and remove macros and
14994         functions that are now defined there.
14995         (SYS_futex): Remove.
14996         (lll_compare_and_swap): Remove.
14997         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
14999 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
15001         [BZ #17999]
15002         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
15003         instead of scandirat.
15004         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
15005         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
15006         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
15007         __scandirat.
15008         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
15009         (__scandirat): Declare.  Use libc_hidden_proto.
15010         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
15011         Remove variable.
15012         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
15014 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15016         [BZ #15319]
15017         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
15018         (MO): New macro.
15019         (__ieee754_atan2): For results with small absolute value, force
15020         underflow exception and remove excess range and precision from
15021         return value.
15022         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
15023         (MO): New macro.
15024         (__ieee754_atan2f): For results with small absolute value, force
15025         underflow exception and remove excess range and precision from
15026         return value.
15027         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
15028         (MO): New macro.
15029         (__atan): For results with small absolute value, force underflow
15030         exception and remove excess range and precision from return value.
15031         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
15032         (MO): New macro.
15033         (__atanf): For results with small absolute value, force underflow
15034         exception and remove excess range and precision from return value.
15035         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
15036         <math.h>.
15037         (__ieee754_atan2): Force underflow exception for results with
15038         small absolute value.
15039         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
15040         <math_private.h>.
15041         (atan): Force underflow exception for results with small absolute
15042         value.
15043         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
15044         (__atanf): Force underflow exception for results with small
15045         absolute value.
15046         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
15047         <math.h>.
15048         (__atanl): Force underflow exception for results with small
15049         absolute value.
15050         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
15051         (__atanl): Force underflow exception for results with small
15052         absolute value.
15053         * sysdeps/x86/fpu/bits/mathinline.h
15054         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
15055         (__ieee754_atan2): Only define inline for long double.
15056         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15057         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
15058         * math/auto-libm-test-in: Do not mark underflow exceptions as
15059         possibly missing for bug 15319.  Add more tests of atan2.
15060         * math/auto-libm-test-out: Regenerated.
15061         * math/libm-test.inc (casin_test_data): Do not mark underflow
15062         exceptions as possibly missing for bug 15319.
15063         (casinh_test_data): Likewise.
15064         * sysdeps/i386/fpu/libm-test-ulps: Update.
15066 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
15068         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
15069         * sysdeps/mips/bits/endian.h: Fix comments.
15071 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
15073         [BZ #17996]
15074         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
15075         (hdestroy_r): Likewise.
15076         (hsearch_r): Likewise.
15077         (__hcreate_r): Declare and use libc_hidden_proto.
15078         (__hdestroy_r): Likewise.
15079         (__hsearch_r): Likewise.
15080         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
15081         (hcreate): Call __hcreate_r instead of hcreate_r.
15082         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
15083         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
15084         as weak alias of __hcreate_r.
15085         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
15086         __hdestroy_r.
15087         (hsearch_r): Rename to __hsearch_r and define as weak alias of
15088         __hsearch_r.
15089         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
15090         Remove variable.
15091         (test-xfail-XPG4/search.h/linknamespace): Likewise.
15092         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
15093         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
15094         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15096 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15098         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
15099         arena_lock into a single arena_get.
15101 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
15103         * dl-reloc.c: Inlucde libc-internal.h.
15104         (_dl_try_allocate_static_tls): Call ALIGN_UP.
15105         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
15106         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
15107         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
15108         (grow_heap): Likewise.
15109         * malloc/malloc.c: Include libc-internal.h.
15110         (do_check_malloc): Call powerof2.
15111         (sysmalloc): Use pagesize. Call ALIGN_UP.
15112         (systrim): Use pagesize.
15113         (mremap_chunk): Use pagesize. Call ALIGN_UP.
15114         (__libc_valloc): Use pagesize.
15115         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
15117 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15119         [BZ #17991]
15120         * include/sys/resource.h (__getrlimit64): Declare.  Use
15121         libc_hidden_proto.
15122         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
15123         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
15124         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
15125         getrlimit64.
15126         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
15127         __getrlimit64.
15128         [!getrlimit64] (getrlimit64): Define as weak alias of
15129         __getrlimit64.  Use libc_hidden_weak.
15130         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
15131         using __getrlimit64 not __new_getrlimit64.
15132         (__GI_getrlimit64): Likewise.
15133         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
15134         Likewise.
15135         (__GI_getrlimit64): Likewise.
15136         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
15137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
15138         (getrlimit): Add __getrlimit64 alias.
15139         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
15140         Likewise.
15141         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
15142         Remove variable.
15143         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
15144         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15146 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
15148         * libio/fileops.c: Add missing sys/mman.h
15149         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
15151 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
15153         * manual/math.texi (Errors in Math Functions): Clarify goals
15154         regarding inexact and underflow exceptions.
15156 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15158         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
15159         * sysdeps/mips/memset.S: Ditto.
15161 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
15163         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
15165 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15167         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
15168         (__v1longjmp): Remove versioned symbol.
15169         (__v1siglongjmp): Remove alias and versioned symbol.
15170         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
15171         (__v2siglongjmp): Likewise.
15173 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15175         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
15177 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
15179         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
15181 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15183         [BZ #17987]
15184         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
15185         zero result does not depend on the sign resulting from
15186         subtraction.
15187         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15188         Likewise.
15189         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15190         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15191         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15192         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15193         * math/libm-test.inc (remquo_test_data): Add more tests.
15195 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
15197         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
15198         Problem reported by J William Piggott.
15200 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
15202         [BZ #17978]
15203         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
15204         products 4 * y and 2 * y where those would overflow.
15205         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15206         Likewise.
15207         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15208         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15209         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15210         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15211         * math/libm-test.inc (remquo_test_data): Add more tests.
15213         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
15215         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
15216         [defined _COMPILING_NEWLIB].
15217         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
15218         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
15220         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
15221         [!defined __mips_isa_rev || __mips_isa_rev < 6].
15223 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15225         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
15226         acquired.
15228 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
15230         [BZ #17792]
15231         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
15232         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
15233         HOST_STACK_END_ADDR): Likewise.
15235 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
15237         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
15238         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
15239         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
15241 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15243         * sysdeps/generic/c++-types.data: New file.
15244         * sysdeps/generic/ld.abilist: New file.
15245         * sysdeps/generic/libBrokenLocale.abilist: New file.
15246         * sysdeps/generic/libanl.abilist: New file.
15247         * sysdeps/generic/libc.abilist: New file.
15248         * sysdeps/generic/libcrypt.abilist: New file.
15249         * sysdeps/generic/libdl.abilist: New file.
15250         * sysdeps/generic/libm.abilist: New file.
15251         * sysdeps/generic/libpthread.abilist: New file.
15252         * sysdeps/generic/libresolv.abilist: New file.
15253         * sysdeps/generic/librt.abilist: New file.
15255 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15257         [BZ #17569]
15258         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15259         Compute absolute value of x as modified by fmod, not original
15260         value of x.
15261         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
15262         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
15263         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
15264         RUN_TEST_ffI_f1_mod8.
15265         (remquo_test_data): Add more tests.
15267 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15269         * sysdeps/init_array/pt-crti.S: New file.
15271 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15273         [BZ #17967]
15274         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
15275         __builtin_fmaf instead of relying on contraction of a * b + c.
15277 2015-02-12  J William Piggott  <elseifthen@gmx.com>
15279         [BZ #17969]
15280         * manual/time.texi: correct the zoneinfo path in the TZ Variable
15281         node.
15283 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15285         [BZ #17964]
15286         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
15287         __builtin_fma instead of relying on contraction of a * b + c.
15289 2015-02-12  Roland McGrath  <roland@hack.frob.com>
15291         * Makeconfig (ASFLAGS): Add -Werror=undef.
15292         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
15293         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
15294         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
15296         * Makeconfig (after-link): New variable.
15297         (+link-pie, +link-pie-tests): Use it.
15298         (+link-static, +link-static-tests): Likewise.
15299         (+link, +link-tests): Likewise.
15300         * Makerules (build-module, build-module-asneeded): Likewise.
15301         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
15302         Likewise.
15303         * elf/Makefile ($(objpfx)ld.so): Likewise.
15305 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
15307         [BZ #17965]
15308         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
15309         both struct timeval and struct timespec.
15311 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15313         [BZ #16560]
15314         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15315         and redefine.
15316         (__ieee754_exp2l): Do not multiply small fractional parts by
15317         M_LN2l.
15318         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
15319         small argument.
15320         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15321         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15322         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
15323         * math/auto-libm-test-in: Add more tests of exp2.
15324         * math/auto-libm-test-out: Regenerated.
15326 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15328         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
15329         unaligned path.
15331 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15333         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
15334         little endian.
15336 2015-02-12  Andreas Schwab  <schwab@suse.de>
15338         [BZ #15790]
15339         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15340         Filter out elision flags from value returned in kind.
15341         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
15342         * nptl/tst-pthread-mutexattr.c: New file.
15344 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15346         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
15347         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
15348         into gnu-gnu, and update comment to refer to abi-tags.
15350 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
15352         [BZ #15467]
15353         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
15354         (__sincos): Set errno to EDOM for infinite argument.
15355         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
15356         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
15357         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
15358         (__sincosl): Set errno to EDOM for infinite argument.
15359         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
15360         (__sincosl): Set errno to EDOM for infinite argument.
15361         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
15362         (__sincosl): Set errno to EDOM for infinite argument.
15363         * math/libm-test.inc (sincos_test_data): Test errno setting.
15365 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
15367         * string/strxfrm_l.c: Remove #define STRCMP.
15368         * string/strcoll_l.c: Remove #define STRLEN.
15369         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
15370         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
15372 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
15374         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
15375         * sysdeps/mips/mips32/sfp-machine.h: ... here.
15376         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
15377         * sysdeps/mips/mips64/Makefile: ... here.
15378         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
15379         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
15380         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
15381         * sysdeps/mips/mips64/sfp-machine.h: ... here.
15382         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
15383         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
15384         * sysdeps/mips/mips64/n64/Implies: Likewise.
15386 2015-02-10  Roland McGrath  <roland@hack.frob.com>
15388         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
15389         <sys/time.h>, <string.h>, and <errno.h>.
15390         (dest_offset, dest_address, value, zero): Remove unused variables.
15391         (ldouble): Remove typedef.
15392         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
15393         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
15394         1).  Fix code style.
15395         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
15396         (check): Function removed.
15397         (CHECK): New macro.
15398         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
15399         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
15400         Don't call set_sigaction_FP and remove_sigaction_FP here.
15401         (ldouble_test): Just use 'long double' as macro argument, no need for
15402         the 'ldouble' typedef.
15403         (do_test): Set up SIGFPE handler at start, using plain signal rather
15404         than sigaction.  Fix code style.
15406 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
15408         [BZ #17949]
15409         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
15410         jump label.
15412 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15414         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
15415         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15417         * sysdeps/powerpc/configure.ac: Remove file.
15418         * sysdeps/powerpc/configure: Likewise.
15420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15421         [sysdep_routines]: Remove wordcopy-power6 object.
15422         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15423         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
15424         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
15425         (__memmove_ppc32): Likewise.
15426         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
15427         file.
15428         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
15429         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
15430         Remove preprocessor.
15432         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15433         [sysdep_routines]: Remove wide chars objects.
15434         [wcsmbs]: New rule for wide char objects.
15436         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15437         Remove wordcopy-power6 obejct.
15438         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
15439         Use local call for wordcopy and memcpy symbols.
15440         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
15441         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
15442         implementation for loader.
15443         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
15445         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15446         Remove wordcopy-power7 object.
15447         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
15448         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
15449         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
15450         (_wordcopy_fwd_dest_aligned): Likewise.
15451         (_wordcopy_bwd_aligned): Likewise.
15452         (_wordcopy_bwd_dest_aligned): Likewise.
15454         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
15455         Rewrite to call __memmove_ppc instead of include default
15456         implementation.
15458         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15459         Remove wide chars objects.
15460         [wcsmbs]: New rule for wide char objects.
15462 2015-02-09  Andreas Schwab  <schwab@suse.de>
15464         [BZ #17912]
15465         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15466         in terms of __O_DIRECTORY.
15468 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15470         * time/getdate.c: Include <stdbool.h>.
15471         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
15472         call PTR_MANGLE.
15473         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
15474         PTR_DEMANGLE.
15476 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
15478         Add ersatz _Static_assert on older C hosts
15479         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
15480         pre-C11 C platform that is not known to support _Static_assert.
15482 2015-02-07  Richard Braun  <rbraun@sceen.net>
15484         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
15485         sigstate.
15486         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
15488 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15490         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
15491         priority against unexistent AIO_PRIO_DELTA_MAX.
15492         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
15493         instead of int.
15494         * misc/fchflags.c (fchflags): Likewise.
15495         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
15496         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
15497         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
15498         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
15499         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
15500         Declare macros.
15501         [__USE_MISC] (chflags, fchflags): Declare functions.
15502         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
15503         EINVAL when nfds is greater than FD_SETSIZE.
15504         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
15505         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
15506         45.
15507         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
15508         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
15509         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
15510         MACH_RCV_TIMED_OUT.
15511         * hurd/hurd/signal.h (_hurd_self_sigstate,
15512         _hurd_critical_section_lock, _hurd_critical_section_unlock):
15513         Explicit casts from void *.
15514         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
15515         * abi-tags: Rename gnu-gnu os into gnu.
15517         [BZ #4719]
15518         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
15519         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
15520         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
15521         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
15522         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
15523         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
15525         [BZ #17944]
15526         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
15527         duplicates ADDR->sun_path with sockaddr LEN limitation.
15528         * sysdeps/mach/hurd/connect.c: Include <string.h>
15529         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
15530         * sysdeps/mach/hurd/sendmsg.c: Likewise.
15531         * sysdeps/mach/hurd/sendto.c: Likewise.
15532         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
15533         implementing it by hand.
15535 2015-02-06  Roland McGrath  <roland@hack.frob.com>
15537         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
15538         Use sfi_breg on ldr.
15539         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
15540         Likewise.
15542         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
15543         it's defined.
15544         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
15545         Test SIGSETXID only if it's defined.
15547         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
15549         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
15550         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
15552         * nptl/tst-align2.c: Moved ...
15553         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
15554         * nptl/Makefile (tests): Remove tst-align2.
15555         * sysdeps/unix/sysv/linux/Makefile
15556         [$(subdir) = nptl] (tests): Add tst-align-clone.
15557         * nptl/tst-getpid1.c: Moved ...
15558         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
15559         * nptl/tst-getpid2.c: Moved ...
15560         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
15561         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
15562         * sysdeps/unix/sysv/linux/Makefile
15563         [$(subdir) = nptl] (tests): ... here.
15564         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
15565         * sysdeps/unix/sysv/linux/Makefile
15566         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
15568         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
15569         Drop trailing \n from perror argument.  Use return rather than exit.
15571         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
15572         on [SA_SIGINFO].
15573         * nptl/tst-cancel21.c (do_test): Likewise.
15574         * debug/tst-backtrace6.c: Include <signal.h> first thing.
15575         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
15576         [!SA_SIGINFO]: Make it a stub test.
15578         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
15579         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
15581         * posix/tst-getlogin.c: Move to ...
15582         * login/tst-getlogin.c: ... here.
15583         * posix/Makefile (tests): Move tst-getlogin to ...
15584         * login/Makefile (tests): ... here.
15586         * libio/tst-atime.c (do_test): Move local variables SV and E
15587         inside [ST_NOATIME] conditional.
15589         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
15591         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
15593         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
15594         (wait_code): New function replaces macro.
15595         Call nanosleep rather than syscall.
15597         * nptl/pt-system.c: Rewritten.  Put everything under
15598         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15599         Use IFUNC to redirect when possible.
15601         * nptl/pt-longjmp.c: Rewritten.  Put everything under
15602         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15603         Use IFUNC to redirect when possible.
15605         * nptl/pt-fork.c: Rewritten.  Put everything under
15606         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15607         Use IFUNC to redirect when possible.
15608         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
15610         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
15611         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
15612         unconditionally nowadays.  This included the only reference to
15613         __vdso_clock_gettime that appears outside libc proper.
15614         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
15615         Remove version set (containing only __vdso_clock_gettime).
15616         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15617         Add attribute_hidden.
15618         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15619         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
15620         libc_hidden_data_def.
15621         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15622         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15624         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
15625         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
15626         setrpcent, and getrpcport to ...
15627         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
15628         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
15629         getrpcbynumber_r, and getrpcent_r to ...
15630         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
15631         * inet/getrpcbyname.c: Moved ...
15632         * sunrpc/getrpcbyname.c: ... here.
15633         * inet/getrpcbyname_r.c: Moved ...
15634         * sunrpc/getrpcbyname_r.c: ... here.
15635         * inet/getrpcbynumber.c: Moved ...
15636         * sunrpc/getrpcbynumber.c: ... here.
15637         * inet/getrpcbynumber_r.c: Moved ...
15638         * sunrpc/getrpcbynumber_r.c: ... here.
15639         * inet/getrpcent.c: Moved ...
15640         * sunrpc/getrpcent.c: ... here.
15641         * inet/getrpcent_r.c: Moved ...
15642         * sunrpc/getrpcent_r.c: ... here.
15643         * inet/Makefile (routines): Move those to ...
15644         * sunrpc/Makefile (routines): ... here.
15645         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
15646         the $(subdirs) list.
15647         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
15648         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
15649         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
15650         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
15652         * elf/Makefile (routines): Include $(all-dl-routines), not just
15653         $(dl-routines).
15654         (rtld-routines): Likewise.  Use = rather than :=.
15655         * sysdeps/aarch64/Makefile [$(subdir) = elf]
15656         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
15657         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
15658         * sysdeps/arm/Makefile: Likewise.
15659         * sysdeps/i386/Makefile: Likewise.
15660         * sysdeps/x86_64/Makefile: Likewise.
15661         * sysdeps/hppa/Makefile [$(subdir) = elf]
15662         (sysdep_routines, sysdep-rtld-routines): Don't add
15663         $(sysdep-dl-routines) to these.
15664         * sysdeps/ia64/Makefile: Likewise.
15665         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
15666         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
15667         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
15668         Don't add dl-static to these; sysdep-dl-routines alone is enough.
15669         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
15670         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
15671         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
15672         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
15673         * sysdeps/powerpc/Makefile [$(subdir) = elf]
15674         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
15675         these; sysdep-dl-routines alone is enough.
15677 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
15679         [BZ #17932]
15680         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
15681         where multiplication results in zero and third argument is finite
15682         and nonzero.
15683         * math/auto-libm-test-in: Add more tests of fma.
15684         * math/auto-libm-test-out: Regenerated.
15686         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
15687         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
15688         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
15689         (_FP_CMP_EQ): Likewise.
15690         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
15692         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
15693         extra argument CHECK_NAN.  Redefine as wrapper around
15694         _FP_EXTEND_CNAN.
15696 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
15698         * version.h (RELEASE): Set to "stable".
15699         (VERSION): Set to "2.21"
15700         * include/features.h (__GLIBC_MINOR__): Set to 21.
15702         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
15704 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15705             Paul Eggert  <eggert@cs.ucla.edu>
15707         [BZ #16618]
15708         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
15709         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
15710         size in bytes. Store needed elements in wpmax. Use needed size
15711         in bytes for extend_alloca.
15713 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
15715         * manual/install.texi: Latest tested versions are GCC 4.9.2,
15716         binutls 2.25, and texinfo 5.2.
15717         * INSTALL: Regenerate.
15718         * sysdeps/nios2/configure: Regenerate.
15719         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
15720         * manual/contrib.texi: Update.
15721         * po/be.po: Update.
15722         * po/bg.po: Update.
15723         * po/ca.po: Update.
15724         * po/cs.po: Update.
15725         * po/da.po: Update.
15726         * po/de.po: Update.
15727         * po/el.po: Update.
15728         * po/eo.po: Update.
15729         * po/es.po: Update.
15730         * po/fi.po: Update.
15731         * po/fr.po: Update.
15732         * po/gl.po: Update.
15733         * po/hr.po: Update.
15734         * po/hu.po: Update.
15735         * po/ia.po: Update.
15736         * po/id.po: Update.
15737         * po/it.po: Update.
15738         * po/ja.po: Update.
15739         * po/ko.po: Update.
15740         * po/lt.po: Update.
15741         * po/nb.po: Update.
15742         * po/nl.po: Update.
15743         * po/pl.po: Update.
15744         * po/pt_BR.po: Update.
15745         * po/ru.po: Update.
15746         * po/rw.po: Update.
15747         * po/sk.po: Update.
15748         * po/sl.po: Update.
15749         * po/sv.po: Update.
15750         * po/tr.po: Update.
15751         * po/uk.po: Update.
15752         * po/vi.po: Update.
15753         * po/zh_CN.po: Update.
15754         * po/zh_TW.po: Update.
15756         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
15757         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
15758         * sysdeps/hppa/dl-irel.h: Remove #warning.
15759         * sysdeps/hppa/entry.h: Provide prototype for
15760         __canonicalize_funcptr_for_compare and cast argument.
15761         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
15762         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
15763         * sysdeps/hppa/sotruss-lib.c: New file.
15764         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
15765         (atomic_compare_and_exchange_val_acq): Use __typeof__.
15766         (atomic_compare_and_exchange_bool_acq): Likewise.
15767         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
15768         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
15770         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
15771         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
15772         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
15774 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
15776         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
15777         called function in non-PIC case.
15779 2015-01-31  David S. Miller  <davem@davemloft.net>
15781         * sysdeps/sparc/sparc32/bits/atomic.h
15782         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
15783         unlock not after it.
15784         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
15785         volatile register usage warnings from the compiler.
15787         * sysdeps/sparc/nptl/sem_init.c: Delete.
15788         * sysdeps/sparc/nptl/sem_post.c: Delete.
15789         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
15790         * sysdeps/sparc/nptl/sem_wait.c: Delete.
15791         * sysdeps/sparc/sparc32/sem_init.c: New file.
15792         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
15793         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
15794         padding explicitly initialized.
15795         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
15796         padding for in-semaphore spinlock.
15797         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
15798         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
15799         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
15800         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
15801         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
15802         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
15803         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
15804         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
15805         version.
15806         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
15807         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
15809 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
15811         [BZ #17801]
15812         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15813         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
15814         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
15815         New.
15816         (index_AVX_Fast_Unaligned_Load): Likewise.
15817         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
15818         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
15819         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
15820         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
15821         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
15822         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
15823         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
15824         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
15825         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
15827 2015-01-29  Andreas Schwab  <schwab@suse.de>
15829         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
15831 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
15833         [BZ #17892]
15834         * nscd/nscd_stat.c (send_stats): Initialize DATA.
15836 2015-01-28  Martin Sebor  <msebor@redhat.com>
15838         * math/README.libm-test: Clarify. Add "How to read the test output."
15840 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
15842         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
15843         Define to 0.
15845 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
15847         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
15848         (__HAVE_64B_ATOMICS): Define to 0.
15850 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15852         [BZ #17885]
15853         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
15854         value to set as new flag.
15856         [BZ #16576]
15857         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
15858         and use _ARCH_PPCSQ instead.
15859         (__ieee754_sqrt): Likewise.
15860         (__ieee754_sqrtf): Likewise.
15861         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
15862         _ARCH_PPCSQ is defined.
15863         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
15864         fsqrt instruction.
15865         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
15866         _ARCH_PPCSQ is defined.
15867         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
15868         fsqrts instruction.
15869         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
15871 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15873         * iconv/loop.c: Suppress array out of bound warning caused by GCC
15874         bug (GCC BZ #64739).
15876 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
15878         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
15879         Mark _retval as used.
15880         (lll_futex_wake_unlock): Likewise.
15881         (lll_futex_timed_wait_requeue_pi): Likewise.
15883         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
15884         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
15885         register variables.
15887         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
15888         libm_hidden_def.
15890         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
15891         (__bswap_64): Mark as __always_inline.
15893 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
15895         [BZ #15378]
15896         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
15897         when none of the search directories exist.
15899 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15901         [BZ #17869]
15902         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
15903         power8 in .machine directive.
15905         [BZ #17868]
15906         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
15907         set dependency from opd value.
15909 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15911         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15912         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
15913         architecture.
15915 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15917         [BZ #17870]
15918         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
15919         with uint64_t.
15920         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
15921         (uint64_t) 1.
15922         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
15923         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
15924         Replace 1UL with (uint64_t) 1.
15925         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
15926         int with uint64_t.
15928 2015-01-23  Roland McGrath  <roland@hack.frob.com>
15930         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
15931         (if_freenameindex): Likewise.
15933         * resource/getrlimit64.c: Add missing libc_hidden_def.
15935 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
15937         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
15938         __label__.
15939         (_FP_FMA): Likewise.
15940         (_FP_TO_INT_ROUND): Likewise.
15941         (_FP_FROM_INT): Likewise.
15943 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15945         [BZ #16418]
15946         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
15947         Make code racy and cancel safe.
15949 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
15951         * sysdeps/arm/unwind-resume.h: Fix copyright year.
15952         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
15953         attribution.
15955         * pwd/tst-getpw.c: Rewrite.
15957         [BZ #17702]
15958         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
15959         (modules-names): Add moddummy1 and moddummy2.
15960         ($(objpfx)tst-rec-dlopen): Define.
15961         * dlfcn/moddummy1.c: New file.
15962         * dlfcn/moddummy2.c: New file.
15963         * dlfcn/tst-rec-dlopen.c: New file.
15964         * elf/dl-cache.c (_dl_load_cache_lookup):
15965         Return char*. Copy result with alloca/strcpy/strdup.
15966         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
15967         returns char*. Free cached. If not saving realname
15968         free cached.
15969         * elf/dl-open.c (dl_open_worker): Do not assert that
15970         _r_debug->r_state is RT_CONSISTENT.
15971         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
15972         returns char*.
15974 2015-01-21  Torvald Riegel  <triegel@redhat.com>
15975             Carlos O'Donell  <carlos@redhat.com>
15977         [BZ #12674]
15978         * nptl/sem_waitcommon.c: New file.
15979         * nptl/sem_wait.c: Include sem_waitcommon.c.
15980         (__sem_wait_cleanup, do_futex_wait): Remove.
15981         (__new_sem_wait): Adapt.
15982         (__new_sem_trywait): New function.
15983         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
15984         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
15985         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
15986         (sem_timedwait): Adapt.
15987         * nptl/sem_post.c (__new_sem_post): Adapt.
15988         (futex_wake): New function.
15989         (__old_sem_post): Add release MO fence.
15990         * nptl/sem_open.c (sem_open): Adapt.
15991         * nptl/sem_init.c (__new_sem_init): Adapt.
15992         (futex_private_if_supported): New function.
15993         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
15994         (__old_sem_getvalue): Add using previous code.
15995         * sysdeps/nptl/internaltypes.h: Adapt.
15996         * nptl/tst-sem13.c (do_test): Adapt.
15997         * nptl/tst-sem11.c (main): Adapt.
15998         * nptl/sem_trywait.c: Remove.
15999         * nptl/DESIGN-sem.txt: Remove.
16000         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
16001         (gen-as-const-headers): Remove structsem.sym.
16002         * nptl/structsem.sym: Remove.
16003         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
16004         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
16005         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
16006         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
16007         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
16008         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
16009         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
16010         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
16011         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
16012         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
16013         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
16014         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
16015         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
16016         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
16017         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
16018         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
16019         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
16020         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
16021         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
16022         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
16023         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
16024         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
16026 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
16028         * INSTALL: Regenerated.
16030         * po/libc.pot: Regenerated.
16032 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
16033             Sandra Loosemore  <sandra@codesourcery.com>
16034             Andrew Jenner  <andrew@codesourcery.com>
16035             Joseph Myers  <joseph@codesourcery.com>
16036             Nathan Sidwell  <nathan@codesourcery.com>
16038         * NEWS: Mention new Nios II port.
16039         * sysdeps/nios2/Implies: New file.
16040         * sysdeps/nios2/Makefile: New file.
16041         * sysdeps/nios2/Subdirs: New file.
16042         * sysdeps/nios2/Versions: New file.
16043         * sysdeps/nios2/__longjmp.S: New file.
16044         * sysdeps/nios2/abort-instr.h: New file.
16045         * sysdeps/nios2/backtrace.c: New file.
16046         * sysdeps/nios2/bits/endian.h: New file.
16047         * sysdeps/nios2/bits/fenv.h: New file.
16048         * sysdeps/nios2/bits/link.h: New file.
16049         * sysdeps/nios2/bits/setjmp.h: New file.
16050         * sysdeps/nios2/bsd-_setjmp.S: New file.
16051         * sysdeps/nios2/bsd-setjmp.S: New file.
16052         * sysdeps/nios2/configure: New generated file.
16053         * sysdeps/nios2/configure.ac: New file.
16054         * sysdeps/nios2/crti.S: New file.
16055         * sysdeps/nios2/crtn.S: New file.
16056         * sysdeps/nios2/dl-init.c: New file.
16057         * sysdeps/nios2/dl-machine.h: New file.
16058         * sysdeps/nios2/dl-sysdep.h: New file.
16059         * sysdeps/nios2/dl-tls.h: New file.
16060         * sysdeps/nios2/dl-trampoline.S: New file.
16061         * sysdeps/nios2/gccframe.h: New file.
16062         * sysdeps/nios2/gmp-mparam.h: New file.
16063         * sysdeps/nios2/jmpbuf-offsets.h: New file.
16064         * sysdeps/nios2/jmpbuf-unwind.h: New file.
16065         * sysdeps/nios2/ldsodefs.h: New file.
16066         * sysdeps/nios2/libc-tls.c: New file.
16067         * sysdeps/nios2/libm-test-ulps: New file.
16068         * sysdeps/nios2/machine-gmon.h: New file.
16069         * sysdeps/nios2/math-tests.h: New file.
16070         * sysdeps/nios2/math_private.h: New file.
16071         * sysdeps/nios2/memusage.h: New file.
16072         * sysdeps/nios2/nptl/Makefile: New file.
16073         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
16074         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
16075         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
16076         * sysdeps/nios2/nptl/pthreaddef.h: New file.
16077         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
16078         * sysdeps/nios2/nptl/tls.h: New file.
16079         * sysdeps/nios2/preconfigure: New file.
16080         * sysdeps/nios2/s_fma.c: New file.
16081         * sysdeps/nios2/s_fmaf.c: New file.
16082         * sysdeps/nios2/setjmp.S: New file.
16083         * sysdeps/nios2/sfp-machine.h: New file.
16084         * sysdeps/nios2/sotruss-lib.c: New file.
16085         * sysdeps/nios2/stackguard-macros.h: New file.
16086         * sysdeps/nios2/stackinfo.h: New file.
16087         * sysdeps/nios2/start.S: New file.
16088         * sysdeps/nios2/sysdep.h: New file.
16089         * sysdeps/nios2/tls-macros.h: New file.
16090         * sysdeps/nios2/tst-audit.h: New file.
16091         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
16092         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
16093         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
16094         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
16095         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
16096         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
16097         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
16098         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
16099         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
16100         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
16101         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
16102         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
16103         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
16104         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
16105         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
16106         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
16107         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
16108         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
16109         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
16110         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
16111         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
16112         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
16113         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
16114         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
16115         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
16116         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
16117         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
16118         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
16119         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
16120         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
16121         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
16122         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
16123         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
16124         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
16125         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
16126         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
16127         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
16128         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
16129         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
16130         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
16131         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
16132         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
16133         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
16134         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
16136 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16138         [BZ #17844]
16139         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
16140         (getutent): Use weak_alias in non SHARED case
16141         and default_symbol_version in SHARED case.
16142         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
16143         (getutent_r, pututline): Likewise.
16144         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
16145         (getutid): Likewise.
16146         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
16147         (getutid_r): Likewise.
16148         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
16149         (getutline): Likewise.
16150         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
16151         (getutline_r): Likewise.
16152         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
16153         (updwtmp): Likewise.
16155 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16157         [BZ #17848]
16158         * sysdeps/s390/s390-32/memcmp.S
16159         (memcmp_g5): Rename to __memcmp_g5.
16160         * sysdeps/s390/s390-32/memcpy.S
16161         (memcpy_g5): Rename to __memcpy_g5.
16162         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16163         (memcpy_mvcle) Rename to __memcpy_mvcle.
16164         * sysdeps/s390/s390-32/memset.S
16165         (memset_g5): Rename to __memset_g5.
16166         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16167         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16168         and use prefixed functions.
16169         * sysdeps/s390/s390-32/multiarch/memcmp.S
16170         (memcmp_z196): Rename to __memcmp_z196.
16171         (memcmp_z10): Rename to __memcmp_z10.
16172         (memcmp): Set alias to __memcmp_g5.
16173         (bcmp): Set alias to __memcmp_g5.
16174         * sysdeps/s390/s390-32/multiarch/memcpy.S
16175         (memcpy_z196): Rename to __memcpy_z196.
16176         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16177         (memcpy_z10): Rename to __memcpy_z10.
16178         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16179         (memcpy): Set alias to __memcpy_g5.
16180         * sysdeps/s390/s390-32/multiarch/memset.S
16181         (memset_z196): Rename to __memset_z196.
16182         Jump to __memset_mvcle instead of memset_mvcle.
16183         (memset_z10): Rename to __memset_z10.
16184         Jump to __memset_mvcle instead of memset_mvcle.
16185         (memset_mvcle) Rename to __memset_mvcle.
16186         (memset): Set alias to __memset_g5.
16187         * sysdeps/s390/s390-64/memcmp.S
16188         (memcmp_z900): Rename to __memcmp_z900.
16189         * sysdeps/s390/s390-64/memcpy.S
16190         (memcpy_z900): Rename to __memcpy_z900.
16191         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16192         (memcpy_mvcle) Rename to __memcpy_mvcle.
16193         * sysdeps/s390/s390-64/memset.S
16194         (memset_z900): Rename to __memset_z900.
16195         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
16196         (IFUNC_RESOLVE): Prefix ifunc-resolve function
16197         and use prefixed functions.
16198         * sysdeps/s390/s390-64/multiarch/memcmp.S
16199         (memcmp_z196): Rename to __memcmp_z196.
16200         (memcmp_z10): Rename to __memcmp_z10.
16201         (memcmp): Set alias to __memcmp_z900.
16202         (bcmp): Set alias to __memcmp_z900.
16203         * sysdeps/s390/s390-64/multiarch/memcpy.S
16204         (memcpy_z196): Rename to __memcpy_z196.
16205         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16206         (memcpy_z10): Rename to __memcpy_z10.
16207         Jump to __memcpy_mvcle instead of memcpy_mvcle.
16208         (memcpy): Set alias to __memcpy_z900.
16209         * sysdeps/s390/s390-64/multiarch/memset.S
16210         (memset_z196): Rename to __memset_z196.
16211         Jump to __memset_mvcle instead of memset_mvcle.
16212         (memset_z10): Rename to __memset_z10.
16213         Jump to __memset_mvcle instead of memset_mvcle.
16214         (memset_mvcle) Rename to __memset_mvcle.
16215         (memset): Set alias to __memset_z900.
16217 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
16219         [BZ #17748]
16220         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
16221         __fesetenv instead of fesetenv.
16223 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16225         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
16226         macro.
16228 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16230         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
16231         regression on LE.
16233         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
16234         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
16235         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16236         strncmp-power8 object.
16237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16238         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
16239         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
16240         * NEWS: Update.
16242 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16243             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16245         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
16246         trailing byte check.
16248 2015-01-13  David S. Miller  <davem@davemloft.net>
16250         * include/signal.h (__sigreturn): Guard with __USE_MISC.
16252 2015-01-13  Roland McGrath  <roland@hack.frob.com>
16254         * login/logout.c (logout): Use memset rather than bzero.
16255         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
16256         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
16257         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
16258         (_gethtbyaddr): Likewise.
16259         * locale/programs/simple-hash.c (bcopy): Macro removed.
16261 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16263         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16264         Add strcmp-power8 object.
16265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16266         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
16267         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
16268         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
16269         __strcmp_power8 implementation.
16270         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
16271         * NEWS: Update.
16273         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16274         Add strncpy-power8 and stpncpy-power8 objects.
16275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16276         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
16277         implementations.
16278         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
16279         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
16280         __stpncpy_power8 implementation.
16281         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
16282         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
16283         __strncpy_power8 implementation.
16284         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
16285         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
16286         * NEWS: Update.
16288         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
16289         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
16290         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
16292         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16293         strncat-power8 object.
16294         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
16295         __strcat_power8 implementation.
16296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16297         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
16298         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
16299         optimized strcat for power8.
16301         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16302         strcpy-power8 and stpcpy-power8 objects.
16303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16304         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
16305         implementations.
16306         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
16307         multiarch stpcpy implementation for POWER8.
16308         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
16309         multiarch strcpy implementation for POWER8.
16310         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
16311         __strcpy_power8 function.
16312         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
16313         stpcpy for POWER8.
16314         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
16315         strcpy for POWER8.
16316         * NEWS: Update.
16318 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
16320         [BZ #16009]
16321         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
16322         weights and rules. Use do_xfrm_cached if data fits in cache,
16323         do_xfrm otherwise.  Moved former main loop to...
16324         * (do_xfrm_cached): New function.
16325         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
16326         find_idx, find_position and stack_push.
16327         * (find_idx): New function.
16328         * (find_position): Likewise.
16329         * localedata/sort-test.sh: Added test run for do_xfrm.
16330         * localedata/xfrm-test.c (main): Added command line option
16331         -nocache to run the test with strings that are too large for
16332         the STRXFRM cache.
16334 2015-01-13  Torvald Riegel  <triegel@redhat.com>
16336         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
16337         variable to lll_futex_wake call, not the value itself.
16339 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
16341         [BZ #17803]
16342         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
16343         twom64.  Adjust value to 0x1p-64L.
16344         (__scalblnl): Only return standard underflowing result for K <=
16345         -64 not K <= -63; adjust exponent for underflowing result by 64
16346         not 63.
16347         * math/libm-test.inc (scalbn_test_data): Add more tests.
16348         (scalbln_test_data): Likewise.
16350         [BZ #17834]
16351         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
16352         0x1p63L.
16353         (__scalblnl): Get new exponent of adjusted subnormal value from ES
16354         not HX.
16355         * math/libm-test.inc (scalbn_test_data): Add more tests.
16356         (scalbln_test_data): Likewise.
16358 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16359             Stefani Seibold  <stefani@seibold.net>
16361         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
16362         (sysdep_routines): Add dl-vdso here, ...
16363         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
16364         (sysdep_routines): ... not here.
16365         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
16366         fallback when vDSO is not presented.
16367         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16368         Define with libc_hidden_proto/libc_hidden_data_def definitions.
16369         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
16370         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
16371         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
16372         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
16373         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
16374         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
16375         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
16376         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
16377         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
16378         fallback configurable symbol when vDSO is not available.
16379         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
16380         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
16381         be able to redefine fallback symbol when vDSO is not available.
16382         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
16383         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
16385 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16387         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
16388         (TLS_INIT_TP): Add tm_capable initialization.
16389         (TLS_DEFINE_INIT_TP): Likewise.
16390         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
16391         TCB.
16392         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
16393         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
16394         calculation.
16395         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
16396         transactoion is lock elision is built and TCB tm_capable is set.
16397         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
16398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16399         (INTERNAL_SYSCALL_NCS): Likewise.
16400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16401         (INTERNAL_SYSCALL_NCS): Likewise.
16402         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
16404         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
16405         for powerpc.
16406         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16407         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
16408         and remove it for 32 bits case.
16409         [pthread_rwlock_t] (__rwelision): New field for lock elision.
16410         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
16411         initialization.
16412         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
16413         Disable lock elision with rdlocks if elision is not available.
16415         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
16416         (sysdep_routines): Add lock elision objects.
16417         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16418         [pthread_mutex_t] (__spins): Rework to add lock elision field.
16419         [pthread_mutex_t] (__elision): Add field.
16420         [__PTHREAD_SPINS]: Adjust to init lock elision field.
16421         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
16422         elision definitions for powerpc.
16423         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
16424         implementation of lock elision for powerpc.
16425         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
16426         implementation of timed lock elision for powerpc.
16427         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
16428         implementation of trylock with lock elision for powerpc.
16429         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
16430         implementaion of unlock for lock elision for powerpc.
16431         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
16432         automatic enable lock elision for mutexes.
16433         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
16434         transaction execution definitions for powerpc.
16435         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
16436         definitions.
16437         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
16438         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
16439         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
16440         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
16441         * NEWS: Update.
16443 2015-01-09  Roland McGrath  <roland@hack.frob.com>
16445         * sysdeps/posix/shm-directory.c: Use <> rather than ""
16446         for #include of <shm-directory.h>.
16448 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
16450         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
16451         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
16453 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
16455         [BZ #17791]
16456         * NEWS: Mention bug fix.
16457         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
16458         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
16459         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
16461 2015-01-09  Torvald Riegel <triegel@redhat.com>
16463         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
16465 2015-01-09  Torvald Riegel <triegel@redhat.com>
16467         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
16469 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16471         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
16472         pointer and cast to uintptr_t.
16474 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16476         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
16477         removed.
16478         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
16480 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16482         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
16483         of 0.
16485 2015-01-08  Roland McGrath  <roland@hack.frob.com>
16487         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
16488         <nptl/pthreadP.h> instead.
16489         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
16491         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
16492         already defined.
16493         [__SIGRTMIN] (init): Function removed.
16494         [__SIGRTMIN] (initialized): Variable removed.
16495         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
16496         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
16497         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
16498         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
16499         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
16500         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
16501         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
16502         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
16503         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
16504         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
16505         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
16506         * sysdeps/nptl/allocrtsig.c: New file.
16507         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
16508         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
16509         * sysdeps/generic/testrtsig.h: File removed.
16511         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
16512         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
16514         * nptl/nptl-init.c (pthread_functions): Conditionalize
16515         .ptr__nptl_setxid initialization on [SIGSETXID].
16517         * sysdeps/nptl/sys/procfs.h: New file.
16518         * nptl_db/Makefile (headers): Add it.
16519         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
16521         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
16522         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
16523         * nptl/pthread_attr_setaffinity.c: Include it.
16524         * nptl/pthread_setattr_default_np.c: Likewise.
16525         * nptl/check-cpuset.h: New file.
16527 2015-01-08  Richard Henderson  <rth@redhat.com>
16529         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
16530         (CFLAGS-tst-execstack-prog.c): Likewise.
16531         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
16533 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
16534             Sandra Loosemore  <sandra@codesourcery.com>
16535             Andrew Jenner  <andrew@codesourcery.com>
16536             Joseph Myers  <joseph@codesourcery.com>
16537             Nathan Sidwell  <nathan@codesourcery.com>
16539         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
16540         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
16541         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
16542         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
16543         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
16544         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
16545         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
16546         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
16547         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
16548         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
16549         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
16550         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
16551         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
16552         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
16553         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
16554         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
16555         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
16557 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16559         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
16560         timespec struct member in syscall macro.
16561         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16562         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
16563         first timeval struct member in syscall macro.
16564         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
16566 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
16568         [BZ #17748]
16569         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
16570         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
16571         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
16572         __feupdateenv and define as weak alias of __feupdateenv.  Use
16573         libm_hidden_weak.
16574         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
16575         libm_hidden_def.
16576         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
16577         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
16578         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16579         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
16580         libm_hidden_def.
16581         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
16582         __feupdateenv and define as weak alias of __feupdateenv.  Use
16583         libm_hidden_weak.
16584         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
16585         libm_hidden_def.
16586         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
16587         __feupdateenv and define as weak alias of __feupdateenv.  Use
16588         libm_hidden_weak.
16589         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
16590         libm_hidden_def.
16591         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16592         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16593         (__feupdateenv): Likewise.
16594         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
16595         __feupdateenv and define as weak alias of __feupdateenv.  Use
16596         libm_hidden_weak.
16597         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16598         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
16599         libm_hidden_def.
16600         * sysdeps/tile/math_private.h (__feupdateenv): New inline
16601         function.
16602         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
16603         libm_hidden_def.
16604         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
16605         __feupdateenv instead of feupdateenv.
16606         (default_libc_feupdateenv_test): Likewise.
16607         (libc_feresetround_ctx): Likewise.
16609 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16611         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
16612         prototype.
16614 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
16616         * posix/regcomp.c (parse_bracket_exp): Initialize type to
16617         COLL_SYM in a couple of places to avoid uninitialized variable
16618         wanings on tilegx gcc 4.8.2.
16620 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16622         * sysdeps/aarch64/strcpy.S: New file.
16623         * sysdeps/aarch64/stpcpy.S: New file.
16624         * NEWS: Updated.
16626 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16628         * sysdeps/aarch64/strrchr.S: New file.
16629         * NEWS: Updated.
16631 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
16633         [BZ #17658]
16634         * stdlib/setenv.c: Fix memory leak when setting large,
16635         duplicate string.
16637 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
16639         [BZ #17273]
16640         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
16641         and tabs from buffer before parsing fstab entry.
16642         * misc/tst-mntent.c (main): Add test for mount entry with
16643         trailing spaces and tabs.
16645 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
16647         [BZ #17748]
16648         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
16649         * math/fesetround.c (fesetround): Rename to __fesetround and
16650         define as weak alias of __fesetround.  Use libm_hidden_weak.
16651         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
16652         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
16653         * sysdeps/arm/fesetround.c (fesetround): Likewise.
16654         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
16655         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
16656         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
16657         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
16658         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
16659         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
16660         __fesetround_inline.
16661         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
16662         __fesetround_inline instead of __fesetround.
16663         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
16664         __fesetround and define as weak alias of __fesetround.  Use
16665         libm_hidden_weak.  Call __fesetround_inline instead of
16666         __fesetround.
16667         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
16668         __fesetround and define as weak alias of __fesetround.  Use
16669         libm_hidden_weak.
16670         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
16671         Likewise.
16672         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
16673         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16674         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
16675         * sysdeps/tile/math_private.h (__fesetround): New inline function.
16676         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
16677         __fesetround and define as weak alias of __fesetround.  Use
16678         libm_hidden_weak.
16679         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
16680         __fesetround instead of fesetround.
16681         (default_libc_feholdexcept_setround): Likewise.
16682         (libc_feholdsetround_ctx): Likewise.
16683         (libc_feholdsetround_noex_ctx): Likewise.
16685         [BZ #17748]
16686         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
16687         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
16688         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16689         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16690         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16691         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
16692         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16693         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16694         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16695         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16696         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16697         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16698         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16699         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16700         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
16701         libm_hidden_def.
16702         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
16703         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
16704         Likewise.
16705         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16706         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16707         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16708         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16709         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
16710         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16711         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16712         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
16713         __fesetenv instead of fesetenv.
16714         (libc_feresetround_noex_ctx): Likewise.
16715         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16716         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16717         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
16718         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16719         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16720         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16721         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16722         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16723         (__feupdateenv): Likewise.
16724         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16725         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16726         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16727         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
16729 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16731         [BZ #17806]
16732         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
16733         addresses have been freed.
16735 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16737         * resolv/res_init.c (__res_vinit): Improve comments about nserv
16738         and nservall.
16740 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
16742         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
16743         Clean up check_pf allocation pattern. addresses
16745 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16747         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
16748         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
16749         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
16750         * nptl/pthread_exit.c (__pthread_exit): Likewise.
16751         * nptl/pthread_join.c (pthread_join): Likewise.
16752         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16753         * sysdeps/posix/waitid.c (__waitid): Likewise.
16754         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16755         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16756         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16757         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16758         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16759         Likewise.
16760         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16761         (__libc_pread64): Likewise.
16762         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16763         (__libc_pwrite): Likewise.
16764         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16765         (__libc_pwrite64): Likewsie.
16766         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16767         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16768         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16769         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16770         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16771         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16772         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16774         Likewise.
16775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16776         (__libc_pread64): Likewise.
16777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
16778         Likewise.
16779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16780         (__libc_pwrite64): Likewise.
16781         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16782         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16783         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
16784         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
16785         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16786         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16787         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
16788         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16789         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16790         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16791         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
16792         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16793         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16794         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
16795         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16796         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16797         Likewise.
16799 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
16801         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
16802         (CFLAGS-test-double.c): Likewise.
16803         (CFLAGS-test-ldouble.c): Likewise.
16804         (CPPFLAGS-test-ifloat.c): Likewise.
16805         (CPPFLAGS-test-idouble.c): Likewise.
16806         (CPPFLAGS-test-ildoubl.c): Likewise.
16807         (CFLAGS-test-test-fenv.c): Remove variable.
16808         (CFLAGS-test-misc.c): Likewise.
16810 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
16812         [BZ #17797]
16813         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
16814         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
16815         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
16816         CLOCKS_PER_SEC == 1000000.
16817         * time/clocktest.c (main): Replace %ld with %jd and cast to
16818         intmax_t.
16820 2015-01-05  Roland McGrath  <roland@hack.frob.com>
16822         * sysdeps/generic/unwind-resume.h: New file.
16823         * sysdeps/gnu/unwind-resume.c: Include it.
16824         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
16825         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
16826         argument list.
16827         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
16828         global rather than static.
16829         (_Unwind_Resume): Update user.
16830         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
16831         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
16832         rather than static.  Add __attribute__ ((cold)).
16833         (_Unwind_Resume, __gcc_personality_v0): Update callers.
16834         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16835         * sysdeps/arm/arm-unwind-resume.S: New file.
16836         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
16837         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
16838         * sysdeps/arm/Makefile [$(subdir) = csu]
16839         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
16840         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16841         Add rt-arm-unwind-resume.
16842         [$(subdir) = nptl]
16843         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16844         Add pt-arm-unwind-resume.
16845         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
16846         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
16848 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16850         [BZ #17748]
16851         * include/fenv.h (__feholdexcept): Declare.  Use
16852         libm_hidden_proto.
16853         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
16854         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
16855         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16856         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
16857         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
16858         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
16859         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
16860         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16861         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
16862         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
16863         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16864         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
16865         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
16866         (feholdexcept): Likewise.
16867         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16868         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16869         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16870         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16871         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
16872         __feholdexcept instead of feholdexcept.
16873         (default_libc_feholdexcept_setround): Likewise.
16875 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16877         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
16878         to avoid using stl/str to align destination.
16880 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16882         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
16884 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16886         [BZ #17796]
16887         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
16888         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
16889         Define as weak alias not strong alias.
16891 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16893         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
16894         bltzal with addiupc.
16895         (RTLD_START): Ditto.
16897 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
16899         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
16900         for __vdso_* functions in declarations.
16901         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
16902         definitions.
16903         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
16904         INTERNAL_VSYSCALL): Use struct return types to check for error.
16906         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
16907         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
16908         function with cast from llround().
16909         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
16910         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16911         Define.
16913 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16915         [BZ #17793]
16916         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
16917         Define as weak alias not strong alias.
16919         [BZ #17635]
16920         * ctype/ctype-c99.c: New file.  isblank implementation moved from
16921         ...
16922         * ctype/ctype-extn.c: ... here.
16923         (__isblank_l): Move to ...
16924         * ctype/ctype-c99_l.c: ... here.  New file.
16925         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
16926         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
16927         Remove variable.
16928         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16929         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16930         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16931         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16932         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16934         [BZ #17777]
16935         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
16936         (posix_fadvise64): Define as weak alias not strong alias.
16937         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16938         (posix_fallocate64): Likewise.
16939         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
16940         Remove variable.
16941         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16942         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16943         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16944         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16945         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16947 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
16949         [BZ #16191]
16950         * NEWS: Mention bug fix.
16951         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
16952         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
16953         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
16954         (HOST_STACK_END_ADDR): Likewise.
16956 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16958         [BZ #17748]
16959         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
16960         * math/fegetround.c (fegetround): Rename to __fegetround and
16961         define as weak alias of __fegetround.  Use libm_hidden_weak.
16962         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
16963         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
16964         * sysdeps/arm/fegetround.c (fegetround): Likewise.
16965         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
16966         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16967         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
16968         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
16969         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
16970         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16971         Undefine after rather than before function definition; use
16972         parentheses around function name in definition.
16973         (__fegetround): Also undefine macro after function definition.
16974         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
16975         __fegetround and define as weak alias of __fegetround.  Use
16976         libm_hidden_weak.  Do not undefine as macro.
16977         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16978         Likewise.
16979         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
16980         __fegetround and define as weak alias of __fegetround.  Use
16981         libm_hidden_weak.
16982         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16983         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16984         * sysdeps/tile/math_private.h (__fegetround): New inline function.
16985         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
16986         __fegetround and define as weak alias of __fegetround.  Use
16987         libm_hidden_weak.
16988         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
16989         __fegetround instead of fegetround.
16991         [BZ #17782]
16992         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
16993         Condition macro definition on [__USE_MISC].
16995         [BZ #17781]
16996         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
16997         (struct sigaction): Change type of sa_flags field to int.
16999         [BZ #17780]
17000         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
17001         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
17002         __glibc_reserved0.
17004         * nptl/version.c (banner): Use single year in copyright notice.
17006         * NEWS: Update copyright dates.
17007         * catgets/gencat.c (print_version): Likewise.
17008         * csu/version.c (banner): Likewise.
17009         * debug/catchsegv.sh: Likewise.
17010         * debug/pcprofiledump.c (print_version): Likewise.
17011         * debug/xtrace.sh (do_version): Likewise.
17012         * elf/ldconfig.c (print_version): Likewise.
17013         * elf/ldd.bash.in: Likewise.
17014         * elf/pldd.c (print_version): Likewise.
17015         * elf/sotruss.sh: Likewise.
17016         * elf/sprof.c (print_version): Likewise.
17017         * iconv/iconv_prog.c (print_version): Likewise.
17018         * iconv/iconvconfig.c (print_version): Likewise.
17019         * locale/programs/locale.c (print_version): Likewise.
17020         * locale/programs/localedef.c (print_version): Likewise.
17021         * login/programs/pt_chown.c (print_version): Likewise.
17022         * malloc/memusage.sh (do_version): Likewise.
17023         * malloc/memusagestat.c (print_version): Likewise.
17024         * malloc/mtrace.pl: Likewise.
17025         * manual/libc.texinfo: Likewise.
17026         * nptl/version.c (banner): Likewise.
17027         * nscd/nscd.c (print_version): Likewise.
17028         * nss/getent.c (print_version): Likewise.
17029         * nss/makedb.c (print_version): Likewise.
17030         * posix/getconf.c (main): Likewise.
17031         * scripts/test-installation.pl: Likewise.
17032         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17034 2015-01-02  Will Newton  <will.newton@linaro.org>
17036         * sysdeps/arm/armv7/configure: Removed.
17037         * sysdeps/arm/armv7/configure.ac: Likewise.
17039 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
17041         * All files with FSF copyright notices: Update copyright dates
17042         using scripts/update-copyrights.
17043         * intl/plural.c: Regenerated.
17044         * locale/programs/charmap-kw.h: Likewise.
17045         * locale/programs/locfile-kw.h: Likewise.
17047 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17049         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
17051 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17053         [BZ #17748]
17054         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
17055         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
17056         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17057         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17058         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17059         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
17060         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17061         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
17062         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17063         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17064         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17065         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17066         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17067         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17068         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
17069         libm_hidden_def.
17070         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
17071         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
17072         Likewise.
17073         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17074         define as weak alias of __fegetenv.  Use libm_hidden_weak.
17075         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17076         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17077         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
17078         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17079         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
17080         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
17081         __fegetenv instead of fegetenv.
17082         (libc_feholdsetround_noex_ctx): Likewise.
17084 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17086         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
17087         (Elf_MIPS_ABIFlags_v0): New structure.
17088         (EF_MIPS_FP64): Define.
17089         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
17090         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
17091         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
17092         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
17093         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
17094         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
17095         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
17096         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
17097         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
17098         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
17099         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
17100         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
17101         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
17102         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
17103         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
17104         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
17105         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
17106         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
17107         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
17108         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
17109         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
17110         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
17111         field.
17112         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
17113         EF_MIPS_FP64.
17114         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
17115         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
17116         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
17117         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
17118         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
17119         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
17120         * sysdeps/mips/tst-abi-interlink.c: Likewise.
17121         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
17122         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
17123         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
17124         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
17125         record the current FP ABI extension.
17126         (mips-mode-switch): Define to show if kernel headers support mode
17127         switching.
17128         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17129         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
17130         supported SYSV ABI version to 3.
17131         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
17132         feature.
17134 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17135             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17137         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
17138         path.
17139         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
17141 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
17143         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
17144         __fegetround and redefine to call __fegetround.  Remove condition
17145         on [!__NO_MATH_INLINES].
17146         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
17147         function.
17148         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
17149         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17150         Remove macro.
17151         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
17152         instead of <fenv_libc.h>.
17153         (__llrintl): Call fegetround instead of __fegetround.
17154         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
17155         instead of <fenv_libc.h>.
17156         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17157         (__lrintl): Call fegetround instead of __fegetround.
17158         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
17159         instead of <fenv_libc.h>.
17160         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17161         (__rintl): Call fegetround instead of __fegetround.
17163 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17165         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
17166         arrays.
17168 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17170         [BZ #17775]
17171         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
17172         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
17173         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
17175 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17177         * sysdeps/i386/tls-macros.h: Include <features.h>.
17178         (TLS_LE): Use non-PIC version for GCC >= 5.0.
17179         (TLS_IE): Likewise.
17180         (TLS_LD): Likewise.
17181         (TLS_GD): Likewise.
17182         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
17183         define for GCC >= 5.0.
17185 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
17187         * math/test-fenv.c (test_single_exception, set_single_exc,
17188         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
17189         feexcp_mask_test, feenable_test, fe_single_test): Add
17190         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
17191         case where they are not used.
17192         * math/libm-test.inc: Likewise.
17193         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
17194         unused in the absence of FP rounding/exception support.
17195         * stdio-common/tst-printf-round.c: Likewise.
17196         * stdlib/tst-strtod-round.c: Likewise.
17197         * stdlib/tst-strtod-underflow.c: Likewise.
17199 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
17201         [BZ #17723]
17202         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
17203         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
17204         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17205         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17206         libm_hidden_weak.
17207         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
17208         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17209         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
17210         libm_hidden_def.
17211         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17212         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17213         libm_hidden_weak.
17214         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
17215         Likewise.
17216         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
17217         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17218         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17219         libm_hidden_weak.
17220         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17221         libm_hidden_def.
17222         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17223         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
17224         (__feraiseexcept): Likewise.
17225         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17226         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17227         libm_hidden_weak.
17228         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17229         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17230         libm_hidden_def.
17231         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
17232         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
17233         Use libm_hidden_def.
17234         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
17235         libm_hidden_def.
17236         (feraiseexcept): Define as weak not strong alias.  Use
17237         libm_hidden_weak.
17238         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
17239         New inline function.  Factored out of ...
17240         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
17241         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
17242         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
17243         feraiseexcept.
17244         * math/w_acos.c (__acos): Likewise.
17245         * math/w_asin.c (__asin): Likewise.
17246         * math/w_ilogb.c (__ilogb): Likewise.
17247         * math/w_j0.c (y0): Likewise.
17248         * math/w_j1.c (y1): Likewise.
17249         * math/w_jn.c (yn): Likewise.
17250         * math/w_log.c (__log): Likewise.
17251         * math/w_log10.c (__log10): Likewise.
17252         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
17253         * sysdeps/aarch64/fpu/math_private.h
17254         (libc_feupdateenv_test_aarch64): Likewise.
17255         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17256         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
17257         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
17258         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17259         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17260         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17261         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
17262         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17263         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17264         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17266 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17268         [BZ #17732]
17269         * io/test-utime.c (main): Replace %ld with %jd and cast to
17270         intmax_t.
17271         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
17272         * nptl/tst-mutex5.c: Include <stdint.h>.
17273         (do_test): Replace %ld with %jd and cast to intmax_t.
17274         * posix/tst-regex.c (run_test): Likewise.
17275         (run_test_backwards): Likewise.
17276         * rt/tst-clock.c: Include <stdint.h>.
17277         (clock_test): Replace %ld with %jd and cast to intmax_t.
17278         * rt/tst-cpuclock1.c: Include <stdint.h>.
17279         (do_test): Replace %lu with %ju and cast to uintmax_t.
17280         * rt/tst-cpuclock2.c: Include <stdint.h>.
17281         (do_test): Replace %lu with %ju and cast to uintmax_t.
17282         * rt/tst-mqueue1.c: Include <stdint.h>.
17283         (check_attrs): Replace %ld with %jd and cast to intmax_t.
17284         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
17285         intmax_t.
17286         * rt/tst-mqueue4.c (do_test): Likewise.
17287         * rt/tst-timer4.c: Include <stdint.h>.
17288         (check_ts): Replace %ld with %jd and cast to intmax_t.
17289         (do_test): Likewise.
17290         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
17291         and cast to intmax_t.
17292         * sysdeps/pthread/tst-timer.c (main): Likewise.
17293         * time/clocktest.c (main): Likewise.
17294         * time/tst-posixtz.c (do_test): Likewise.
17295         * timezone/tst-timezone.c (main): Likewise.
17297 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17298             H.J. Lu  <hongjiu.lu@intel.com>
17300         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
17301         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
17302         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
17303         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
17304         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
17305         version if bit_Fast_Unaligned_Load is set.
17306         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17307         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17308         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17309         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17310         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17311         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17312         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17313         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
17314         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
17315         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
17316         to 4.
17317         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
17318         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
17319         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
17320         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
17322 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
17324         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
17325         instead of #if to avoid a Wundef warning.
17326         * stdlib/tst-limits.c (do_test): Likewise.
17328         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
17329         parallel other exception macros.
17330         (fegetenv): Convert from macro to extern inline so that it applies
17331         retroactively to inline functions already seen by the compiler.
17332         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
17334         * posix/Makefile (before-compile): Use $(objpfx) for
17335         posix-conf-vars-def.h.
17337 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17339         * posix/getconf.c (main): Use size_t for type of I.
17340         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
17341         NSPEC.
17343         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
17344         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
17345         * posix/posix-envs.def: Likewise.
17346         * sysdeps/posix/sysconf.c: Likewise.
17347         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
17348         (specs): Remove array.
17349         * scripts/gen-posix-conf-vars.awk: Support generation of specs
17350         array.
17352         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
17353         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
17354         (__sysconf): Use CONF_IS_* macros.
17356         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
17357         ($(objpfx)posix-conf-vars-def.h): New target.
17358         * posix/posix-conf-vars.list: New file.
17359         * posix/posix-conf-vars.h: New file.
17360         * posix/confstr.c: Include posix-conf-vars.h.
17361         (confstr): Use CONF_IS_* macros.
17362         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
17363         CONF_IS_* macros.
17364         * scripts/gen-posix-conf-vars.awk: New file.
17366 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
17368         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
17369         fegetround): Add no-op macros to avoid linknamespace issues.
17371         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
17372         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
17374         * sysdeps/unix/sysv/linux/tile/sysdep.h
17375         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
17376         assembly-specific section to avoid a redefinition warning.
17378         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
17379         long before casting to pointer to avoid a cast warning.
17381 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
17383         * sysdeps/tile/tilegx/Implies: New file.
17385 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
17387         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
17389 2014-12-23  Florian Weimer  <fweimer@redhat.com>
17391         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
17393 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17395         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
17396         not define.
17397         * sysdeps/unix/sysv/linux/utimes.c: Do not include
17398         <kernel-features.h>.
17399         (__utimes) [__NR_utimes]: Make code unconditional.
17400         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
17401         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17402         (__ASSUME_UTIMES): Do not undefine.
17403         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17404         (__ASSUME_UTIMES): Likewise.
17405         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17406         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
17407         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
17408         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
17410 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17412         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
17414 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
17416         [BZ #17747]
17417         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
17418         alias to weak alias for j0l, y0l.
17419         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
17420         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
17422         [BZ #17746]
17423         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
17424         conversion.
17426 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17428         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
17429         to zero if not already defined.
17431 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17433         [BZ #17724]
17434         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
17435         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
17436         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
17437         (char *) casts added.
17438         * sysdeps/ieee754/k_standardf.c: New file.
17439         * sysdeps/ieee754/k_standardl.c: Likewise.
17440         * math/Makefile (libm-support): Remove k_standard.
17441         (libm-calls): Add k_standard.
17443 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17445         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17446         Optimize to avoid an unnecessary FPCR read.
17448 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17450         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17451         Optimize to reduce FPCR/FPSR accesses.
17453 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17455         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
17456         Call libc_fetestexcept_aarch64.
17458 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17460         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
17461         Call libc_fesetround_aarch64.
17463 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17465         [BZ #17733]
17466         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
17467         (__bind): Do not define as weak alias.
17468         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
17469         define.
17470         (__getsockname): Do not define as weak alias.
17472 2014-12-22  Will Newton  <will.newton@linaro.org>
17474         * manual/install.texi: Document that we require bison 2.7
17475         or above.
17476         * INSTALL: Regenerate.
17477         * configure.ac: Use AC_CHECK_PROG_VER instead of
17478         AC_PATH_PROG when checking for bison and check for
17479         version 2.7 or above.
17480         * configure: Regenerate.
17482 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
17484         [BZ #17745]
17485         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
17486         * sysdeps/tile/ffsll.c (ffsll): To here.
17488         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
17490 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17492         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
17493         if not defined.
17494         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
17495         definition.
17496         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17497         hidden ___tls_get_addr.
17498         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17499         hidden __tls_get_addr.
17500         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
17501         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
17502         Likewise.
17504 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17506         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
17507         _dl_init call.
17509 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17511         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
17512         from "call _dl_init@PLT".
17513         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
17515 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
17517         * manual/search.texi: (Array Sort Function): Clarify stable sorting
17518         guarantees.
17520 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
17522         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
17524 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17526         [BZ #17744]
17527         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
17528         strnlen.
17530 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17532         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
17533         of multu on MIPSr6.
17534         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
17535         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
17536         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
17537         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
17538         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
17540 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17542         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
17543         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
17544         (PTR_SUBU): Use subu for mips32r6/mips64r6.
17545         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
17546         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
17547         mips32r6/mips64r6.
17548         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
17550 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
17552         * string/strncat.c (STRNCAT): Simplify implementation.
17554 2014-12-19  David S. Miller  <davem@davemloft.net>
17556         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
17557         access the quad as both a long double and as a series of 4 words.
17559         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
17560         link_map->l_info array access.
17562 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17564         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
17566         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
17567         * math/atest-exp2.c (TIMEOUT): Likewise.
17568         * math/atest-sincos.c (TIMEOUT): Likewise.
17570 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17572         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
17573         -Wno-error with -fno-builtin-lround.
17575 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17577         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
17578         Contains futex constants and functions moved over from ...
17579         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
17580         <lowlevellock-futex.h>.
17581         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17582         (lll_timedwait_tid): Add comments and parentheses around macro
17583         arguments.
17585 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17587         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
17588         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
17589         (__lll_private_flag): Remove.
17590         (lll_futex_wait): Likewise.
17591         (lll_futex_timed_wait): Likewise.
17592         (lll_futex_wake): Likewise.
17593         (lll_futex_requeue): Likewise.
17594         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17595         (__lll_timedwait_tid): Spell out argument names.
17596         (lll_timedwait_tid): Add comments and parentheses around macro
17597         arguments.
17598         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
17599         LLL_SHARED and LLL_PRIVATE usable from assembly code.
17601 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17603         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
17604         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17605         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17606         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
17607         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
17608         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
17609         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
17610         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
17611         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
17612         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
17613         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
17614         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
17615         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
17616         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
17617         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
17618         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
17619         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
17620         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
17621         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
17623 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17625         * sysdeps/x86_64/x32/Makefile: New file.
17627 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17629         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
17630         1L with (mp_limb_t) 1.
17632 2014-12-17  Roland McGrath  <roland@hack.frob.com>
17634         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
17635         * nptl/libc_pthread_init.c: ... here.
17636         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
17637         * nptl/register-atfork.c: ... here.
17639         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
17640         Use pthread_sigmask rather than INTERNAL_SYSCALL.
17641         Use assert_perror to check its return value.
17642         (__gai_create_helper_thread): Likewise.
17644         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
17646         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
17648 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
17650         [BZ #17725]
17651         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
17652         __profil_counter.
17653         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
17654         Likewise.
17655         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
17656         Likewise.
17657         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
17658         Likewise.
17659         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
17660         (profil_counter): Likewise.
17661         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
17662         (profil_counter): Likewise.
17663         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
17664         Likewise.
17665         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
17666         Likewise.
17667         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
17668         (profil_counter): Likewise.
17669         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
17670         Likewise.
17671         [!__profil_counter] (profil_counter): Define as weak alias of
17672         __profil_counter.
17673         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
17674         (profil_counter): Rename to __profil_counter.
17675         [!__profil_counter] (profil_counter): Define as weak alias of
17676         __profil_counter.
17677         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
17678         (profil_counter): Rename to __profil_counter.
17679         [!__profil_counter] (profil_counter): Define as weak alias of
17680         __profil_counter.
17681         * sysdeps/posix/profil.c: Update comment referring to
17682         profil_counter.
17683         (__profil): Use __profil_counter instead of profil_counter.
17684         * sysdeps/posix/sprofil.c (profil_counter): Rename to
17685         __profil_counter.  Use __profil_counter_ushort and
17686         __profil_counter_uint in definitions.
17687         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
17688         instead of profil_counter_uint and profil_counter_ushort.
17690         [BZ #17722]
17691         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
17692         define as weak alias of __inet_makeaddr.
17693         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
17694         as weak alias of __inet_addr.
17695         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
17696         as weak alias of __inet_pton.  Use libc_hidden_weak.
17697         * include/arpa/inet.h (__inet_pton): Declare.  Use
17698         libc_hidden_proto.
17699         (inet_makeaddr): Don't use libc_hidden_proto.
17700         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
17701         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
17702         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
17703         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
17704         Remove variable.
17705         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17706         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17708 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
17710         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
17712 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17714         * stdio-common/bug-vfprintf-nargs.c (do_test):
17715         Cast value to intptr_t to avoid format warning
17716         for usage with PRIdPTR printing macro.
17718 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17720         * libio/tst-widetext.c (do_test):
17721         Use format type %td instead of %Zd for ptrdiff_t
17722         in order to avoid format warning.
17724 2014-12-17  Andreas Schwab  <schwab@suse.de>
17726         * nscd/mem.c (gc): Add size_t cast to match printf format.
17728 2014-12-16  Roland McGrath  <roland@hack.frob.com>
17730         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
17731         (init): Apply PTR_MANGLE to pointers before storing them.
17732         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
17733         before using them.
17735 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
17737         [BZ #17719]
17738         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
17739         define as weak alias of __memrchr.
17740         (__memrchr): Do not define as strong alias of memrchr.
17741         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
17742         Remove variable.
17743         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17744         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17745         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17747         [BZ #17717]
17748         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
17749         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
17750         (if_indextoname): Rename to __if_indextoname and define as weak
17751         alias of __if_indextoname.  Use libc_hidden_weak.
17752         (if_freenameindex): Rename to __if_freenameindex and define as
17753         weak alias of __if_freenameindex.
17754         (if_nameindex): Rename to __if_nameindex and define as weak alias
17755         of __if_nameindex.
17756         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
17757         __if_nametoindex and define as weak alias of __if_nametoindex.
17758         Use libc_hidden_weak.
17759         (if_freenameindex): Rename to __if_freenameindex and define as
17760         weak alias of __if_freenameindex.
17761         (if_nameindex): Rename to __if_nameindex and define as weak alias
17762         of __if_nameindex.
17763         (if_indextoname): Rename to __if_indextoname and define as weak
17764         alias of __if_indextoname.  Use libc_hidden_weak.
17765         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
17766         __if_nametoindex and define as weak alias of __if_nametoindex.
17767         Use libc_hidden_weak.
17768         (if_freenameindex): Rename to __if_freenameindex and define as
17769         weak alias of __if_freenameindex.  Use libc_hidden_weak.
17770         (if_nameindex_netlink): Use __if_freenameindex instead of
17771         if_freenameindex.
17772         (if_nameindex): Rename to __if_nameindex and define as weak alias
17773         of __if_nameindex.  Use libc_hidden_weak.
17774         (if_indextoname): Rename to __if_indextoname and define as weak
17775         alias of __if_indextoname.  Use libc_hidden_weak.
17776         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
17777         libc_hidden_proto.
17778         [!_ISOMAC] (__if_freenameindex): Likewise.
17779         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
17780         if_nametoindex.
17781         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
17782         variable.
17783         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17784         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17785         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17786         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17787         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17788         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17789         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17791         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
17792         Remove variable.
17793         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17794         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17796 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17798         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
17799         subscript above bounds'
17801         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
17802         bounds.
17804 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
17806         * libio/tst-fopenloc.c: Use test-skeleton.c.
17808         * stdlib/tst-bsearch.c: Use test-skeleton.c.
17809         (entry): Rename to ITEM.
17810         (do_test, comp): Adjust.
17812         * stdio-common/tst-fseek.c: Use test-skeleton.c.
17814 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17816         * string/tester.c: Include <libc-internal.h>.
17817         (test_memset): Ignore -Wmemset-transposed-args.
17819 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17821         * misc/tst-mntent2.c (do_test): Fix warning.
17823 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17825         * elf/tst-unique4lib.cc(a): Mark as used.
17827 2014-12-16  Florian Weimer  <fweimer@redhat.com>
17829         [BZ #17630]
17830         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
17831         names.
17833 2014-12-16  Allan McRae  <allan@archlinux.org>
17835         * stdio-common/Makefile (tests): Re-add bug26.
17837 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
17839         [BZ #17657]
17840         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
17841         static array.
17843 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
17845         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
17846         (__lll_lock_wait): Likewise.
17847         (__lll_timedlock_wait): Likewise.
17848         (__lll_timedwait_tid): Likewise.
17849         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
17850         (__lll_robust_timedlock_wait): Likewise.
17851         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
17852         (lll_cond_trylock): Likewise.
17853         (__lll_lock): Likewise.
17854         (__lll_robust_lock): Likewise.
17855         (__lll_cond_lock): Likewise.
17856         (lll_robust_cond_lock): Likewise.
17857         (__lll_timedlock): Likewise.
17858         (__lll_robust_timedlock): Likewise.
17859         (__lll_unlock): Likewise.
17860         (__lll_robust_unlock): Likewise.
17861         (lll_wait_tid): Likewise.
17862         (lll_timedwait_tid): Likewise.
17864 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17866         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
17868 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17870         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
17872 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17874         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
17875         * stdio-common/tst-sprintf.c: Likewise.
17877 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17879         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
17881 2014-12-15  Jeff Law  <law@redhat.com>
17883         [BZ #16617]
17884         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
17885         on the heap.  (CVE-2012-3406)
17886         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
17887         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
17888         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
17890 2014-12-15  Will Newton  <will.newton@linaro.org>
17892         * manual/install.texi: Bump required version of texinfo
17893         to 4.7 from 4.5.
17894         * INSTALL: Regenerated.
17895         * configure.ac: Check for makeinfo version 4.7 and above.
17896         * configure: Regenerated.
17898 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17900         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
17901         PREFIX, string constant to insert between directory and name.
17902         * sysdeps/posix/shm_open.c: Update caller.
17903         * sysdeps/posix/shm_unlink.c: Likewise.
17904         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
17905         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
17906         (SEM_SHM_PREFIX): New macro.
17907         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
17908         [$(have-thread-library) = no].
17909         * nptl/Makefile (libpthread-routines): Add shm-directory.
17910         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
17911         * sysdeps/nptl/shm-directory.h: New file.
17912         * sysdeps/posix/shm-directory.c
17913         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
17914         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17915         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
17916         INTERNAL_SYSCALL.
17917         (__where_is_shmfs): Function removed.
17918         (mountpoint, defaultmount, defaultdir, __namedsem_once):
17919         Variables removed.
17920         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
17921         Use SHM_GET_NAME.
17922         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
17924         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
17925         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
17926         unconditional for use inside libpthread.
17927         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
17929 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17931         * nptl/pthread_getaffinity.c: New file.
17932         * nptl/pthread_setaffinity.c: New file.
17933         * nptl/pthread_getname.c: New file.
17934         * nptl/pthread_setname.c: New file.
17936         * nptl/pthread_create.c (START_THREAD_DEFN)
17937         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
17939 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17940             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17942         * resolv/res_send.c (send_vc): Disable warning resplen may
17943         be used uninitialized.
17945 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17947         * nptl/tst-mutex6.c
17948         (ATTR_NULL): New define checks ATTR against NULL.
17949         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
17950         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
17952 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
17954         [BZ #17581]
17955         * malloc/hooks.c
17956         (mem2mem_check): Revert my previous change.
17957         (malloc_check_get_size): Revert my previous change.
17958         (mem2chunk_check): Revert my previous change.
17960 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17962         * sysdeps/posix/shm-directory.c: New file.
17963         * sysdeps/posix/shm-directory.h: New file.
17964         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
17965         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
17966         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
17967         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
17968         Transmute EPERM to EACCES.
17969         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
17970         from ...
17971         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
17972         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
17974 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17976         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
17977         pointer and cast to uintptr_t.
17978         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
17979         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
17980         Add cast to avoid warning.
17981         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
17983 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17985         * nptl/semaphore.h: Move to ...
17986         * sysdeps/pthread/semaphore.h: ... here.
17987         * Makefile (installed-headers): Change nptl/semaphore.h to
17988         sysdeps/pthread/semaphore.h.
17990 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17992         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
17993         generated error format strings.
17995         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
17996         -Wformat-extra-args warnings for scanf formats.
17997         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
17998         test of zero-length format (duh).
17999         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
18000         corner-case scanf format test.
18001         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
18002         generated fprintf format string.
18003         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
18004         corner-case sprintf format tests.
18005         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
18006         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
18007         -Wformat-extra-args warnings throughout.
18008         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
18009         (CFLAGS-scanf4.c): Likewise.
18010         (CFLAGS-scanf7.c): Likewise.
18011         (CFLAGS-tst-sprintf.c): Likewise.
18012         (CFLAGS-tst-printf.c): Likewise.
18013         (CFLAGS-tst-printfsz.c): Likewise.
18015 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
18017         * include/cpio.h: New file.
18018         * include/fmtmsg.h: Likewise.
18020         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
18021         corresponding format argument to size_t.
18022         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
18023         arguments.
18024         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
18025         corresponding format argument to size_t.
18026         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
18027         arguments.
18028         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
18029         corresponding format argument to size_t.
18030         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
18031         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
18032         (CFLAGS-tst-mbswcs2.c): Likewise.
18033         (CFLAGS-tst-mbswcs3.c): Likewise.
18034         (CFLAGS-tst-mbswcs4.c): Likewise.
18035         (CFLAGS-tst-mbswcs5.c): Likewise.
18036         (CFLAGS-tst-trans.c): Likewise
18038 2014-12-11  Roland McGrath  <roland@hack.frob.com>
18040         * posix/regexbug1.c (main): Use "%s" format with regerror results,
18041         rather than assuming they won't contain any '%'s.
18043 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
18045         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
18046         inhibit_loop_to_libcall to avoid recursive calls.
18047         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
18048         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
18050 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
18052         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
18053         prototype.
18055 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18057         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
18058         integer value instead of boolean.
18060 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
18062         * malloc/malloc.c: Fix powerof2 check.
18064 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18066         * locale/programs/locfile.h (maybe_swap_uint32):
18067         Remove inline and add unused attribute.
18069 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18071         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18072         Truncating assembler expression to a .long expression.
18074 2014-12-11  Andreas Schwab  <schwab@suse.de>
18076         * elf/rtld.c (struct map_args): Constify str member.
18077         (do_preload): Constify fname argument.
18079 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18081         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
18082         constants definition.
18084 2014-12-11  Andreas Schwab  <schwab@suse.de>
18086         [BZ #16657]
18087         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
18088         FORCE_ELISION instead of DO_ELISION.
18089         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
18090         Remove.
18091         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
18092         Likewise.
18094         * iconvdata/gconv-modules: Remove duplicate entry.
18096 2014-12-11  Will Newton  <will.newton@linaro.org>
18098         Merge gettext 0.19.3 into intl/.
18100         This involves a number of cosmetic changes to comments
18101         and ANSI function definitions and prototypes throughout
18102         all the files. The gettext copyright header is used but
18103         with the date ranges taken from the glibc copy.
18105         * NEWS: Add gettext merge to 2.21.
18106         * intl/bindtextdom.c: Switch to gettext copyright.
18107         Use ANSI definitions and prototypes.
18108         Use gl_* locking primitives rather than __libc_* ones.
18109         Use __builtin_expect rather than __glibc_likely/unlikely.
18110         * intl/dcgettext.c: Switch to gettext copyright.
18111         Use ANSI definitions and prototypes.
18112         * intl/dcigettext.c: Switch to gettext copyright.
18113         Use ANSI definitions and prototypes.
18114         (INTDIV0_RAISES_SIGFPE): New define.
18115         Use gl_* locking primitives rather than __libc_* ones.
18116         Include eval-plural.h instead of plural-eval.c.
18117         Use __builtin_expect rather than __glibc_likely/unlikely.
18118         * intl/dcngettext.c: Switch to gettext copyright.
18119         Use ANSI definitions and prototypes.
18120         * intl/dgettext.c: Likewise.
18121         * intl/dngettext.c: Likewise.
18122         * intl/plural-eval.c: Renamed to...
18123         * intl/eval-plural.h: ...this.
18124         * intl/explodename.c: Switch to gettext copyright.
18125         Use ANSI definitions and prototypes.
18126         (_nl_explode_name): Use strchr instead of __rawmemchr.
18127         * intl/finddomain.c: Switch to gettext copyright.
18128         Use ANSI definitions and prototypes.
18129         Use gl_* locking primitives rather than __libc_* ones.
18130         (_nl_find_domain): Use malloc rather than alloca for
18131         allocation of temporary locale name.
18132         * intl/gettext.c: Switch to gettext copyright.
18133         Use ANSI definitions and prototypes.
18134         * intl/gettextP.h: Switch to gettext copyright.
18135         Use ANSI definitions and prototypes.
18136         Use gl_* locking primitives rather than __libc_* ones.
18137         * intl/gmo.h: Switch to gettext copyright.
18138         (struct sysdep_string): Move struct segment_pair outside of
18139         struct definition.
18140         * intl/hash-string.c: Use ANSI definitions and prototypes.
18141         * intl/hash-string.h: Switch to gettext copyright.
18142         Use ANSI definitions and prototypes.
18143         * intl/l10nflist.c: Switch to gettext copyright.
18144         Use ANSI definitions and prototypes.
18145         (_nl_normalize_codeset): Avoid integer overflow.
18146         * intl/loadinfo.h: Switch to gettext copyright.
18147         Use ANSI definitions and prototypes.
18148         (LIBINTL_DLL_EXPORTED): New define.
18149         (PATH_SEPARATOR): New define.
18150         * intl/loadmsgcat.c: Switch to gettext copyright.
18151         * intl/localealias.c: Switch to gettext copyright.
18152         Use ANSI definitions and prototypes.
18153         (_nl_expand_alias): Use PATH_SEPARATOR.
18154         * intl/ngettext.c: Switch to gettext copyright.
18155         Use ANSI definitions and prototypes.
18156         * intl/plural-exp.c: Likewise.
18157         * intl/plural-exp.h: Switch to gettext copyright.
18158         Use ANSI definitions and prototypes.
18159         (struct expression): Move definition of enum operator outside
18160         of struct definition.
18161         * intl/plural.c: Regenerate.
18162         * intl/plural.y: Switch to gettext copyright.
18163         Use ANSI definitions and prototypes.
18164         Port to bison 3.0.
18165         * intl/textdomain.c: Switch to gettext copyright.
18166         Use ANSI definitions and prototypes.
18167         Use gl_* locking primitives rather than __libc_* ones.
18169 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
18171         * debug/warning-nop.c: Add used atrribute.
18173 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18175         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
18177         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
18178         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
18179         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
18181 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18182             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18184         [BZ #17634]
18185         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
18186         Undefine after defining function.  Define as weak alias of
18187         __wcschr.  Use libc_hidden_weak.
18188         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
18189         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
18190         (libc_hidden_def): Also define __GI___wcschr alias.
18191         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
18192         __wcschr and define as weak alias of __wcschr.
18193         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
18194         __wcschr.
18195         [!WCSCHR] (DEFAULT_WCSCHR): Define.
18196         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
18197         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
18198         libc_hidden_weak.  Do not use libc_hidden_def.
18199         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
18200         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
18201         __GI___wcschr alias.
18202         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
18203         [IS_IN (libc)] (wcschr): Define as macro expanding to
18204         __redirect_wcschr.
18205         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
18206         [IS_IN (libc)] (__wcschr_power6): Likewise.
18207         [IS_IN (libc)] (__wcschr_power7): Likewise.
18208         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
18209         instead of wcschr.
18210         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
18211         __libc_wcschr.
18212         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
18213         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
18214         __wcschr and define as weak alias of __wcschr.  Use
18215         libc_hidden_builtin_def.
18216         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
18217         as weak alias of __wcschr.  Use libc_hidden_weak.
18218         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
18219         wcschr.
18220         * time/era.c (_nl_init_era_entries): Likewise.
18221         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
18222         variable.
18223         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18224         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18226 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18228         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
18229         format for long int variable.
18231 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
18233         [BZ #10672]
18234         * manual/search.texi: (Array Sort Function): Remove claim how to make
18235         qsort stable.
18237 2014-12-10  Andreas Schwab  <schwab@suse.de>
18239         [BZ #12847]
18240         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
18241         user-controlled locks.
18243 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
18245         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
18246         register.
18248 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18250         * configure.ac (--disable-werror): New configure option.
18251         (enable_werror): New AC_SUBST.
18252         * configure: Regenerated.
18253         * config.make.in (enable-werror): New variable.
18254         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
18255         -Wno-error=undef.
18256         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
18257         * manual/install.texi (Configuring and compiling): Document
18258         --disable-werror.
18259         * INSTALL: Regenerated.
18260         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
18261         (CFLAGS-tst-chk2.c): Likewise.
18262         (CFLAGS-tst-chk3.c): Likewise.
18263         (CFLAGS-tst-chk4.cc): Likewise.
18264         (CFLAGS-tst-chk5.cc): Likewise.
18265         (CFLAGS-tst-chk6.cc): Likewise.
18266         (CFLAGS-tst-lfschk1.c): Likewise.
18267         (CFLAGS-tst-lfschk2.c): Likewise.
18268         (CFLAGS-tst-lfschk3.c): Likewise.
18269         (CFLAGS-tst-lfschk4.cc): Likewise.
18270         (CFLAGS-tst-lfschk5.cc): Likewise.
18271         (CFLAGS-tst-lfschk6.cc): Likewise.
18273         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
18274         (main): Disable -Wdeprecated-declarations around calls to
18275         register_printf_function.
18277         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
18278         (do_test): Disable -Wdiv-by-zero around some calls to
18279         fwrite_unlocked and fread_unlocked.
18281         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
18282         (DIAG_POP_NEEDS_COMMENT): Likewise.
18283         (_DIAG_STR1): Likewise.
18284         (_DIAG_STR): Likewise.
18285         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
18286         * stdio-common/bug21.c: Include <libc-internal.h>.
18287         (do_test): Disable -Wformat around call to sscanf.
18288         * stdio-common/scanf14.c: Include <libc-internal.h>.
18289         (main): Disable -Wformat around some calls to scanf functions.
18291 2014-12-09  Torvald Riegel  <triegel@redhat.com>
18293         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
18295 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18297         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
18298         stack variable alignment.
18300 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
18302         [BZ #17682]
18303         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
18304         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
18305         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
18306         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
18307         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
18308         __getrlimit instead of getrlimit.
18309         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
18310         __gettimeofday instead of gettimeofday.
18311         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18312         Likewise.
18313         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18314         Likewise.
18315         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18316         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
18317         Remove variable.
18318         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18319         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18321 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18323         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
18324         for wide-character tests.
18326 2014-12-04  Roland McGrath  <roland@hack.frob.com>
18328         * io/openat64.c: #include <libc-internal.h>
18329         (__openat64): Prototypify.  Use ignore_value on MODE.
18330         * io/openat.c: Likewise.
18331         * misc/reboot.c: #include <libc-internal.h>
18332         (reboot): Prototypify.  Use ignore_value on HOWTO.
18333         * misc/ptrace.c: #include <libc-internal.h>
18334         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
18336 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
18338         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
18339         XPG4, UNIX98 and XOPEN2K.
18340         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
18341         Remove variable.
18342         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18344 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18346         * libio/fileops.c: Use ISO C style for function definitions.
18347         * libio/iofopen.c: Likewise.
18348         * libio/wfileops.c: Likewise.
18350         [BZ #17653]
18351         * libio/fileops.c (_IO_new_file_underflow): Unset cached
18352         offset on EOF.
18353         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18354         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
18355         (fgets_func): Function pointer to fgets and fgetws.
18356         (do_ftell_test): Add test to verify ftell value after read
18357         EOF.
18358         (do_test): Set fgets_func.
18360         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
18361         O_TRUNC flag for w and w+ modes.
18362         (do_rewind_test): Likewise.
18363         (do_ftell_test): Likewise.
18364         (do_write_test): Likewise.
18366         [BZ #17647]
18367         * libio/fileops.c (do_ftell): Seek only when there are
18368         unflushed writes.
18369         * libio/wfileops.c (do_ftell_wide): Likewise.
18370         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
18371         test case.
18372         (do_one_test): Call it.
18374 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
18376         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
18377         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
18378         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
18379         Remove variable.
18380         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18381         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18382         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18384 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18386         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
18387         Remove variable.
18388         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18390         [BZ #17668]
18391         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
18392         as weak alias of __getifaddrs.  Use libc_hidden_weak.
18393         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18394         __freeifaddrs.  Use libc_hidden_weak.
18395         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
18396         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
18397         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18398         __freeifaddrs.  Use libc_hidden_weak.
18399         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
18400         __getifaddrs and define as weak alias of __getifaddrs.  Use
18401         libc_hidden_weak.
18402         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18403         __freeifaddrs.  Use libc_hidden_weak.
18404         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
18405         Remove variable.
18406         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18407         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18409 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18411         [BZ #17601]
18412         * sysdeps/mips/start.S (__start): Use indirect jump to call
18413         __libc_start_main.
18415 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18417         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
18419         * nptl/tst-mutex1.c: Include <stdbool.h>.
18420         [!ATTR] (ATTR_NULL): New macro.
18421         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
18422         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
18423         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
18425         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
18426         to char *.
18428         [BZ #17665]
18429         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
18430         Change conditional to [__USE_MISC].
18432         [BZ #17664]
18433         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
18434         fgets_unlocked.
18435         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
18436         __fgets_unlocked.
18437         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
18438         fgets_unlocked.
18439         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
18440         Remove variable.
18441         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18442         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18443         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18444         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18445         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18446         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18447         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18448         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18449         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18451         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
18453 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18455         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18456         Remove strpbrk objects.
18457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18458         (__libc_ifunc_impl_list): Remove strpbrk implementation.
18459         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
18460         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
18461         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
18462         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
18464         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18465         Remove strcspn objects.
18466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18467         (__libc_ifunc_impl_list): Remove strcspn implementation.
18468         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
18469         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
18470         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
18471         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
18473         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18474         Remove strspn objetcs.
18475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18476         (__libc_ifunc_impl_list): Remove strspn implementation.
18477         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
18478         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18479         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
18480         * sysdeps/powerpc/powerpc64/strspn.S: New file.
18482 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
18484         [BZ #17581]
18485         * malloc/hooks.c
18486         (mem2mem_check): Add a terminator to the chain of checking blocks.
18487         (malloc_check_get_size): Use it here.
18488         (mem2chunk_check): Ditto.
18490 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18492         * sysdeps/powerpc/powerpc64/strtok.S: New file.
18493         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
18495 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
18497         * bits/ioctl-types.h: Indent preprocessor directives correctly.
18499         * nptl/nptl-init.c: Include libc-internal.h.
18500         (__pthread_initialize_minimal_internal): Use ROUND_UP.
18502         * elf/ldconfig.c (search_dir): Expand comment.
18504 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
18506         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
18507         variable.
18508         (linknamespace-symlist-stdlibs-tests): Likewise.
18509         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
18510         instead of $(objpfx)symlist-stdlibs.
18511         (linknamespace-libs-isoc): New variable.
18512         (linknamespace-libs): Use $(linknamespace-libs-isoc).
18513         (linknamespace-libs-ISO): New variable.
18514         (linknamespace-libs-ISO99): Likewise.
18515         (linknamespace-libs-ISO11): Likewise.
18516         (linknamespace-libs-XPG3): Likewise.
18517         (linknamespace-libs-XPG4): Likewise.
18518         (linknamespace-libs-POSIX): Likewise.
18519         (linknamespace-libs-UNIX98): Likewise.
18520         (linknamespace-libs-XOPEN2K): Likewise.
18521         (linknamespace-libs-POSIX2008): Likewise.
18522         (linknamespace-libs-XOPEN2K8): Likewise.
18523         ($(objpfx)symlist-stdlibs): Replace by
18524         $(linknamespace-symlist-stdlibs-tests).  Use
18525         $(linknamespace-libs-$*) as set of libraries.
18526         ($(linknamespace-header-tests)): Update dependencies.  Use
18527         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
18528         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
18529         * conform/linknamespace.pl: Remove comment about considering
18530         definitions of symbols from irrelevant libraries.
18532 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
18534         [BZ #13862]
18535         * elf/dl-tls.c: Include <atomic.h>.
18536         (oom): Remove #ifdef SHARED/#endif.
18537         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
18538         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
18539         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
18540         big enough.
18541         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
18542         * nptl/Makefile (tests): Add tst-stack4.
18543         (modules-names): Add tst-stack4mod.
18544         ($(objpfx)tst-stack4): New.
18545         (tst-stack4mod.sos): Likewise.
18546         ($(objpfx)tst-stack4.out): Likewise.
18547         ($(tst-stack4mod.sos)): Likewise.
18548         (clean): Likewise.
18549         * nptl/tst-stack4.c: New file.
18550         * nptl/tst-stack4mod.c: Likewise.
18552 2014-11-27  J. Brown  <jb999@gmx.de>
18554         * sysdeps/x86/bits/string.h: Add recent CPUs.
18556 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18558         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
18559         sigblock.
18561         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
18562         feof.
18564         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
18565         variable.
18567 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18569         * nscd/connections.c: Include libc-internal.h because of macro
18570         usage ignore_value.
18572 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18574         * string/bits/string3.h (__warn_memset_zero_len): Don't
18575         declare for gcc newer than 5.0.
18576         (memset): Don't test for zero-length __LEN for gcc newer than
18577         5.0.
18579 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18581         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
18582         size_t for %zu format.
18584         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
18585         difference, not %ju.
18587 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18589         * include/libc-internal.h (ignore_value): New macro.
18590         * nscd/connections.c (restart): Wrap calls to setuid and setgid
18591         with ignore_value.
18593         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
18594         definition.
18596         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
18597         pthread_cleanup_push to void *.
18599         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
18600         Undefine.
18602         [BZ #16619]
18603         [BZ #16740]
18604         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
18605         instead of 1L << 52.
18607         * libio/bug-rewind.c (do_test): Check fwscanf return values.
18608         * libio/bug-rewind2.c (do_test): Likewise.
18610         * debug/test-stpcpy_chk-ifunc.c: Remove file.
18611         * debug/test-strcpy_chk-ifunc.c: Likewise.
18612         * wcsmbs/test-wcschr-ifunc.c: Likewise.
18613         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18614         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18615         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18616         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18617         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18618         * Rules [$(multi-arch) = no] (tests): Do not filter out
18619         $(tests-ifunc).
18620         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
18621         * debug/Makefile (tests-ifunc): Remove variable.
18622         (tests): Do not add $(tests-ifunc).
18623         * wcsmbs/Makefile (tests-ifunc): Remove variable.
18624         (tests): Do not add $(tests-ifunc).
18625         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
18626         [TEST_IFUNC]: Remove conditionals.
18627         * string/test-string.h (TEST_IFUNC): Remove macro.
18628         [TEST_IFUNC]: Remove conditionals.
18630         * string/test-strchr.c [!WIDE] (L): New macro.
18631         [WIDE] (L): Likewise.
18632         (check1): Use CHAR instead of char.  Use L on string and character
18633         constants.
18635 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
18637         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
18638         tests.
18639         * sysdeps/powerpc/bits/atomic.h
18640         (__arch_atomic_exchange_and_add_32_acq): Add definition.
18641         (__arch_atomic_exchange_and_add_32_rel): Likewise.
18642         (atomic_exchange_and_add_acq): Likewise.
18643         (atomic_exchange_and_add_rel): Likewise.
18644         * sysdeps/powerpc/powerpc32/bits/atomic.h
18645         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18646         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18647         * sysdeps/powerpc/powerpc64/bits/atomic.h
18648         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18649         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18651 2014-11-26  Torvald Riegel  <triegel@redhat.com>
18653         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
18654         Change synchronization of __sched_fifo_min_prio and
18655         __sched_fifo_max_prio.
18656         * nptl/pthread_mutexattr_getprioceiling.c
18657         (pthread_mutexattr_getprioceiling): Likewise.
18658         * nptl/pthread_mutexattr_setprioceiling.c
18659         (pthread_mutexattr_setprioceiling): Likewise.
18660         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
18661         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
18662         Likewise.
18664 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18666         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
18667         void.
18669 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18671         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
18672         third argument const.
18674 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
18676         fnmatch: work around GCC compiler warning bug with uninit var
18677         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
18678         This works around a bug with x86-64 GCC 4.9.2 and earlier
18679         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
18680         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
18681         used uninitialized in this function [-Wmaybe-uninitialized]".
18683 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18685         * posix/bug-regex31.c (main): Return RES not 0.
18687 2014-11-25  Anton Blanchard <anton@samba.org>
18689         * sysdeps/powerpc/bits/atomic.h
18690         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
18692 2014-11-24  Sterling Augustine  <saugustine@google.com>
18694         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
18696 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
18698         [BZ #17608]
18699         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
18701 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
18703         [BZ #17633]
18704         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
18705         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
18706         variable.
18707         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18708         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18710 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18712         * string/strncpy.c (strncpy): Improve performance by using memset.
18714 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18716         * string/strcpy.c (strcpy):
18717         Improve performance by using strlen and memcpy.
18719 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
18721         * string/strcoll_l.c (get_next_seq): __always_inline.
18722         * string/strcoll_l.c (do_compare): __always_inline.
18724 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18726         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
18727         defined.
18728         * include/mqueue.h: Likewise.
18729         * include/stdlib.h: Likewise.
18731         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
18732         (get_null_defines): Adjust.
18733         * sunrpc/Makefile: Adjust comment.
18734         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
18735         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
18736         (CFLAGS-interp.c): Likewise.
18737         (CFLAGS-ldconfig.c): Likewise.
18738         (CPPFLAGS-.os): Likewise.
18739         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18740         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18741         * extra-modules.mk (extra-modules.mk): Likewise.
18742         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
18743         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
18744         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
18745         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
18746         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
18747         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
18748         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
18749         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
18750         * iconvdata/Makefile (CPPFLAGS): Likewise.
18751         (cpp-srcs-left): Add libof for all iconvdata routines.
18752         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
18753         * include/assert.h: Likewise.
18754         * include/ctype.h: Likewise.
18755         * include/errno.h: Likewise.
18756         * include/libc-symbols.h: Likewise.
18757         * include/math.h: Likewise.
18758         * include/netdb.h: Likewise.
18759         * include/resolv.h: Likewise.
18760         * include/stdio.h: Likewise.
18761         * include/stdlib.h: Likewise.
18762         * include/string.h: Likewise.
18763         * include/sys/stat.h: Likewise.
18764         * include/wctype.h: Likewise.
18765         * intl/l10nflist.c: Likewise.
18766         * libidn/idn-stub.c: Likewise.
18767         * libio/libioP.h: Likewise.
18768         * nptl/libc_multiple_threads.c: Likewise.
18769         * nptl/pthreadP.h: Likewise.
18770         * posix/regex_internal.h: Likewise.
18771         * resolv/res_hconf.c: Likewise.
18772         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
18773         * sysdeps/arm/memmove.S: Likewise.
18774         * sysdeps/arm/sysdep.h: Likewise.
18775         * sysdeps/generic/_itoa.h: Likewise.
18776         * sysdeps/generic/symbol-hacks.h: Likewise.
18777         * sysdeps/gnu/errlist.awk: Likewise.
18778         * sysdeps/gnu/errlist.c: Likewise.
18779         * sysdeps/i386/i586/memcpy.S: Likewise.
18780         * sysdeps/i386/i586/memset.S: Likewise.
18781         * sysdeps/i386/i686/memcpy.S: Likewise.
18782         * sysdeps/i386/i686/memmove.S: Likewise.
18783         * sysdeps/i386/i686/mempcpy.S: Likewise.
18784         * sysdeps/i386/i686/memset.S: Likewise.
18785         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18786         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18787         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
18788         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
18789         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18790         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18791         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
18792         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18793         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18794         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18795         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18796         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18797         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18798         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18799         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18800         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18801         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
18802         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
18803         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
18804         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18805         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18806         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18807         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18808         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18809         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18810         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18811         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
18812         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18813         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
18814         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18815         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18816         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18817         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18818         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18819         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18820         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18821         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18822         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18823         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18824         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18825         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18826         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18827         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18828         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18829         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18830         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18831         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
18832         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
18833         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18834         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18835         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18836         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
18837         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
18838         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18839         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18840         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
18841         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18842         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
18843         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
18844         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18845         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18846         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18847         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
18848         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18849         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18850         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
18851         * sysdeps/posix/closedir.c: Likewise.
18852         * sysdeps/posix/opendir.c: Likewise.
18853         * sysdeps/posix/readdir.c: Likewise.
18854         * sysdeps/posix/rewinddir.c: Likewise.
18855         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
18856         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
18857         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18858         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18859         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18860         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
18861         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
18862         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
18863         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
18864         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
18865         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
18866         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
18867         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
18868         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
18869         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
18870         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
18871         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
18872         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
18873         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
18874         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
18875         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
18876         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
18877         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
18878         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
18879         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
18880         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
18881         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
18882         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
18883         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
18884         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
18885         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
18886         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
18887         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
18888         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
18889         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
18890         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
18891         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18892         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18893         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
18894         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
18895         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
18896         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
18897         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
18898         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
18899         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18900         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
18901         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
18902         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
18903         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
18904         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
18905         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
18906         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
18907         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18908         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
18909         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
18910         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
18911         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
18912         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
18913         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
18914         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
18915         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
18916         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
18917         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18918         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
18919         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
18920         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
18921         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
18922         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
18923         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
18924         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
18925         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
18926         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
18927         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
18928         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
18929         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
18930         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
18931         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
18932         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
18933         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18934         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
18935         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
18936         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18937         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
18938         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
18939         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18940         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
18941         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
18942         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18943         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18944         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18945         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
18946         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
18947         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
18948         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18949         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18950         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
18951         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18952         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18953         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
18954         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
18955         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18956         * sysdeps/unix/alpha/sysdep.S: Likewise.
18957         * sysdeps/unix/alpha/sysdep.h: Likewise.
18958         * sysdeps/unix/make-syscalls.sh: Likewise.
18959         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18960         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18961         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18962         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
18963         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18964         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18965         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
18966         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18967         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18968         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
18969         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18970         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18971         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18972         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18973         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18974         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18975         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18976         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18977         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18978         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18979         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18980         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18981         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18982         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18983         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18984         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18985         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18988         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
18989         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18990         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18991         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18992         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18993         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18994         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18995         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18996         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18997         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18998         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18999         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19000         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19001         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19002         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19003         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19004         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19005         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19006         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19007         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19008         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19009         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19010         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19011         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19012         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19013         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
19014         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19015         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19016         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19017         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
19018         * sysdeps/x86_64/memcpy.S: Likewise.
19019         * sysdeps/x86_64/memmove.c: Likewise.
19020         * sysdeps/x86_64/memset.S: Likewise.
19021         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
19022         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19023         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19024         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
19025         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19026         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19027         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19028         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19029         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19030         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19031         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19032         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19033         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
19034         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19035         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19036         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
19037         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19038         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19039         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19040         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19041         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
19042         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19043         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19044         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19045         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19046         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19047         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19048         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
19049         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19050         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19051         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
19052         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19053         * sysdeps/x86_64/strcmp.S: Likewise.
19055         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
19057         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
19058         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
19059         * elf/rtld-Rules: Likewise.
19060         * elf/setup-vdso.h: Likewise.
19061         * include/assert.h: Likewise.
19062         * include/bits/stdlib-float.h: Likewise.
19063         * include/errno.h: Likewise.
19064         * include/sys/stat.h: Likewise.
19065         * include/unistd.h: Likewise.
19066         * sysdeps/aarch64/setjmp.S: Likewise.
19067         * sysdeps/alpha/setjmp.S: Likewise.
19068         * sysdeps/arm/__longjmp.S: Likewise.
19069         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
19070         * sysdeps/arm/setjmp.S: Likewise.
19071         * sysdeps/arm/sysdep.h: Likewise.
19072         * sysdeps/generic/_itoa.h: Likewise.
19073         * sysdeps/generic/dl-sysdep.h: Likewise.
19074         * sysdeps/generic/ldsodefs.h: Likewise.
19075         * sysdeps/i386/dl-tls.h: Likewise.
19076         * sysdeps/i386/setjmp.S: Likewise.
19077         * sysdeps/m68k/setjmp.c: Likewise.
19078         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
19079         * sysdeps/mach/hurd/opendir.c: Likewise.
19080         * sysdeps/posix/getcwd.c: Likewise.
19081         * sysdeps/posix/opendir.c: Likewise.
19082         * sysdeps/posix/profil.c: Likewise.
19083         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19084         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19085         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19086         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19087         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19088         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
19089         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19090         * sysdeps/s390/dl-tls.h: Likewise.
19091         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19092         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19093         * sysdeps/sh/sh3/setjmp.S: Likewise.
19094         * sysdeps/sh/sh4/setjmp.S: Likewise.
19095         * sysdeps/unix/alpha/sysdep.h: Likewise.
19096         * sysdeps/unix/arm/sysdep.S: Likewise.
19097         * sysdeps/unix/i386/sysdep.S: Likewise.
19098         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19099         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19100         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19101         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19102         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19103         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19104         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19105         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19106         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19107         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19108         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19109         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19110         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19113         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19114         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19115         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19116         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19117         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19118         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19119         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19120         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19121         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19122         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19123         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19124         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19125         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19126         * sysdeps/x86_64/setjmp.S: Likewise.
19128         * include/math.h: Use IS_IN instead of IS_IN_libm.
19129         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
19130         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19131         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19132         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
19133         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19134         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19135         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19136         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19137         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19138         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19139         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
19140         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
19141         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
19142         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
19143         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
19144         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
19145         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
19146         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
19147         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
19148         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
19149         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
19150         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
19151         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
19152         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
19153         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
19154         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
19155         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
19156         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
19157         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
19158         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
19159         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
19160         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19161         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19163         Likewise.
19164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
19165         Likewise.
19166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
19167         Likewise.
19168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
19169         Likewise.
19170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
19171         Likewise.
19172         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19173         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
19174         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19175         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19176         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19177         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
19179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
19180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
19181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
19182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
19183         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
19184         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
19185         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19186         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19187         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19188         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19189         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19190         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19191         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19192         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
19193         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
19194         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
19195         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
19196         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
19197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19198         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
19200         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
19201         * nptl/pthreadP.h: Likewise.
19202         * nptl_db/structs.def: Likewise.
19203         * sysdeps/arm/sysdep.h: Likewise.
19204         * sysdeps/nptl/bits/libc-lock.h: Likewise.
19205         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19206         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
19207         * sysdeps/unix/alpha/sysdep.h: Likewise.
19208         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19209         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19210         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19211         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19212         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19213         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19214         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19215         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19216         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19217         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19218         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19219         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19220         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19221         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19224         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19225         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19226         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19227         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19228         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19229         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19230         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19231         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19232         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
19233         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19235         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
19236         * nptl/pthreadP.h: Likewise.
19237         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19238         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19239         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19240         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19241         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19242         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19243         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19244         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19245         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19246         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19247         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19248         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19250         Likewise.
19251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19252         Likewise.
19253         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19254         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19255         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19256         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19257         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19258         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19259         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19260         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19262         * dlfcn/dladdr.c: Use IS_IN.
19263         * dlfcn/dladdr1.c: Likewise.
19264         * dlfcn/dlclose.c: Likewise.
19265         * dlfcn/dlerror.c: Likewise.
19266         * dlfcn/dlinfo.c: Likewise.
19267         * dlfcn/dlmopen.c: Likewise.
19268         * dlfcn/dlopen.c: Likewise.
19269         * dlfcn/dlsym.c: Likewise.
19270         * dlfcn/dlvsym.c: Likewise.
19272         * include/ifaddrs.h: Use IS_IN.
19273         * inet/check_pf.c: Likewise.
19274         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19275         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
19277         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
19278         IS_IN_ldconfig.
19279         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
19280         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
19282         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
19283         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
19284         IS_IN (libc).
19286         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
19288         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
19289         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19290         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19291         * include/libc-symbols.h (IS_IN_LIB): New macro.
19292         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
19293         * include/netdb.h: Likewise.
19294         * include/stap-probe.h: Remove all uses of IN_LIB.
19296         * Makeconfig (module-cppflags-real): Define MODULE_NAME
19297         instead of IN_MODULE.
19298         * include/libc-symbols.h (IN_MODULE): Define using
19299         MODULE_NAME.
19300         (PASTE_NAME, PASTE_NAME1): New macros.
19301         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
19302         of IN_LIB.
19303         (STAP_PROBE_ASM): Likewise.
19305 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19307         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
19308         __mach_init in dlopened libc.
19310 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
19312         * sysdeps/arm/preconfigure.ac: Delete EABI check.
19313         * sysdeps/arm/preconfigure: Regenerate.
19315 2014-11-21  Roland McGrath  <roland@hack.frob.com>
19317         * nptl/pthread_create.c (__pthread_create_2_1): Set
19318         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
19319         when copying values from IATTR into PD.
19321 2014-11-21  Will Newton  <will.newton@linaro.org>
19322             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
19324         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
19325         Refactor inline-asm.  Also add comment.
19327         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
19328         ElfW macro instead of hardcoded Elf64 types.
19329         (la_aarch64_gnu_pltenter): Likewise.
19330         * sysdeps/aarch64/dl-machine.h
19331         (elf_machine_runtime_setup): Use ElfW(Addr).
19333         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
19334         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
19335         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
19336         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
19337         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
19338         (R_AARCH64_TLS_DTPMOD64): Rename to ..
19339         (R_AARCH64_TLS_DTPMOD): This.
19340         (R_AARCH64_TLS_DTPREL64): Rename to ...
19341         (R_AARCH64_TLS_DTPREL): This.
19342         (R_AARCH64_TLS_TPREL64): Rename to ...
19343         (R_AARCH64_TLS_TPREL): This.
19344         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
19345         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
19346         R_AARCH64_TLS_TPREL64.
19347         (elf_machine_rela): Likewise.
19349 2014-11-21  Torvald Riegel  <triegel@redhat.com>
19351         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
19352         by setting it to 0.  64b atomics are not supported currently.
19354 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19356         [BZ #16469]
19357         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
19358         search domain names.
19360 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19362         [BZ #16469]
19363         * NEWS: Update.
19364         * resolv/res_query.c (__libc_res_nquerydomain): Retain
19365         trailing dot.
19366         * posix/tst-getaddrinfo5.c: New.
19367         * posix/Makefile (tests): Add it.
19369 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19371         [BZ #14498]
19372         * NEWS: Fixed.
19373         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
19374         after parsing line but before break_if_match.
19375         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
19376         if there is a protocol mismatch.
19378 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
19380         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
19381         because the potential race is on the user-supplied stream.
19383 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19385         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
19386         string literal if not passed a buffer.
19387         * manual/job.texi (ctermid): Update reasoning, note deviation
19388         from posix, suggest mtasurace when not passed a buffer, for
19389         future non-preliminary safety notes.
19391 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19393         * manual/users.texi (cuserid): Fix MT-Safety note for the case
19394         of not passing it a buffer.
19395         Reported by Peng Haitao.
19397 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19399         * manual/Makefile ($(objpfx)stamp-summary): Require
19400         check-safety.sh to pass.
19401         * manual/check-safety.sh: Wish for verification that every
19402         @deftypefn and @deftypefun is followed by a @safety remark.
19404 2014-11-20  Roland McGrath  <roland@hack.frob.com>
19406         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
19408         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
19409         PTHREAD_CANCEL_ASYNCHRONOUS.
19410         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
19411         send SIGCANCEL.
19413         * nptl/default-sched.h: New file.
19414         * sysdeps/unix/sysv/linux/default-sched.h: New file.
19415         * nptl/pthread_create.c: Include it.
19416         (__pthread_create_2_1): Use collect_default_sched instead of making
19417         Linux syscalls here directly.
19419 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19421         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
19422         __pthread_once): Use C11 atomics.
19424 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19426         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
19428 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19430         * include/atomic.h (__atomic_link_error, __atomic_check_size,
19431         atomic_thread_fence_acquire, atomic_thread_fence_release,
19432         atomic_thread_fence_seq_cst, atomic_load_relaxed,
19433         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
19434         atomic_compare_exchange_weak_relaxed,
19435         atomic_compare_exchange_weak_acquire,
19436         atomic_compare_exchange_weak_release,
19437         atomic_exchange_acquire, atomic_exchange_release,
19438         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
19439         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
19440         atomic_fetch_and_acquire,
19441         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
19443 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19445         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
19446         USE_ATOMIC_COMPILER_BUILTINS): Define.
19447         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
19448         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19449         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
19450         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19451         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
19452         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19453         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
19454         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19455         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
19456         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19457         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
19458         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19459         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
19460         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19461         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
19462         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19463         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19464         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19465         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19466         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19467         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
19468         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19469         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19470         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19471         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
19472         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19473         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19474         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19475         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
19476         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19477         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
19478         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19479         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
19480         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19481         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19482         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19483         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
19484         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19485         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
19486         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19488 2014-11-19  Roland McGrath  <roland@hack.frob.com>
19490         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
19491         the sched_priority value here.  It was already checked when the user
19492         called pthread_attr_setschedparam.
19494         * nptl/tst-bad-schedattr.c: New file.
19495         * nptl/Makefile (tests): Add it.
19497 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
19498             Florian Weimer  <fweimer@redhat.com>
19499             Joseph Myers  <joseph@codesourcery.com>
19500             Adam Conrad  <adconrad@0c3.net>
19501             Andreas Schwab  <schwab@suse.de>
19502             Brooks  <bmoses@google.com>
19504         [BZ #17625]
19505         * wordexp-test.c (__dso_handle): Add prototype.
19506         (__register_atfork): Likewise.
19507         (__app_register_atfork): New function.
19508         (registered_forks): New global.
19509         (register_fork): New function.
19510         (test_case): Add 3 new tests for WRDE_CMDSUB.
19511         (main): Call __app_register_atfork.
19512         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
19513         fork count is non-zero fail the test.
19514         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
19515         is set.
19516         (parse_dollars): Remove check for WRDE_NOCMD.
19517         (parse_dquote): Likewise.
19519 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19521         * Makeconfig (built-modules): List non-library modules to be
19522         built.
19523         (module-cppflags): Include libc-modules.h for
19524         everything except shlib-versions.v.i.
19525         (CPPFLAGS): Use it.
19526         (before-compile): Add libc-modules.h.
19527         ($(common-objpfx)libc-modules.h,
19528         $(common-objpfx)libc-modules.stmp): New targets.
19529         (common-generated): Add libc-modules.h and libc-modules.stmp.
19530         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
19531         * include/libc-symbols.h: Don't include libc-modules.h.
19532         * include/libc-modules.h: Remove file.
19533         * scripts/gen-libc-modules.awk: New script to generate
19534         libc-modules.h.
19535         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
19536         Depend on libc-modules.stmp.
19538         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
19540         * Makeconfig (in-module): Get value of libof set for the
19541         translation unit.
19542         (CPPFLAGS): Use $(in-module).
19543         * Makerules: Don't suffix routine names for nonlib.
19544         * include/libc-modules.h: New file.
19545         * include/libc-symbols.h: Include libc-modules.h
19546         (IS_IN): New macro to replace IS_IN_* macros.
19547         * elf/Makefile: Set libof-* for each routine.
19548         * elf/rtld-Rules: Likewise.
19549         * extra-modules.mk: Likewise.
19550         * iconv/Makefile: Likewise.
19551         * iconvdata/Makefile: Likewise.
19552         * locale/Makefile: Likewise.
19553         * malloc/Makefile: Likewise.
19554         * nss/Makefile: Likewise.
19555         * sysdeps/gnu/Makefile: Likewise.
19556         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
19557         * sysdeps/unix/sysv/linux/Makefile: Likewise.
19558         * sysdeps/s390/s390-64/Makefile: Likewise.
19559         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
19560         CPPFLAGS for nscd instead of nonlib.
19562 2014-11-18  Roland McGrath  <roland@hack.frob.com>
19564         * nptl/createthread.c: New file.
19566         * nptl/createthread.c: Moved ...
19567         * sysdeps/unix/sysv/linux/createthread.c: ... here.
19569         * nptl/createthread.c: Add proper top-line comment.
19570         (do_clone): Folded into ...
19571         (create_thread): ... here.  Take new arguments STOPPED_START and
19572         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
19573         increment __nptl_threads, do event-reporting logic, do
19574         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
19575         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
19576         resource cleanup if sched_setaffinity or sched_setscheduler fails,
19577         just send SIGCANCEL.
19578         * nptl/pthread_create.c: Forward-declare create_thread before
19579         including createthread.c.
19580         (start_thread): Use new macro START_THREAD_DEFN to replace defining
19581         declaration, and new macro START_THREAD_SELF to replace argument.
19582         Remove return statement.
19583         (report_thread_creation): New function.
19584         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
19585         synchronization logic, and __nptl_nthreads increment here, around
19586         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
19587         PD->parent_cancelhandling here, before create_thread.  When
19588         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
19589         __deallocate_stack, and ENOMEM translation here.
19591 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
19593         [BZ #17616]
19594         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
19595         (mptwo): Rename to __mptwo.
19596         (__inv): Use __mptwo instead of mptwo.
19597         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
19598         (mptwo): Rename to __mptwo.
19599         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
19600         of mpone and __mptwo instead of mptwo.
19601         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
19602         instead of mpone.
19603         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19604         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
19605         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
19606         of mpone and __mptwo instead of mptwo.
19607         (__mpranred): Use __mpone instead of mpone.
19608         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
19609         variable.
19610         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19611         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19612         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19613         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19614         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19615         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19616         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19617         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19618         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19619         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19620         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19621         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19622         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19623         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19624         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19625         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19626         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19627         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19628         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19630 2014-11-18  Tom de Vries  <tom@codesoucery.com>
19632         * manual/signal.texi (Primitives Interrupted by Signals): In section,
19633         replace BSD Handler xref with BSD Signal Handling.
19635 2014-11-17  Richard Henderson  <rth@redhat.com>
19637         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
19638         (_FP_PACK_RAW_2): Remove.
19639         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
19640         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
19641         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
19642         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
19643         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
19644         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
19645         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
19646         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
19647         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
19648         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
19649         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
19650         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
19651         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
19652         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
19653         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
19654         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
19656 2014-11-14  Roland McGrath  <roland@hack.frob.com>
19658         * signal/signal.h [__USE_MISC]
19659         (struct sigvec): Remove type.
19660         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
19661         (sigvec): Remove declaration.
19662         * sysdeps/posix/sigvec.c: Moved ...
19663         * signal/sigvec.c: ... here, replacing old file.
19664         (struct sigvec): New type, copied from old signal.h definition.
19665         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
19666         (__sigvec): Convert definition to prototype.
19667         (sigvec): Replace weak_alias with compat_symbol.
19668         * signal/Versions (libc: GLIBC_2.21): New version set.
19669         * include/signal.h: Remove __sigvec declaration.
19670         * sysdeps/unix/bsd/sigvec.c: Remove file.
19671         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
19672         * manual/signal.texi (BSD Handler): Remove subsection.
19673         Move siginterrupt up to ...
19674         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
19675         (Blocking in BSD): Fold subsection into its parent.
19676         * NEWS: Mention sigvec removal.
19678 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19680         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
19681         (DLA_FMS): Make definition conditional only on [__FMA4__].
19682         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
19683         definition.
19685         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
19686         Make definition conditional only on [PROF].
19687         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
19688         definition.
19689         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
19690         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
19692         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
19693         !__GNUC__].
19694         * include/signal.h (__sigpause): Move declaration above call to
19695         libc_hidden_proto.
19696         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
19697         variable.
19698         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19699         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19701 2014-11-14  David S. Miller  <davem@davemloft.net>
19703         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
19704         Define before including <string/memcpy.c> and <string/mempcpy.c>.
19706 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19708         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
19709         * configure: Regenerated.
19710         * manual/install.texi (Tools for Compilation): Document a
19711         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
19712         compiler verified to work.
19713         * INSTALL: Regenerated.
19715         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
19716         redeclare with asm name.
19717         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
19718         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
19719         including <string.h>.
19720         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19721         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
19722         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19723         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
19724         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19725         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19726         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19728 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
19730         * stdlib/strtol.c (__strtol): Use prototype definition.
19732         [BZ #17594]
19733         * stdlib/strtol.c (SYM__): New macro.
19734         (SYM__1): Likewise.
19735         (__strtol): Likewise.
19736         (strtol): Rename to __strtol and define as weak alias of
19737         __strtol.  Use libc_hidden_weak.
19739 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19741         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
19742         Use numbered labels in inline assembly.
19744 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19746         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
19747         Add setjmp LIBC_PROBE.
19748         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
19749         Likewise.
19750         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
19751         Add longjmp, longjmp_target LIBC_PROBE.
19752         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
19753         Likewise.
19755 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19757         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19758         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
19759         to get rid of unused variable warning.
19761 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19763         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
19764         Check for unwind_backtrace ==  NULL only in SHARED case.
19765         (__backchain_backtrace): Compile only in SHARED case.
19766         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
19767         Likewise.
19768         (__backchain_backtrace): Declare as static.
19770 2014-11-12  Roland McGrath  <roland@hack.frob.com>
19772         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
19773         (__libc_multiple_threads_ptr): Variable moved ...
19774         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
19776 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
19778         * conform/GlibcConform.pm: New file.
19779         * conform/conformtest.pl: Use GlibcConform module.
19780         * conform/linknamespace.pl: New file.
19781         * conform/list-header-symbols.pl: Likewise.
19782         * conform/Makefile (linknamespace-symlists-base): New variable.
19783         (linknamespace-symlists-tests): Likewise.
19784         (linknamespace-header-base): Likewise.
19785         (linknamespace-header-tests): Likewise.
19786         (tests-special): Add new tests.
19787         ($(linknamespace-symlists-tests)): New rule.
19788         (linknamespace-libs): New variable.
19789         ($(objpfx)symlist-stdlibs): New rule.
19790         ($(linknamespace-header-tests)): Likewise.
19791         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
19792         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
19793         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
19794         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
19795         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
19796         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
19797         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
19798         (test-xfail-ISO/math.h/linknamespace): Likewise.
19799         (test-xfail-ISO/signal.h/linknamespace): Likewise.
19800         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
19801         (test-xfail-ISO/time.h/linknamespace): Likewise.
19802         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19803         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
19804         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19805         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19806         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19807         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19808         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19809         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19810         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19811         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19812         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19813         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19814         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19815         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
19816         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
19817         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19818         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
19819         (test-xfail-XPG3/search.h/linknamespace): Likewise.
19820         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
19821         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19822         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
19823         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19824         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19825         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
19826         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19827         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19828         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
19829         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
19830         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19831         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
19832         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19833         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19834         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19835         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19836         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
19837         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
19838         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
19839         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
19840         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19841         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
19842         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19843         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
19844         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19845         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19846         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19847         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
19848         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
19849         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19850         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19851         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
19852         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19853         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19854         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
19855         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19856         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19857         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19858         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19859         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19860         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19861         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19862         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19863         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19864         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
19865         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19866         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19867         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19868         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
19869         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19870         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19871         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
19872         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19873         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19874         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19875         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19876         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19877         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19878         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
19879         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
19880         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19881         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
19882         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19883         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
19884         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19885         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19886         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19887         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
19888         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19889         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19890         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19891         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
19892         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
19893         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
19894         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19895         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19896         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19897         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19898         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
19899         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
19900         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19901         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19902         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19903         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19904         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19905         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19906         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19907         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19908         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19909         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19910         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
19911         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19912         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19913         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
19914         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19915         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19916         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19917         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19918         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19919         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19920         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19921         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19922         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19923         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19924         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19925         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19926         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19927         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19928         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
19929         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19930         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19931         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19932         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19933         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19934         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
19935         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19936         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19937         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19938         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19939         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19940         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19941         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19942         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19943         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19944         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19945         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19946         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19947         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19948         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
19949         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19950         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19951         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19953         [BZ #17589]
19954         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
19955         of fgets_unlocked.
19957         [BZ #17585]
19958         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
19959         (memmem): Rename to __memmem and define as weak alias of
19960         __memmem.  Use libc_hidden_weak.
19961         (__memmem): Use libc_hidden_def.
19962         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
19963         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
19964         memmem.
19966         [BZ #17582]
19967         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
19968         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
19969         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
19970         and define as weak alias of __fgets_unlocked.  Use
19971         libc_hidden_weak.
19972         (__fgets_unlocked): Use libc_hidden_def.
19973         * include/stdio.h (__fgets_unlocked): Declare.  Use
19974         libc_hidden_proto.
19975         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
19976         __fgets_unlocked instead of fgets_unlocked.
19977         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
19978         (GET_NPROCS_CONF_PARSER): Likewise.
19979         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
19980         (GET_NPROCS_CONF_PARSER): Likewise.
19982         [BZ #17574]
19983         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
19984         weak alias of __wmemset.  Use libc_hidden_weak.
19985         (__wmemset): Use libc_hidden_def.
19986         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
19987         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
19988         of wmemset.
19990         [BZ #17573]
19991         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
19992         with asm name __mempcpy.
19993         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
19995         [BZ #17572]
19996         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
19997         and define as weak alias of __rawmemchr.
19998         (__rawmemchr): Do not define as strong alias of rawmemchr.
20000         [BZ #17571]
20001         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
20002         alias of __qsort_r.
20003         (qsort): Call __qsort_r instead of qsort_r.
20004         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
20005         (__qsort_r): Declare.  Call libc_hidden_proto.
20006         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
20007         instead of qsort_r.
20008         * nscd/gai.c (__qsort_r): Define to qsort_r.
20009         * posix/tst-rfc3484.c (__qsort_r): Likewise.
20010         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
20011         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
20013         [BZ #17570]
20014         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
20015         define as weak alias of __malloc_info.
20017         [BZ #17584]
20018         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
20019         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20020         (__rewinddir): Use libc_hidden_def.
20021         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
20022         as weak alias of __rewinddir.  Don't use libc_hidden_def.
20023         (__rewinddir): Use libc_hidden_def.
20024         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
20025         weak alias of __rewinddir.  Don't use libc_hidden_def.
20026         (__rewinddir): Use libc_hidden_def.
20027         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
20028         (__rewinddir): Use libc_hidden_proto.
20029         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
20030         rewinddir.
20031         (__getcwd): Use __rewinddir instead of rewinddir.
20033         [BZ #17583]
20034         * libio/fileno.c (fileno): Rename to __fileno and define as weak
20035         alias of __fileno.  Use libc_hidden_weak.
20036         (__fileno): Use libc_hidden_def.
20037         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
20038         * libio/ftello.c (ftello): Rename to __ftello and define as weak
20039         alias of __ftello.
20040         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
20041         __ftello.
20042         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
20043         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
20044         libc_hidden_def.
20045         (fread_unlocked): Don't use libc_hidden_ver.
20046         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
20047         and define as weak alias of __fread_unlocked.  Don't use
20048         libc_hidden_def.
20049         (__fread_unlocked): Use libc_hidden_def.
20050         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
20051         (ftello): Don't use libc_hidden_proto.
20052         (__ftello): Declare.  Use libc_hidden_proto.
20053         (fread_unlocked): Don't use libc_hidden_proto.
20054         (__fread_unlocked): Declare.  Use libc_hidden_proto.
20055         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
20056         and __ftello instead of fileno, fread_unlocked and ftello.
20058 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20060         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
20061         GOT12.
20062         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20063         Likewise.
20064         (_dl_start_user): Likewise.
20065         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
20067 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
20068             Siddhesh Poyarekar  <siddhesh@redhat.com>
20070         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
20071         Move argv and envp down instead of moving argc up.
20072         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
20074 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
20076         [BZ #17506]
20077         * test-skeleton.c (main): Return successful if one of
20078         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
20079         * string/tst-strcoll-overflow.c: Define expected status.
20081 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
20083         [BZ #17475]
20084         * locale/iso-639.def: Define Bhili and Tulu language codes.
20086 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
20088         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
20090 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
20092         [BZ #17555]
20093         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
20095 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20097         * configure.ac: Updated check of minimal required version to
20098         2.22.
20099         * manual/install.texi (Tools for Compilation): Updated version
20100         number.
20101         * configure: Regenerated.
20102         * INSTALL: Likewise.
20104 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
20106         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
20107         __tls_get_addr.
20109 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
20111         * include/sys/wait.h (__libc_waitpid): Remove declaration.
20112         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
20113         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20114         libc_hidden_weak.
20115         (waitpid): Define as alias of __waitpid.
20116         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
20117         __waitpid.
20118         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20119         libc_hidden_weak.
20120         (waitpid): Define as alias of __waitpid.
20121         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
20122         __libc_waitpid alias.
20123         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
20124         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
20125         Likewise.
20126         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
20127         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
20128         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
20129         alias.
20130         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
20131         __waitpid.
20132         (__waitpid): Don't define as alias.  Use libc_hidden_def not
20133         libc_hidden_weak.
20134         (waitpid): Define as alias of __waitpid.
20136 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
20138         * manual/llio.texi: Add comment that write safety has been
20139         fixed in Linux.
20141         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
20142         (localplt-build-dso): Add elf/ld.so.
20143         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
20144         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
20145         and free for ld.so.
20146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
20147         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
20148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
20149         Likewise.
20150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
20151         Likewise.
20152         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
20153         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
20154         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
20155         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
20156         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20157         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
20158         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
20159         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
20160         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20161         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
20162         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20164 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
20166         [BZ #14132]
20167         * include/libc-symbols.h (INTUSE): Remove macro.
20168         (INTDEF): Likewise.
20169         (INTVARDEF): Likewise.
20170         (_INTVARDEF): Likewise.
20171         (INTDEF2): Likewise.
20172         (INTVARDEF2): Likewise.
20173         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
20174         rtld_hidden_def instead of INTVARDEF.
20175         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
20176         (_dl_starting_up_internal): Remove declaration.
20177         (_dl_starting_up): Use rtld_hidden_proto.
20178         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
20179         declaration.
20180         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
20181         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
20182         _dl_starting_up.
20183         * elf/dl-writev.h (_dl_writev): Likewise.
20184         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
20185         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
20186         _dl_starting_up_internal.
20188 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20190         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20191         test-skeleton.c.
20193 2014-11-05  Will Newton  <will.newton@linaro.org>
20195         * benchtests/Makefile: (bench-malloc): Add malloc thread
20196         scalability benchmark.
20197         * benchtests/bench-malloc-threads.c: New file.
20199 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
20201         * sysdeps/aarch64/strchrnul.S: New file.
20203 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20205         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
20206         definition.
20207         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20208         Likwise.
20209         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20210         Likewise.
20211         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20212         Likewise.
20213         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20214         Likewise.
20215         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20216         Likewise.
20218 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
20220         * catgets/test-gencat.c: Use test-skeleton.c.
20221         * catgets/tst-catgets.c: Likewise.
20222         * csu/tst-empty.c: Likewise.
20223         * elf/tst-audit2.c: Likewise.
20224         * elf/tst-global1.c: Likewise.
20225         * elf/tst-pathopt.c: Likewise.
20226         * elf/tst-piemod1.c: Likewise.
20227         * elf/tst-tls10.c: Likewise.
20228         * elf/tst-tls11.c: Likewise.
20229         * elf/tst-tls12.c: Likewise.
20230         * gnulib/tst-gcc.c: Likewise.
20231         * iconvdata/tst-e2big.c: Likewise.
20232         * iconvdata/tst-loading.c: Likewise.
20233         * iconv/tst-iconv1.c: Likewise.
20234         * iconv/tst-iconv2.c: Likewise.
20235         * inet/test-inet6_opt.c: Likewise.
20236         * inet/tst-gethnm.c: Likewise.
20237         * inet/tst-network.c: Likewise.
20238         * inet/tst-ntoa.c: Likewise.
20239         * intl/tst-codeset.c: Likewise.
20240         * intl/tst-gettext2.c: Likewise.
20241         * intl/tst-gettext3.c: Likewise.
20242         * intl/tst-ngettext.c: Likewise.
20243         * intl/tst-translit.c: Likewise.
20244         * io/test-stat.c: Likewise.
20245         * libio/test-fmemopen.c: Likewise.
20246         * libio/tst-freopen.c: Likewise.
20247         * libio/tst-sscanf.c: Likewise.
20248         * libio/tst-ungetwc1.c: Likewise.
20249         * libio/tst-ungetwc2.c: Likewise.
20250         * libio/tst-widetext.c: Likewise.
20251         * localedata/tst-ctype.c: Likewise.
20252         * localedata/tst-digits.c: Likewise.
20253         * localedata/tst-leaks.c: Likewise.
20254         * localedata/tst-mbswcs1.c: Likewise.
20255         * localedata/tst-mbswcs2.c: Likewise.
20256         * localedata/tst-mbswcs3.c: Likewise.
20257         * localedata/tst-mbswcs4.c: Likewise.
20258         * localedata/tst-mbswcs5.c: Likewise.
20259         * localedata/tst-setlocale.c: Likewise.
20260         * localedata/tst-trans.c: Likewise.
20261         * localedata/tst-wctype.c: Likewise.
20262         * localedata/tst-xlocale1.c: Likewise.
20263         * login/tst-grantpt.c: Likewise.
20264         * malloc/tst-calloc.c: Likewise.
20265         * malloc/tst-malloc.c: Likewise.
20266         * malloc/tst-mallocstate.c: Likewise.
20267         * malloc/tst-mcheck.c: Likewise.
20268         * malloc/tst-mtrace.c: Likewise.
20269         * malloc/tst-obstack.c: Likewise.
20270         * math/atest-exp2.c: Likewise.
20271         * math/atest-exp.c: Likewise.
20272         * math/atest-sincos.c: Likewise.
20273         * math/test-matherr.c: Likewise.
20274         * math/test-misc.c: Likewise.
20275         * math/test-powl.c: Likewise.
20276         * math/tst-definitions.c: Likewise.
20277         * misc/tst-dirname.c: Likewise.
20278         * misc/tst-efgcvt.c: Likewise.
20279         * misc/tst-fdset.c: Likewise.
20280         * misc/tst-hsearch.c: Likewise.
20281         * misc/tst-mntent2.c: Likewise.
20282         * nptl/tst-sem7.c: Likewise.
20283         * nptl/tst-sem8.c: Likewise.
20284         * nptl/tst-sem9.c: Likewise.
20285         * nss/test-netdb.c: Likewise.
20286         * posix/tst-fnmatch.c: Likewise.
20287         * posix/tst-getlogin.c: Likewise.
20288         * posix/tst-gnuglob.c: Likewise.
20289         * posix/tst-mmap.c: Likewise.
20290         * pwd/tst-getpw.c: Likewise.
20291         * resolv/tst-inet_ntop.c: Likewise.
20292         * rt/tst-timer.c: Likewise.
20293         * stdio-common/test-fseek.c: Likewise.
20294         * stdio-common/test-popen.c: Likewise.
20295         * stdio-common/test-vfprintf.c: Likewise.
20296         * stdio-common/tst-cookie.c: Likewise.
20297         * stdio-common/tst-fileno.c: Likewise.
20298         * stdio-common/tst-gets.c: Likewise.
20299         * stdio-common/tst-obprintf.c: Likewise.
20300         * stdio-common/tst-perror.c: Likewise.
20301         * stdio-common/tst-sprintf2.c: Likewise.
20302         * stdio-common/tst-sprintf3.c: Likewise.
20303         * stdio-common/tst-sprintf.c: Likewise.
20304         * stdio-common/tst-swprintf.c: Likewise.
20305         * stdio-common/tst-tmpnam.c: Likewise.
20306         * stdio-common/tst-unbputc.c: Likewise.
20307         * stdio-common/tst-wc-printf.c: Likewise.
20308         * stdlib/tst-environ.c: Likewise.
20309         * stdlib/tst-fmtmsg.c: Likewise.
20310         * stdlib/tst-limits.c: Likewise.
20311         * stdlib/tst-rand48-2.c: Likewise.
20312         * stdlib/tst-rand48.c: Likewise.
20313         * stdlib/tst-random2.c: Likewise.
20314         * stdlib/tst-random.c: Likewise.
20315         * stdlib/tst-strtol.c: Likewise.
20316         * stdlib/tst-strtoll.c: Likewise.
20317         * stdlib/tst-tls-atexit.c: Likewise.
20318         * stdlib/tst-xpg-basename.c: Likewise.
20319         * string/test-ffs.c: Likewise.
20320         * string/tst-bswap.c: Likewise.
20321         * string/tst-inlcall.c: Likewise.
20322         * string/tst-strtok.c: Likewise.
20323         * string/tst-strxfrm.c: Likewise.
20324         * sysdeps/x86_64/tst-audit10.c: Likewise.
20325         * sysdeps/x86_64/tst-audit3.c: Likewise.
20326         * sysdeps/x86_64/tst-audit4.c: Likewise.
20327         * sysdeps/x86_64/tst-audit5.c: Likewise.
20328         * time/tst-ftime_l.c: Likewise.
20329         * time/tst-getdate.c: Likewise.
20330         * time/tst-mktime3.c: Likewise.
20331         * time/tst-mktime.c: Likewise.
20332         * time/tst-posixtz.c: Likewise.
20333         * time/tst-strptime2.c: Likewise.
20334         * time/tst-strptime3.c: Likewise.
20335         * wcsmbs/tst-btowc.c: Likewise.
20336         * wcsmbs/tst-mbrtowc.c: Likewise.
20337         * wcsmbs/tst-mbsrtowcs.c: Likewise.
20338         * wcsmbs/tst-wchar-h.c: Likewise.
20339         * wcsmbs/tst-wcpncpy.c: Likewise.
20340         * wcsmbs/tst-wcrtomb.c: Likewise.
20341         * wcsmbs/tst-wcsnlen.c: Likewise.
20342         * wcsmbs/tst-wcstof.c: Likewise.
20344 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
20346         [BZ #14132]
20347         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
20348         INTDEF.
20349         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
20350         declaration.
20351         (_dl_mcount): Use rtld_hidden_proto.
20352         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
20353         _dl_mcount.
20354         * elf/rtld.c (_rtld_global_ro): Likewise.
20356         [BZ #14132]
20357         * elf/dl-init.c (_dl_init): Don't use INTDEF.
20358         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
20359         of _dl_init_internal.
20360         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
20361         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
20362         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
20363         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
20364         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
20365         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
20366         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
20367         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
20368         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
20369         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
20370         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
20371         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
20372         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20373         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20374         * sysdeps/tile/dl-start.S (_start): Likewise.
20375         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
20376         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
20378         [BZ #14132]
20379         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
20380         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
20381         (rtld_progname): Make macro definition unconditional.
20382         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
20383         INTDEF.
20384         (dlmopen_doit): Do not use INTUSE with _dl_argv.
20385         (dl_main): Likewise.
20386         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20387         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
20388         instead of _dl_argv_internal.
20389         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20390         __GI__dl_argv instead of INTUSE(_dl_argv).
20391         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
20392         __GI__dl_argv instead of _dl_argv_internal.
20394         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
20395         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
20396         macro.
20397         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
20398         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
20399         New macro.
20400         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
20401         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
20402         macro.
20403         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
20404         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
20406 2014-11-04  Andreas Schwab  <schwab@suse.de>
20408         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
20410 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20412         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
20413         mtvsrd instruction in binary form.
20415 2014-11-03  Andreas Schwab  <schwab@suse.de>
20417         [BZ #17522]
20418         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
20419         for less than MB_LEN_MAX use a local buffer of that size.
20420         * libio/tst-fputws.c: New file.
20421         * libio/Makefile (tests): Add tst-fputws.
20423 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
20425         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
20426         the size of the fpu_fr.fpu_dregs[] array.
20428 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
20430         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
20431         (__nanosleep): Do not define as alias.
20432         (nanosleep): Define as alias of __nanosleep.
20433         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
20434         __libc_nanosleep name.
20436 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20438         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
20439         install.texi in comment.
20441 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20443         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
20444         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
20445         ... add here and use lwsync or sync ...
20446         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
20447         ... and add here using lwsync.
20449 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20451         * elf/dl-machine-reject-phdr.h: New file.
20452         * elf/dl-load.c: #include that.
20453         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
20454         if that returned true.
20456 2014-10-31  Roland McGrath  <roland@hack.frob.com>
20458         [BZ #17496]
20459         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
20460         gen-as-const-headers chunk.  Add a big scare comment after the last
20461         safe place to touch before-compile.
20463 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20465         * manual/install.texi (Tools for Compilation): Update autoconf
20466         version requirements.
20467         * INSTALL: Regenerated.
20469         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
20470         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
20471         (__libc_pselect): Likewise.
20473         [BZ #14138]
20474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
20475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20479 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20481         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
20482         correct barrier instruction.
20483         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
20484         Likewise.
20485         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
20486         Likewise.
20488 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20490         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
20491         after defining inlines.  Instead, just use parens to defeat macro
20492         expansion of __isctype in its declaration.
20494 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20496         * include/sys/uio.h (__libc_readv): Remove declaration.
20497         (__libc_writev): Likewise.
20498         * misc/readv.c (__libc_readv): Rename to __readv.
20499         (__readv): Do not define as alias.
20500         (readv): Define as alias of __readv.
20501         * misc/writev.c (__libc_writev): Rename to __writev.
20502         (__writev): Do not define as alias.
20503         (writev): Define as alias of __writev.
20504         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
20505         (__readv): Do not define as alias.
20506         (readv): Define unconditionally as alias of __readv.
20507         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
20508         (__writev): Do not define as alias.
20509         (writev): Define unconditionally as alias of __writev.
20510         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
20511         name.
20512         (writev): Do not define __libc_writev name.
20514 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20516         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
20517         (convert_charseq): New function, broken out of ...
20518         (use_from_charmap): ... here.  Call it.
20519         (use_to_charmap): Use convert_charseq and free instead of duplicating
20520         its code with a variable-length stack struct.
20522 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20524         * include/fcntl.h (__libc_creat): Remove declaration.
20525         * io/creat.c (__libc_creat): Rename to creat.
20526         (creat): Do not define as alias.
20527         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
20528         of creat instead of __libc_creat.
20529         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
20530         to creat.
20531         (creat): Do not define as alias.
20532         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
20533         __libc_creat.
20534         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
20535         __libc_creat name.
20536         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
20537         Likewise.
20539 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
20541         * manual/llio.texi: Add comments discussing why write() may be
20542         considered MT-unsafe on Linux.
20544 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
20546         * dl-load.c (local_strdup): Remove.
20547         (expand_dynamic_string_token): Use __strdup.
20548         (decompose_rpath): Likewise.
20549         (_dl_map_object): Likewise.
20551 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
20553         [BZ #14132]
20554         * sysdeps/generic/unwind-dw2-fde.c
20555         (__register_frame_info_bases_internal): Do not declare.
20556         (__register_frame_info_table_bases_internal): Likewise.
20557         (__deregister_frame_info_bases_internal): Likewise.
20558         (__register_frame_info_bases): Declare and use hidden_proto before
20559         definition.  Use hidden_def instead of INTDEF.
20560         (__register_frame_info_table_bases): Likewise.
20561         (__deregister_frame_info_bases): Likewise.
20562         (__register_frame_info): Do not use INTUSE.
20563         (__register_frame): Likewise.
20564         (__register_frame_info_table): Likewise.
20565         (__register_frame_table): Likewise.
20566         (__deregister_frame_info): Likewise.
20567         (__deregister_frame): Likewise.
20569 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
20571         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20572         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
20573         not undefine.
20574         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
20575         Likewise.
20576         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
20577         Likewise.
20579 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
20581         [BZ #14138]
20582         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
20583         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
20584         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
20585         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
20586         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
20587         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
20588         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
20589         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
20590         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
20591         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
20592         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
20593         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
20594         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
20595         syscall.
20596         (setfsuid): Likewise.
20597         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
20598         (setfsuid): Likewise.
20599         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
20600         (setfsuid): Likewise.
20601         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
20602         Likewise.
20603         (setfsuid): Likewise.
20604         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
20605         (setfsuid): Likewise.
20606         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
20607         Likewise.
20608         (setfsuid): Likewise.
20610 2014-10-27  Andreas Schwab  <schwab@suse.de>
20612         [BZ #17501]
20613         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
20614         check for Slow_SSE4_2 feature bit.
20615         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
20616         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20617         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
20618         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
20620 2014-10-24  Roland McGrath  <roland@hack.frob.com>
20622         * configure.ac: Validate compiler version with a empirical test of
20623         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
20624         $CC -v output.
20625         * configure: Regenerated.
20627         * inet/htons.c (htons): Prototypify.
20628         * inet/htonl.c (htonl): Likewise.
20630 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20632         * string/strncat.c (strncat): Improve performance by using strlen.
20634 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20636         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
20638 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20640         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
20641         Call libc_fetestexcept_aarch64.
20643 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20645         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
20646         Call libc_feholdexcept_aarch64.
20648 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20650         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
20651         Call get_rounding_mode.
20653 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20655         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20656         Simplify logic.
20658 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20660         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
20661         Simplify logic.
20663 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
20665         [BZ #14138]
20666         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
20667         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
20668         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
20669         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
20670         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
20671         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
20672         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
20673         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
20674         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
20675         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
20676         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20677         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
20678         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
20679         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
20680         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
20681         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
20682         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
20683         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
20684         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
20685         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
20686         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
20687         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
20688         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
20689         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
20690         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
20691         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
20692         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
20693         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
20694         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
20695         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
20696         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
20697         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
20698         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
20699         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
20700         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
20701         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
20702         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
20703         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
20704         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
20705         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
20706         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
20707         syscall.
20708         (geteuid): Likewise.
20709         (getgid): Likewise.
20710         (getuid): Likewise.
20711         (getresgid): Likewise.
20712         (getresuid): Likewise.
20713         (getgroups): Likewise.
20714         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
20715         (geteuid): Likewise.
20716         (getgid): Likewise.
20717         (getuid): Likewise.
20718         (getresgid): Likewise.
20719         (getresuid): Likewise.
20720         (getgroups): Likewise.
20721         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
20722         (geteuid): Likewise.
20723         (getgid): Likewise.
20724         (getuid): Likewise.
20725         (getresgid): Likewise.
20726         (getresuid): Likewise.
20727         (getgroups): Likewise.
20728         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
20729         Likewise.
20730         (geteuid): Likewise.
20731         (getgid): Likewise.
20732         (getuid): Likewise.
20733         (getresgid): Likewise.
20734         (getresuid): Likewise.
20735         (getgroups): Likewise.
20736         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
20737         (geteuid): Likewise.
20738         (getgid): Likewise.
20739         (getuid): Likewise.
20740         (getresgid): Likewise.
20741         (getresuid): Likewise.
20742         (getgroups): Likewise.
20743         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
20744         Likewise.
20745         (geteuid): Likewise.
20746         (getgid): Likewise.
20747         (getuid): Likewise.
20748         (getgroups): Likewise.
20750         [BZ #14138]
20751         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
20752         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
20753         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
20754         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20755         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
20756         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
20757         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
20758         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
20759         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
20760         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
20761         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
20762         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
20763         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
20764         __chown.
20765         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
20766         (lchown): Likewise.
20767         (fchown): Likewise.
20768         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
20769         Likewise.
20770         (lchown): Likewise.
20771         (fchown): Likewise.
20772         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
20773         (lchown): Likewise.
20774         (fchown): Likewise.
20775         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
20776         Likewise.
20777         (lchown): Likewise.
20778         (fchown): Likewise.
20780 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20782         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
20783         Simplify logic.
20785 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20787         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20788         Cleanup logic.
20790 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20792         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20793         Remove unused include.
20795 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20797         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
20798         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
20799         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
20800         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
20802 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
20803             Helge Deller <deller@gmx.de>
20805         [BZ #17508]
20806         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
20807         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
20808         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
20810 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
20812         [BZ #14132]
20813         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
20814         Remove macro definition.
20815         (__ashrdi3_v_glibc20): Likewise.
20816         (__lshrdi3_v_glibc20): Likewise.
20817         (__cmpdi2_v_glibc20): Likewise.
20818         (__ucmpdi2_v_glibc20): Likewise.
20819         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
20820         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20821         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20822         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20823         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20824         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
20826 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20828         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
20829         old GNU extension [0] syntax.
20830         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
20831         alloca rather than an array member with variable length.
20832         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
20833         * nscd/nscd.c (invalidate_db): New function, broken out of ...
20834         (parse_opt): ... here.  Likewise use alloca there.
20835         Validate the -i argument before checking for rootness.
20836         (send_shutdown): New function, broken out of ...
20837         (parse_opt): ... here.
20839 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20841         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
20842         macro to get at the _rt_local_ro field.
20843         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
20844         ([PIC] case) or _dl_hwcap ([!PIC] case).
20845         * sysdeps/arm/setjmp.S: Likewise.
20847         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
20848         * sysdeps/arm/configure.ac: New check to define it.
20849         * sysdeps/arm/configure: Regenerated.
20850         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
20851         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
20852         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
20853         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
20854         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
20855         Use move/movt pair instead of a load.
20856         (LDST_GLOBAL): Macro removed.
20857         (LDR_GLOBAL): New macro replaces it.
20858         (LDR_HIDDEN): New macro.
20859         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
20860         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
20862         * setjmp/tst-setjmp-static.c: New file.
20863         * setjmp/Makefile (tests): Add it.
20864         (tests-static): New variable.
20866 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
20868         [BZ #17485]
20869         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
20871 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
20873         [BZ #14132]
20874         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
20876 2014-10-21  Roland McGrath  <roland@hack.frob.com>
20878         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
20880 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20882         * io/fts.c (dirent_not_directory): New function.
20883         (fts_build): Call it.
20885 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20887         * nptl/version.c (__nptl_main): Use normal __write rather than
20888         INTERNAL_SYSCALL.
20889         (banner): Update copyright years.
20891         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
20892         gettimeofday.
20893         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20894         * nptl/pthread_cond_timedwait.c: Likewise.
20895         * nptl/pthread_mutex_timedlock.c: Likewise.
20896         * nptl/sem_timedwait.c: Likewise.
20898         * sysdeps/nptl/bits/libc-lock.h
20899         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20900         (__libc_lock_init_recursive): Return void, not 0.
20901         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
20902         (__libc_rwlock_init): Likewise.
20903         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
20905 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20907         [BZ #15215]
20908         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
20909         (__pthread_once_slow): ... here.
20910         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
20911         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
20913 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20915         [BZ #15215]
20916         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
20917         __PTHREAD_ONCE_FORK_GEN_INCR): New.
20918         * sysdeps/nptl/fork.c (__libc_fork): Use them.
20919         * nptl/pthread_once.c (__pthread_once): Likewise.
20920         Update comments.
20922 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
20924         [BZ #14138]
20925         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
20926         name.
20927         (writev): Use __libc_writev as strong name.
20928         * sysdeps/unix/sysv/linux/readv.c: Remove file.
20929         * sysdeps/unix/sysv/linux/writev.c: Likewise.
20931 2014-10-17  Roland McGrath  <roland@hack.frob.com>
20933         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
20935         * sysdeps/i386/nptl/tls.h
20936         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
20937         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
20938         New macros.
20939         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
20940         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
20941         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
20942         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
20943         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
20944         Call CHECK_THREAD_SYSINFO instead of doing an assert.
20946         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20947         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
20948         on [__NR_futex].
20949         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
20950         broken out of ...
20951         (__pthread_mutex_init): ... here.  Call it.
20952         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
20953         Conditionalize PI cases on [__NR_futex].
20954         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
20955         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
20956         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
20958         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
20959         conditional on [SIGSETXID].
20960         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
20961         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
20962         is defined.  Likewise for SIGSETXID.
20963         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
20964         Conditionalize definitions on [SIGSETXID].
20965         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
20966         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
20967         unblocking on [SIGCANCEL].
20969         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
20970         [__NR_set_robust_list].
20972 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20974         * string/strcoll_l.c (get_next_seq): Fix up formatting.
20975         (do_compare): Likewise.
20977 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
20979         [BZ #15884]
20980         * string/strcoll_l.c: Don't include stdio.h.
20981         (coll_seq): Remove members idxarr and rulearr.
20982         (get_next_seq_cached): Remove function.
20983         (get_next_seq): Likewise.
20984         (get_next_seq_nocache): Rename to get_next_seq.
20985         (do_compare): Remove function.
20986         (do_compare_nocache): Rename to do_compare.
20987         (STRCOLL): Remove weight and rules cache.
20989 2014-10-16  Roland McGrath  <roland@hack.frob.com>
20991         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
20992         * sysdeps/arm/sfp-machine.h: ... to here.
20993         * sysdeps/arm/Implies: Remove arm/soft-fp.
20995 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
20997         * conform/data/sys/utsname.h-data (*_t): Allow.
20998         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
20999         [POSIX] (WEXITED): Do not expect constant.
21000         [POSIX] (WSTOPPED): Likewise.
21001         [POSIX] (WNOHANG): Likewise.
21002         [POSIX] (WNOWAIT): Likewise.
21003         [POSIX] (siginfo_t): Do not expect type or elements.
21004         [POSIX] (pid_t): Do not expect type.
21005         [POSIX] (signal.h): Do not allow header.
21006         [POSIX] (sys/resource.h): Likewise.
21007         [POSIX] (si_*): Do not allow pattern.
21008         [POSIX] (W*): Likewise.
21009         [POSIX] (P_*): Likewise.
21010         [POSIX] (BUS_*): Likewise.
21011         [POSIX] (CLD_*): Likewise.
21012         [POSIX] (FPE_*): Likewise.
21013         [POSIX] (ILL_*): Likewise.
21014         [POSIX] (POLL_*): Likewise.
21015         [POSIX] (SEGV_*): Likewise.
21016         [POSIX] (SI_*): Likewise.
21017         [POSIX] (TRAP_*): Likewise.
21018         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
21019         variable.
21021 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
21023         [BZ #12926]
21024         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
21025         infinite loop when __recvmsg returns 0.
21027 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
21029         * CANCEL-FCT-WAIVE: Remove file.
21030         * CANCEL-FILE-WAIVE: Likewise.
21032         [BZ #14132]
21033         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
21034         instead of INTVARDEF.
21035         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21036         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
21037         rtld_hidden_data_def instead of INTVARDEF.
21038         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21039         * elf/dl-deps.c (expand_dst): Likewise.
21040         * elf/dl-load.c (_dl_dst_count): Likewise.
21041         (_dl_dst_substitute): Likewise.
21042         (decompose_rpath): Likewise.
21043         (_dl_init_paths): Likewise.
21044         (open_path): Likewise.
21045         (_dl_map_object): Likewise.
21046         * elf/rtld.c (dl_main): Likewise.
21047         (process_dl_audit): Likewise.
21048         (process_envvars): Likewise.
21049         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
21050         Remove declaration.
21051         (__libc_enable_secure): Use rtld_hidden_proto.
21053 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21055         * elf/dl-load.c
21056         (add_path): New function broken out of _dl_rtld_di_serinfo.
21057         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
21059 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21061         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
21062         parentheses around macro arguments.
21063         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
21064         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
21065         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
21066         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
21067         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
21068         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21069         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21070         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
21071         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
21072         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
21073         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
21074         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
21075         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
21076         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
21077         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
21078         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
21079         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
21080         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
21081         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
21082         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
21083         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
21084         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
21085         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
21086         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21087         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21088         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
21089         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
21090         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
21091         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
21092         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
21093         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
21094         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
21095         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
21096         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
21097         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
21098         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
21099         Likewise.
21100         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
21101         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21102         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21103         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
21104         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
21105         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
21106         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
21107         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
21108         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
21109         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
21110         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
21111         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
21112         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
21113         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
21114         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
21115         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21116         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21117         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
21118         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
21119         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
21120         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
21121         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
21122         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
21123         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
21124         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
21125         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
21126         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
21127         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
21128         (_FP_FRAC_SRS_1): Likewise.
21129         (_FP_FRAC_CLZ_1): Likewise.
21130         (_FP_MUL_MEAT_1_imm): Likewise.
21131         (_FP_MUL_MEAT_1_wide): Likewise.
21132         (_FP_MUL_MEAT_1_hard): Likewise.
21133         (_FP_SQRT_MEAT_1): Likewise.
21134         (_FP_FRAC_ASSEMBLE_1): Likewise.
21135         (_FP_FRAC_DISASSEMBLE_1): Likewise.
21136         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
21137         (__FP_CLZ_2): Likewise.
21138         (_FP_MUL_MEAT_2_wide): Likewise.
21139         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21140         (_FP_MUL_MEAT_2_gmp): Likewise.
21141         (_FP_MUL_MEAT_2_120_240_double): Likewise.
21142         (_FP_SQRT_MEAT_2): Likewise.
21143         (_FP_FRAC_ASSEMBLE_2): Likewise.
21144         (_FP_FRAC_DISASSEMBLE_2): Likewise.
21145         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
21146         (_FP_FRAC_CLZ_4): Likewise.
21147         (_FP_MUL_MEAT_4_wide): Likewise.
21148         (_FP_MUL_MEAT_4_gmp): Likewise.
21149         (_FP_SQRT_MEAT_4): Likewise.
21150         (_FP_FRAC_ASSEMBLE_4): Likewise.
21151         (_FP_FRAC_DISASSEMBLE_4): Likewise.
21152         * soft-fp/op-common.h (_FP_CMP): Likewise.
21153         (_FP_CMP_EQ): Likewise.
21154         (_FP_CMP_UNORD): Likewise.
21155         (_FP_TO_INT): Likewise.
21156         (_FP_FROM_INT): Likewise.
21157         [!__FP_CLZ] (__FP_CLZ): Likewise.
21158         (_FP_DIV_HELP_imm): Likewise.
21159         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
21160         Likewise.
21161         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
21162         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
21163         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
21164         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
21165         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
21166         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21167         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21168         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
21169         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
21170         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
21171         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
21172         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
21173         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
21174         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
21175         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
21176         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
21177         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
21178         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
21179         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
21180         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
21181         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
21182         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
21183         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
21184         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21185         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21186         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
21187         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
21188         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
21189         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
21190         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
21191         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
21192         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
21193         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
21194         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
21195         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
21196         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
21197         (FP_UNPACK_RAW_SP): Likewise.
21198         (FP_PACK_RAW_S): Likewise.
21199         (FP_PACK_RAW_SP): Likewise.
21200         (FP_UNPACK_S): Likewise.
21201         (FP_UNPACK_SP): Likewise.
21202         (FP_UNPACK_SEMIRAW_S): Likewise.
21203         (FP_UNPACK_SEMIRAW_SP): Likewise.
21204         (FP_PACK_S): Likewise.
21205         (FP_PACK_SP): Likewise.
21206         (FP_PACK_SEMIRAW_S): Likewise.
21207         (FP_PACK_SEMIRAW_SP): Likewise.
21208         (_FP_SQRT_MEAT_S): Likewise.
21209         (FP_CMP_S): Likewise.
21210         (FP_CMP_EQ_S): Likewise.
21211         (FP_CMP_UNORD_S): Likewise.
21212         (FP_TO_INT_S): Likewise.
21213         (FP_FROM_INT_S): Likewise.
21215         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
21217         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
21218         (FP_EX_INVALID_IMZ): Likewise.
21219         (FP_EX_INVALID_IMZ_FMA): Likewise.
21220         (FP_EX_INVALID_ISI): Likewise.
21221         (FP_EX_INVALID_ZDZ): Likewise.
21222         (FP_EX_INVALID_IDI): Likewise.
21223         (FP_EX_INVALID_SQRT): Likewise.
21224         (FP_EX_INVALID_CVI): Likewise.
21225         (FP_EX_INVALID_VC): Likewise.
21226         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
21227         "invalid" exceptions.
21228         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
21229         (_FP_ADD_INTERNAL): Likewise.
21230         (_FP_MUL): Likewise.
21231         (_FP_FMA): Likewise.
21232         (_FP_DIV): Likewise.
21233         (_FP_CMP_CHECK_NAN): Likewise.
21234         (_FP_SQRT): Likewise.
21235         (_FP_TO_INT): Likewise.
21236         (FP_EXTEND): Likewise.
21238 2014-10-09  Allan McRae  <allan@archlinux.org>
21240         * po/fr.po: Update French translation from translation project.
21242 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21244         [BZ #14132]
21245         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
21246         of INTDEF.
21247         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
21248         (__cxa_atexit): Use libc_hidden_proto.
21249         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
21251         [BZ #14132]
21252         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
21253         declaration.
21254         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
21255         [!_ISOMAC] (__iswspace_l_internal): Likewise.
21256         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
21257         [!_ISOMAC] (__iswctype_internal): Likewise.
21258         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
21259         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
21260         alias.
21261         (fcntl): Remove __fcntl_internal alias.
21262         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
21263         __connect_internal alias.
21264         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
21265         Likewise.
21267         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
21268         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
21269         FP_DENORM_ZERO.
21270         (_FP_CHECK_FLUSH_ZERO): New macro.
21271         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
21272         (_FP_CMP): Likewise.
21273         (_FP_CMP_EQ): Likewise.
21274         (_FP_TO_INT): Do not set inexact for subnormal arguments if
21275         FP_DENORM_ZERO.
21276         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
21277         (FP_TRUNC): Likewise.
21279         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
21280         treated as invalid conversion, not as normal exponent.
21282         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
21283         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
21284         (_FP_CMP_EQ): Likewise.
21285         (_FP_CMP_UNORD): Likewise.
21286         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
21287         (FP_CMP_EQ_D): Likewise.
21288         (FP_CMP_UNORD_D): Likewise.
21289         * soft-fp/extended.h (FP_CMP_E): Likewise.
21290         (FP_CMP_EQ_E): Likewise.
21291         (FP_CMP_UNORD_E): Likewise.
21292         * soft-fp/quad.h (FP_CMP_Q): Likewise.
21293         (FP_CMP_EQ_Q): Likewise.
21294         (FP_CMP_UNORD_Q): Likewise.
21295         * soft-fp/single.h (FP_CMP_S): Likewise.
21296         (FP_CMP_EQ_S): Likewise.
21297         (FP_CMP_UNORD_S): Likewise.
21298         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
21299         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
21300         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
21301         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
21302         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
21303         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
21304         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
21305         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
21306         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
21307         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
21308         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
21309         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
21310         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
21311         to FP_CMP_Q.
21312         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
21313         FP_CMP_Q.
21314         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
21315         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
21316         FP_CMP_EQ_Q.
21317         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
21318         FP_CMP_Q.
21319         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
21320         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
21321         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
21322         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
21323         FP_CMP_EQ_Q.
21324         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
21325         FP_CMP_Q.
21326         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
21327         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
21328         FP_CMP_EQ_Q.
21329         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
21330         FP_CMP_Q.
21331         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
21332         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
21333         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
21334         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
21335         FP_CMP_EQ_Q.
21337         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
21338         a subnormal result, set the underflow exception if trapping on
21339         underflow is enabled.
21340         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
21341         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
21342         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
21343         redefine to 0.
21344         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
21345         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21346         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21347         * soft-fp/extendxftf2.c (__extendxftf2): Use
21348         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
21350         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
21351         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
21352         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21353         FP_HANDLE_EXCEPTIONS.
21354         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
21355         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21356         FP_HANDLE_EXCEPTIONS.
21357         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
21358         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21359         FP_HANDLE_EXCEPTIONS.
21360         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
21361         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21362         FP_HANDLE_EXCEPTIONS.
21364 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
21366         [BZ #14132]
21367         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
21368         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
21369         use INTUSE.
21370         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
21371         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
21372         Remove alias.
21373         (__adjtimex): Define using libc_hidden_ver.
21374         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
21375         Remove declaration.
21376         (ntp_gettime): Call __adjtimex directly.
21377         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
21378         Remove declaration.
21379         (ntp_gettimex): Call __adjtimex directly.
21380         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
21381         __adjtimex_internal alias.
21383 2014-10-08  Roland McGrath  <roland@hack.frob.com>
21385         [BZ #17460]
21386         * nscd/nscd.c (more_help): Rewrite list of tables collection
21387         using xstrdup and asprintf.
21389         * nscd/nscd_conf.c: Remove local xstrdup declaration.
21391 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21392             Roland McGrath  <roland@hack.frob.com>
21394         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
21395         (do_lookup_unique): ... local function 'enter' here; update callers.
21397 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
21399         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
21400         compat_symbol calls on [SHARED].
21401         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
21402         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
21403         Remove.
21404         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21405         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
21406         (oldsetrlimit): Remove.
21407         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21409         (lchown): New syscall entry.
21410         (oldsetrlimit): Remove.
21411         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21412         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
21413         (oldsetrlimit): Remove.
21414         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21416         [BZ #14138]
21417         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
21418         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
21419         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
21420         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
21421         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21422         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
21423         (fchown): Likewise.
21424         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
21425         (fchown): Likewise.
21426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
21427         Likewise.
21429 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21431         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
21432         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
21433         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
21434         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
21435         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
21436         Likewise.
21437         (__old_sem_post): Likewise.
21439 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
21441         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
21442         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
21443         HAVE_CLOCK_GETTIME_VSYSCALL macros.
21444         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
21445         Use INLINE_VSYSCALL macro.
21446         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
21447         __vdso_clock_gettime.
21448         * sysdeps/unix/sysv/linux/tile/init-first.c
21449         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
21450         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
21451         __vdso_clock_gettime.
21453         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
21454         to set up frame more cleanly.
21456         * sysdeps/tile/memcmp.c: New file.
21458         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
21460         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
21461         * sysdeps/tile/tilegx/strcasestr.c: New file.
21462         * sysdeps/tile/tilegx/strnlen.c: New file.
21463         * sysdeps/tile/tilegx/strstr.c: New file.
21465         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
21467 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
21469         * nptl/tst-setuid3.c: Write errors to stdout.
21471 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21473         * elf/dl-deps.c
21474         (preload): New functions broken out of _dl_map_object_deps.
21475         (_dl_map_object_deps):  Remove a nested function. Update call sites.
21477 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
21479         [BZ #14138]
21480         * sysdeps/unix/sysv/linux/execve.c: Remove file.
21481         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
21483 2014-10-01  Steve Ellcey  <sellcey@mips.com>
21485         * sysdeps/mips/strcmp.S: New.
21487 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
21489         [BZ #14138]
21490         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
21491         (linkat): Likewise.
21492         (mkdirat): Likewise.
21493         (readlinkat): Likewise.
21494         (renameat): Likewise.
21495         (symlinkat): Likewise.
21496         (unlinkat): Likewise.
21497         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
21498         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
21499         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
21500         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
21501         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
21502         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
21503         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
21505 2014-09-30  Will Newton  <will.newton@linaro.org>
21507         * math/math.h: Define long double math functions if
21508         _LIBC_TEST is defined.
21509         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
21511         * localedata/Makefile: Move assignment to tests-special
21512         into an ifdef testing run-built-tests.
21513         * timezone/Makefile: Likewise.
21515 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
21517         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
21518         with $(BASH) not $(SHELL).
21520 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
21521             Matthew LeGendre  <legendre1@llnl.gov>
21523         [BZ #17411]
21524         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
21525         l_reloc_result.
21527 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21529         * stdio-common/printf_fp.c
21530         (hack_digit): New function, broken out of ...
21531         (__printf_fp): ... local function here.  Update call sites.
21532         hack_digit now takes an additional parameter that is a pointer
21533         to a struct of the referenced locals.  Those locals moved inside
21534         the struct and references updated.
21536 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
21538         * aclocal.m4: Require autoconf 2.69.
21539         * configure: Regenerated.
21540         * sysdeps/aarch64/configure: Likewise.
21541         * sysdeps/alpha/configure: Likewise.
21542         * sysdeps/arm/armv7/configure: Likewise.
21543         * sysdeps/arm/configure: Likewise.
21544         * sysdeps/ia64/configure: Likewise.
21545         * sysdeps/mach/configure: Likewise.
21546         * sysdeps/mips/configure: Likewise.
21547         * sysdeps/s390/configure: Likewise.
21548         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
21549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
21551         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
21552         file.
21553         * sysdeps/ia64/configure.ac: Likewise.
21555 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
21557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
21558         specify symbol version for ld.so.  Do not include entry for
21559         libpthread.
21560         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21561         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21562         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21564         [BZ #14171]
21565         * Makeconfig [$(build-shared) = yes]
21566         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
21567         makefiles.
21568         [$(build-shared) = yes && $(soversions.mk-done) = t]
21569         ($(common-objpfx)gnu/lib-names.h): Remove rule.
21570         [$(build-shared) = yes && $(soversions.mk-done) = t]
21571         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
21572         to Makerules.
21573         [$(build-shared) = yes && $(soversions.mk-done) = t]
21574         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
21575         here.
21576         [$(build-shared) = yes && $(soversions.mk-done) = t]
21577         (common-generated): Don't append gnu/lib-names.h and
21578         gnu/lib-names.stmp here.
21579         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
21580         (lib-names-h-abi): New variable.
21581         [$(build-shared) = yes && $(soversions.mk-done) = t]
21582         (lib-names-stmp-abi): Likewise.
21583         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21584         abi-variants] (before-compile): Append
21585         $(common-objpfx)$(lib-names-h-abi).
21586         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21587         abi-variants] (common-generated): Append gnu/lib-names.h.
21588         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21589         abi-variants] (install-others-nosubdir): Depend on
21590         $(inst_includedir)/$(lib-names-h-abi).
21591         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21592         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
21593         [$(build-shared) = yes && $(soversions.mk-done) = t]
21594         ($(common-objpfx)$(lib-names-h-abi)): New rule.
21595         [$(build-shared) = yes && $(soversions.mk-done) = t]
21596         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
21597         [$(build-shared) = yes && $(soversions.mk-done) = t]
21598         (common-generated): Append $(lib-names-h-abi) and
21599         $(lib-names-stmp-abi).
21600         * scripts/lib-names.awk: Do not handle multi being set.
21601         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
21602         Remove variable.
21603         (abi-lp64_be-ld-soname): Likewise.
21604         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
21605         Likewise.
21606         (abi-hard-ld-soname): Likewise.
21607         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
21608         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
21609         Remove variable.
21610         (abi-o32_hard-ld-soname): Likewise.
21611         (abi-o32_soft_2008-ld-soname): Likewise.
21612         (abi-o32_hard_2008-ld-soname): Likewise.
21613         (abi-n32_soft-ld-soname): Likewise.
21614         (abi-n32_hard-ld-soname): Likewise.
21615         (abi-n32_soft_2008-ld-soname): Likewise.
21616         (abi-n32_hard_2008-ld-soname): Likewise.
21617         (abi-n64_soft-ld-soname): Likewise.
21618         (abi-n64_hard-ld-soname): Likewise.
21619         (abi-n64_soft_2008-ld-soname): Likewise.
21620         (abi-n64_hard_2008-ld-soname): Likewise.
21621         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
21622         Likewise.
21623         (abi-64-v2-ld-soname): Likewise.
21624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
21625         ld.so entries.
21626         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
21627         variable.
21628         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
21629         entry.
21630         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
21631         variable.
21632         (abi-64-ld-soname): Likewise.
21633         (abi-x32-ld-soname): Likewise.
21634         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
21635         entry.
21636         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21638 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
21640         [BZ #14138]
21641         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
21642         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
21643         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
21644         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
21645         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
21646         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
21647         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
21648         syscall entry for GLIBC_2.2 symbol version.
21649         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
21650         Likewise.
21651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21652         (setrlimit): Likewise.
21653         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
21654         Likewise.
21656 2014-09-23  Will Newton  <will.newton@linaro.org>
21658         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
21659         _LINUX_ARM_SYSDEP_H include guard too.
21660         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
21661         define.
21663 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21665         * sysdeps/unix/sysv/linux/eventfd.c:
21666         Make first argument unsigned.
21667         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
21668         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
21670 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
21672         * socket/recvmmsg.c (recvmmsg): Drop const argument.
21673         * socket/sys/socket.h: Likewise
21674         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
21676 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21678         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
21680 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
21682         * time/tst-ftime.c: New test.
21683         * time/Makefile (tests): Add tst-ftime.
21685 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
21687         * soft-fp/extended.h: Fix comment formatting.
21688         * soft-fp/op-1.h: Likewise.
21689         * soft-fp/op-2.h: Likewise.
21690         * soft-fp/op-4.h: Likewise.
21691         * soft-fp/op-8.h: Likewise.
21692         * soft-fp/op-common.h: Likewise.
21693         * soft-fp/soft-fp.h: Likewise.
21695         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
21697 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
21699         [BZ #6652]
21700         * Makeconfig (soversions-default-setname): Remove variable.
21701         ($(common-objpfx)soversions.i): Don't pass default_setname to
21702         soversions.awk.
21703         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
21704         oldest_abi to abi-versions.awk.
21705         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
21706         * config.make.in (oldest-abi): Remove variable.
21707         * configure.ac (--enable-oldest-abi): Remove configure option.
21708         * configure: Regenerated.
21709         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
21710         text.
21711         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
21712         * scripts/soversions.awk: Do not handle default_setname variable.
21713         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
21714         variable.
21715         * sysdeps/mach/hurd/configure: Regenerated.
21716         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
21717         variable.
21718         * sysdeps/unix/sysv/linux/configure: Regenerated.
21720 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21722         * elf/Makefile (CFLAGS-interp.c): Remove.
21723         ($(elf-objpfx)runtime-linker.h): Generate header with linker
21724         path string.
21725         * elf/interp.c: Include generated runtime-linker.h
21727         * Makerules (lib%.so): Don't include $(+interp) in
21728         prerequisites.
21729         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
21730         * dlfcn/eval.c: Remove file.
21732         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
21733         macros.
21735         [BZ #17266]
21736         * misc/sys/cdefs.h: Define __extern_always_inline for clang
21737         4.2 and newer.
21739         [BZ #17370]
21740         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
21742 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21743             Jakub Jelinek  <jakub@redhat.com>
21745         [BZ #17266]
21746         * libio/stdio.h: Check definition of __fortify_function
21747         instead of __extern_always_inline to include bits/stdio2.h.
21748         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
21749         check if __extern_always_inline is defined.
21750         [__USE_MISC || __USE_XOPEN]: Likewise.
21751         [__USE_ISOC99] Likewise.
21752         * misc/sys/cdefs.h (__fortify_function): Define only if
21753         __extern_always_inline is defined.
21754         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
21755         __extern_always_inline and __extern_inline only for g++-4.3
21756         and newer or a compatible gcc.
21758 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
21760         [BZ #17371]
21761         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21762         last change to handle zero prefix length.
21764 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21766         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
21767         _SC_REGEX_VERSION.
21769         * posix/getconf.c (vars): Add _POSIX_IPV6 and
21770         _POSIX_RAW_SOCKETS.
21772 2014-09-13  Allan McRae  <allan@archlinux.org>
21774         * po/ru.po: Update Russian translation from translation project.
21776 2014-09-12  Roland McGrath  <roland@hack.frob.com>
21778         * locale/programs/locale.c (show_locale_vars): Inline local function
21779         into its sole call site.  Clean up some style nits.
21780         (print_item): New function, broken out of ...
21781         (show_info): ... local function here.  Clean up style nits.
21783         * locale/programs/ld-ctype.c (set_one_default): New function, broken
21784         out of ...
21785         (set_class_defaults): ... local function set_default here.
21786         Define set_default as a macro locally to pass constant parameters.
21787         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
21788         rather than a shared local.
21790         * stdlib/rpmatch.c (try): New function, broken out of ...
21791         (rpmatch): ... local function here.  Also, prototypify definition.
21793 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
21795         * scripts/soversions.awk: Do not handle configuration names.
21796         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
21797         vendor and os variables to soversions.awk.
21798         * configure.ac: Do not modify gnu-* host_os.
21799         * configure: Regenerated
21800         * shlib-versions: Remove first column with configuration names.
21801         * nptl/shlib-versions: Likewise.
21802         * nptl_db/shlib-versions: Likewise.
21803         * sysdeps/hppa/shlib-versions: Likewise.
21804         * sysdeps/m68k/shlib-versions: Likewise.
21805         * sysdeps/mach/hurd/shlib-versions: Likewise.
21806         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
21807         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
21808         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
21809         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
21810         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
21811         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
21812         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
21813         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
21814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21815         Likewise.
21816         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21817         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21818         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21819         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21820         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21821         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
21822         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21823         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21826         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
21827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21828         Regenerated.
21829         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
21830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21831         Condition symbol version definitions on [HAVE_ELFV2_ABI].
21833         * shlib-versions: Remove OS-specific entries.  Moved to files in
21834         sysdeps.
21835         * sysdeps/mach/hurd/shlib-versions: New file.
21836         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21838         * nptl/shlib-versions: Remove architecture-specific entries.
21839         Moved to files in sysdeps.
21840         * shlib-versions: Likewise.
21841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
21842         file.
21843         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21844         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21845         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21846         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21848         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
21849         (UDP_NO_CHECK6_RX): Likewise.
21851 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21853         * sysdeps/posix/sysconf.c (__sysconf): Spell
21854         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
21856 2014-08-12  Florian Weimer  <fweimer@redhat.com>
21858         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
21859         loading.
21860         * iconv/Versions (__gconv_transliterate): Export for use from
21861         gconv modules.
21862         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
21863         (struct __gconv_trans_data, __gconv_trans_fct,
21864         __gconv_trans_context_fct, __gconv_trans_query_fct,
21865         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
21866         definitions.
21867         (struct __gconv_step_data): Remove __trans member.
21868         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
21869         longer hidden.  Remove unused trans_data argument.
21870         * iconv/gconv_int.h (struct trans_struct): Remove definition.
21871         (__gconv_translit_find): Remove declaration.
21872         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
21873         prototype.
21874         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
21875         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
21876         trans_data argument.  Add hidden definition.
21877         (__gconv_translit_find): Remove.
21878         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
21879         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
21880         * iconv/skeleton.c: Remove transliteration initialization.
21881         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
21882         __gconv_step_data initialization.
21883         * libio/iofwide.c (__libio_translit_): Remove.
21884         (_IO_fwide): Adjust struct __gconv_step_data initialization.
21885         * wcsmbs/btowc.c (__btowc): Likewise.
21886         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21887         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21888         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21889         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21890         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
21891         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21892         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21893         * wcsmbs/wctob.c (wctob): Likewise.
21895 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21897         [BZ #16194]
21898         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
21899         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
21900         register usage.
21901         * sysdeps/x86/Makefile: Adjust.
21903 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21904             Roland McGrath  <roland@hack.frob.com>
21906         * locale/weight.h: Add include guard.
21907         (findidx): Make static rather than auto; take new parameters
21908         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
21909         * locale/weightwc.h: Likewise.
21910         * posix/fnmatch_loop.c
21911         (FCT): Change type of EXTRA from int32_t to wint_t.
21912         Don't include either header inside the function.
21913         Call FINDIDX rather than findidx, and pass new arguments.
21914         #undef FINDIDX at the end of the file.
21915         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
21916         FINDIDX before including fnmatch_loop.c for the non-wide version.
21917         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
21918         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
21919         for the wide version.
21920         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
21921         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
21922         Pass new arguments to findidx.
21923         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
21924         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
21925         Don't #include it inside the function.  Pass new arguments to findidx.
21926         * posix/regex_internal.h
21927         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
21928         (re_string_elem_size_at): Don't #include it inside the function.
21929         Pass new arguments to findidx.
21930         * string/strcoll_l.c: #include WEIGHT_H at top level.
21931         (get_next_seq): Don't #include it inside the function.
21932         Pass new arguments to findidx.
21933         (get_next_seq_nocache): Likewise.
21934         * string/strxfrm_l.c: #include WEIGHT_H at top level.
21935         (STRXFRM): Don't #include it inside the function.
21936         Pass new arguments to findidx.
21938 2014-09-11  Florian Weimer  <fweimer@redhat.com>
21940         [BZ #17344]
21941         * malloc/malloc.c (unlink): Turn asserts into a call to
21942         malloc_printerr.
21944 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
21946         [BZ #17370]
21947         * libio/wfileops (do_ftell_wide): Free OUT.
21949 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
21951         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
21953 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21955         [BZ #17363]
21956         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
21957         group if the current group is empty.
21959 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21961         * benchtests/bench-memset.c (test_main): Add more test from size
21962         from 32 to 512 bytes.
21963         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21964         Add POWER8 memset object.
21965         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21966         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
21967         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
21968         implementation.
21969         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
21970         Likewise.
21971         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
21972         multiarch POWER8 memset optimization.
21973         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
21974         POWER8 memset optimization.
21976         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21977         Remove bzero multiarch objects.
21978         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
21979         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
21980         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
21981         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
21982         Remove define.
21983         [__bzero]: Redefine to specific name.
21984         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21985         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21986         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
21987         define.
21988         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21989         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21991 2014-09-10  Florian Weimer  <fweimer@redhat.com>
21993         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
21994         warnings into errors.
21996         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
21997         __cxa_thread_atexit_impl prototype.
21999 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22001         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
22002         Fix capitalization of error message.
22004 2014-09-09  Steve Ellcey  <sellcey@mips.com>
22006         * sysdeps/mips/preconfigure: Modify ABI tests.
22008 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
22010         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
22012 2014-09-07  Roland McGrath  <roland@hack.frob.com>
22013             Carlos O'Donell  <carlos@systemhalted.org>
22015         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
22016         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
22017         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
22018         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
22019         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
22020         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
22021         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
22022         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
22023         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
22024         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
22025         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
22026         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
22027         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
22028         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
22029         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
22030         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
22031         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
22032         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
22033         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
22034         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
22035         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
22036         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
22037         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
22038         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
22039         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
22040         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
22041         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
22042         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
22043         Deconditionalize the code that was previously under [RESET_PID].
22044         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
22045         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
22046         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
22047         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
22048         include sysdep.h.
22050 2014-09-08  Allan McRae  <allan@archlinux.org>
22052         * version.h (RELEASE): Set to "development".
22053         (VERSION): Set to "2.20.90"
22055 2014-09-07  Allan McRae  <allan@archlinux.org
22057         * version.h (RELEASE): Set to "stable".
22058         (VERSION): Set to "2.20"
22059         * include/features.h (__GLIBC_MINOR__): Set to 20.
22061         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
22062         Liebler.
22064         * po/ko.po: Update Korean translation from translation project.
22066 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
22068         [BZ #17354]
22069         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
22070         macro for handling signed relocations.
22072 2014-09-03  Florian Weimer  <fweimer@redhat.com>
22074         [BZ #17325]
22075         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
22076         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
22077         assert.
22078         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
22079         * iconvdata/ibm935.c (BODY): Likewise.
22080         * iconvdata/ibm937.c (BODY): Likewise.
22081         * iconvdata/ibm939.c (BODY): Likewise.
22082         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
22083         assert.
22084         * iconvdata/Makefile (iconv-test.out): Pass module list to test
22085         script.
22086         * iconvdata/run-iconv-test.sh: New test loop for checking for
22087         decoder crashers.
22089 2014-09-02  Khem Raj  <raj.khem@gmail.com>
22091         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
22092         libm_hidden_ver.
22094 2014-09-01  Allan McRae  <allan@archlinux.org>
22096         * po/eo.po: Update Esperanto translation from translation project.
22098         * po/ca.po: Update Catalan translation from translation project.
22100 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22102         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
22103         __proc_dostop call.
22105 2014-08-27  Mark Wielaard  <mjw@redhat.com>
22107         [BZ #17319]
22108         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
22109         to call set_thread_area instead of hand written asm.
22110         (__NR_set_thread_area): Removed define.
22111         (TLS_FLAG_WRITABLE): Likewise.
22112         (__ASSUME_SET_THREAD_AREA): Remove check.
22113         (TLS_EBX_ARG): Remove define.
22114         (TLS_LOAD_EBX): Likewise.
22116 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22118         Simplify atomicity of socket creation in bind.
22120         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
22121         looking up the name after linking the file.
22123 2014-08-27  Allan McRae  <allan@archlinux.org>
22125         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22127 2014-08-26  Florian Weimer  <fweimer@redhat.com>
22129         [BZ #17187]
22130         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
22131         trans_compare, open_translit, __gconv_translit_find):
22132         Remove module loading code.
22134 2014-08-26  Allan McRae  <allan@archlinux.org>
22136         * po/vi.po: Update Vietnamese translation from translation project.
22138         * po/uk.po: Update Ukrainian translation from translation project.
22140         * po/fr.po: Update French translation from translation project.
22142         * po/ru.po: Update Russian translation from translation project.
22144         * po/pl.po: Update Polish translation from translation project.
22146         * po/cs.po: Update Czech translation from translation project.
22148         * po/de.po: Update German translation from translation project.
22150         * po/bg.po: Update Bulgarian translation from translation project.
22152         * po/sv.po: Update Sweedish translation from translation project.
22154         * po/nl.po: Update Dutch translation from translation project.
22156         * po/es.po: Update Spanish translation from translation project.
22158 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22160         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
22162         * catgets/Makefile (CPPFLAGS-gencat): Remove.
22163         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
22164         (CPPFLAGS-iconvconfig): Likewise.
22165         * timezone/Makefile (CPPFLAGS-zic): Likewise.
22167         * include/libc-symbols.h: Remove unnecessary check for
22168         NOT_IN_libc.
22169         * nptl/pthreadP.h: Likewise.
22170         * sysdeps/aarch64/setjmp.S: Likewise.
22171         * sysdeps/alpha/setjmp.S: Likewise.
22172         * sysdeps/arm/sysdep.h: Likewise.
22173         * sysdeps/i386/setjmp.S: Likewise.
22174         * sysdeps/m68k/setjmp.c: Likewise.
22175         * sysdeps/posix/getcwd.c: Likewise.
22176         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22177         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22178         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22179         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22180         * sysdeps/sh/sh3/setjmp.S: Likewise.
22181         * sysdeps/sh/sh4/setjmp.S: Likewise.
22182         * sysdeps/unix/alpha/sysdep.h: Likewise.
22183         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22184         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22185         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22186         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22189         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22190         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22191         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22192         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22193         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22194         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22195         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22196         * sysdeps/x86_64/setjmp.S: Likewise.
22198 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
22200         [BZ #17263]
22201         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
22202         <stdint.h>.
22203         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
22204         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
22206 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22208         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
22210         [BZ #17262]
22211         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
22212         and __x86_64__ when disabling x87 inline functions.
22214 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
22216         [BZ #17259]
22217         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
22218         asm statement with __cpuid_count.
22220 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
22222         * configure.ac: Change __ehdr_start code to dereference the struct.
22223         Run readelf on the output to look for relocations.
22224         * configure: Regenerated.
22226 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
22228         [BZ #17261]
22229         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
22230         value to 0.
22231         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
22233 2014-08-12  Roland McGrath  <roland@hack.frob.com>
22235         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
22237 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
22239         [BZ #16892]
22240         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
22241         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
22243 2014-08-12  Sean Anderson  <seanga2@gmail.com>
22245         * malloc/malloc.c: Fix typo in comment.
22247 2014-08-09  Allan McRae  <allan@archlinux.org>
22249         * Regenerate libc.po.
22251 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
22253         * intl/tst-gettext2.sh: Check every lang file for creation.
22255 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22257         * sysdeps/aarch64/fpu/math_private.h
22258         (libc_feholdsetround_noex_aarch64_ctx): New function.
22260 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22262         * sysdeps/arm/armv6/strcpy.S (strcpy):
22263         Fix performance issue in misaligned cases.
22265 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22267         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
22268         Move definition from termios.h.
22269         (struct termio): Likewise.
22270         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22271         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22272         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22273         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22274         Likewise.
22275         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
22276         Move definition to ioctl-types.h
22277         (struct termio): Likewise.
22278         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22279         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22280         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22281         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22282         Likewise.
22284 2014-08-05  Richard Henderson  <rth@redhat.com>
22286         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
22287         exceptions.
22288         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
22289         Add fraiseexcpt.
22290         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
22291         Use __feraiseexcept.
22292         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
22293         Protect libm symbols with IS_IN_libm.
22295         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
22297 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
22299         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
22301 2014-08-04  Will Newton  <will.newton@linaro.org>
22303         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
22304         file.
22306 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
22308         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
22309         variants for each function.
22311 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22313         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
22314         appended ...
22315         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
22316         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
22317         appended ...
22318         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
22319         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
22320         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
22321         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
22322         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
22323         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
22324         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
22325         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
22326         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
22327         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
22328         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
22329         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
22330         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
22331         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
22332         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
22333         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
22334         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
22335         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
22336         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
22337         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
22338         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
22339         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
22340         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
22341         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
22342         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
22343         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
22344         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
22345         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
22346         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
22347         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
22348         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
22349         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
22350         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
22351         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
22352         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
22353         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
22354         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
22355         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
22356         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
22357         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
22358         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
22359         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
22360         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
22361         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
22362         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
22363         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
22364         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
22365         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
22366         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
22367         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
22368         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
22369         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
22370         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
22371         Update #include.
22372         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
22373         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
22375 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22377         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
22378         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
22379         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
22380         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
22381         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
22382         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
22384 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22386         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
22387         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
22388         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22389         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
22391 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22393         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
22394         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
22395         (__libc_vfork): Define function under this name.
22396         (__vfork): Define as an alias.
22397         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
22398         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
22400 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22402         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
22403         that was previously under [RESET_PID].
22404         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
22406 2014-08-04  Andreas Schwab  <schwab@suse.de>
22408         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
22410 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
22412         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
22413         (main): Likewise.
22415 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22417         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
22419 2014-08-01  Richard Henderon  <rth@redhat.com>
22421         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
22422         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
22423         typo in exact zero test.
22424         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22425         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22426         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22428 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22430         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
22431         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
22432         * sysdeps/arm/sysdep.h: ... here.
22433         [!__ASSEMBLER__]: Include <stdint.h>.
22435 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22437         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
22438         (HAVE_WCTYPE_H): Likewise.
22439         (HAVE_ISWCTYPE): Likewise.
22440         (ENABLE_NLS): Likewise.
22441         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
22442         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
22444         * posix/regex_internal.c: Check if DEBUG is defined and is
22445         set.
22447         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
22448         (HAVE_MBSRTOWCS): Likewise.
22449         * posix/fnmatch.c: Include string.h unconditionally.
22451 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22453         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
22454         reversal.
22456 2014-07-31  Roland McGrath  <roland@hack.frob.com>
22458         * sysdeps/generic/safe-fatal.h: New file.
22459         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
22460         * nptl/forward.c: Include it.
22461         (__pthread_unwind): Use __safe_fatal as default action, rather
22462         than a bogus use of INTERNAL_SYSCALL that could never work.
22464         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
22465         * configure.ac (libc_cv_builtin_trap): New test.
22466         * configure: Regenerated.
22467         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
22468         (ABORT_INSTRUCTION): Define using __builtin_trap.
22470         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
22471         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
22472         * sysdeps/nptl/nptl-signals.h: New file.
22473         * nptl/pthreadP.h: Include <nptl-signals.h>.
22475 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22477         * sysdeps/s390/s390-64/utf16-utf32-z9.c
22478         (ONE_DIRECTION): Define.
22479         * sysdeps/s390/s390-64/utf8-utf16-z9.c
22480         (ONE_DIRECTION): Define.
22481         * sysdeps/s390/s390-64/utf8-utf32-z9.c
22482         (ONE_DIRECTION): Define.
22484 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22486         * sysdeps/s390/Makefile: Delete file.
22487         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
22488         * sysdeps/s390/__longjmp.c: Delete file.
22489         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
22490         Remove fields __flags and __reserved.
22491         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
22492         and add versioning.
22493         * sysdeps/s390/rtld-__longjmp.c: Delete file.
22494         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
22495         * sysdeps/s390/rtld-setjmp.S: Likewise.
22496         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
22497         * sysdeps/s390/s390-32/__longjmp.c: ... here.
22498         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
22499         * sysdeps/s390/s390-32/setjmp.S: ... here.
22500         Add versioning.
22501         (__sigsetjmp): Remove setting __flags field.
22502         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
22503         * sysdeps/s390/s390-64/__longjmp.c: ... here.
22504         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
22505         * sysdeps/s390/s390-64/setjmp.S: ... here.
22506         Add versioning.
22507         (__sigsetjmp): Remove setting __flags field.
22508         * sysdeps/s390/setjmp.S: Delete file.
22509         * sysdeps/s390/sigjmp.c: Likewise.
22510         * sysdeps/s390/v1-longjmp.c: Likewise.
22511         * sysdeps/s390/v1-setjmp.h: Likewise.
22512         * sysdeps/s390/v1-sigjmp.c: Likewise.
22513         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
22514         Remove v1-longjmp_chk.
22515         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
22516         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
22517         Include debug/longjmp_chk.c and add versioning.
22518         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
22519         Include nptl/pt-longjmp.c and add versioning.
22520         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
22521         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
22522         Include __longjmp.c.
22523         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22524         Move to ...
22525         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
22526         (__getcontext): Remove setting __flags field.
22527         Add versioning.
22528         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22529         Don't restore upper high grps.
22530         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
22531         Likewise.
22532         (__swapcontext): Remove setting uc_flags field.
22533         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
22534         Delete file.
22535         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22536         Include __longjmp.c.
22537         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22538         Move to ...
22539         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
22540         (__getcontext): Remove setting __flags field.
22541         Add versioning.
22542         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
22543         (__swapcontext): Remove setting uc_flags field.
22544         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
22545         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
22546         Remove fields uc_high_gprs and __reserved.
22547         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
22548         New file with reverted content.
22549         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
22550         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
22551         Regenerated.
22552         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
22553         Regenerated.
22555 2014-07-31  Andreas Schwab  <schwab@suse.de>
22557         * config.h.in (HAVE_IFUNC): Define to 0.
22558         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
22559         definedness.
22561 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
22563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22564         memmove-avx-unaligned, memcpy-avx-unaligned and
22565         mempcpy-avx-unaligned.
22566         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22567         Add tests for AVX memcpy functions.
22568         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
22569         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
22570         memcpy_chk.
22571         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
22572         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
22573         memmove_chk.
22574         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
22575         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
22576         mempcpy_chk.
22577         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
22578         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
22579         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
22581 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22583         [BZ #17213]
22584         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
22585         powerpc64le.
22587 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
22589         [BZ #16839]
22590         * manual/llio.texi: Add section about open file description locks.
22591         * manual/examples/ofdlocks.c: Example of open file description
22592         lock usage.
22593         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
22594         F_OFD_SETLK, and F_OFD_SETLKW.
22596 2014-07-23  Allan McRae  <allan@archlinux.org>
22598         * po/es.po: Update Spanish translation from translation project.
22600 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
22602         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
22604 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
22606         [BZ #17078]
22607         * sysdeps/arm/dl-machine.h (elf_machine_rela)
22608         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
22609         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
22611 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
22613         [BZ #17088]
22614         * math/fesetenv.c (__fesetenv)
22615         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
22616         * math/feupdateenv.c (__feupdateenv)
22617         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
22619         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
22620         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22621         (__ASSUME_SOCKETCALL): Do not define.
22623         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
22624         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
22625         (__ASSUME_SOCKETCALL): Do not define.
22626         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
22627         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22628         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22629         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22630         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22631         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
22632         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22633         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22635         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
22636         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
22637         (__ASSUME_SOCKETCALL): Do not define.
22638         (__ASSUME_IPC64): Define unconditionally.
22639         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22640         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22641         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22642         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22643         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
22644         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22645         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
22646         Likewise.
22648         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
22649         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
22650         (__ASSUME_SOCKETCALL): Do not define.
22651         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
22652         (__ASSUME_FUTEX_LOCK_PI): Likewise.
22653         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22654         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22655         (__ASSUME_REQUEUE_PI): Define unconditionally.
22656         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
22657         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22658         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22659         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
22660         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22661         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22663         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
22664         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
22665         (__ASSUME_SOCKETCALL): Do not define.
22666         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
22667         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22668         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22669         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
22670         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22671         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22673         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
22674         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
22675         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22676         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
22677         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22678         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
22679         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22680         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
22681         (__ASSUME_GETCPU_SYSCALL): Likewise.
22683         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
22684         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
22685         cases for individual architectures.
22686         * sysdeps/gnu/configure: Regenerated.
22687         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
22688         LIBC_SLIBDIR_RTLDDIR.
22689         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
22690         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
22691         LIBC_SLIBDIR_RTLDDIR.
22692         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
22693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
22694         LIBC_SLIBDIR_RTLDDIR.
22695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22696         Regenerated.
22697         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
22698         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
22699         file.
22700         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
22701         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
22702         file.
22703         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
22704         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
22705         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
22706         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
22708         * sysdeps/aarch64/shlib-versions: Move to ...
22709         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
22710         * sysdeps/alpha/shlib-versions: Move to ...
22711         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
22712         * sysdeps/arm/shlib-versions: Move to ...
22713         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
22714         * sysdeps/hppa/shlib-versions: Move all contents except for
22715         libgcc_s entry to ...
22716         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
22717         entry from ...
22718         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
22719         * sysdeps/ia64/shlib-versions: Move to ...
22720         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
22721         entry from ...
22722         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
22723         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
22724         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
22725         * sysdeps/microblaze/shlib-versions: Move to ...
22726         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
22727         * sysdeps/mips/shlib-versions: Move to ...
22728         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
22729         entry from ...
22730         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
22731         * sysdeps/tile/shlib-versions: Move to ...
22732         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
22733         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
22734         from ...
22735         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
22736         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
22737         entry from ...
22738         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
22740 2014-07-17  Will Newton  <will.newton@linaro.org>
22742         * sysdeps/arm/bits/atomic.h
22743         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
22744         (__arch_compare_and_exchange_bool_16_int): Likewise.
22745         (__arch_compare_and_exchange_bool_64_int): Likewise.
22747         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
22748         into an #else block.
22750 2014-07-16  Roland McGrath  <roland@hack.frob.com>
22752         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
22753         just Linux configurations.  Test empirically that the compiler sets
22754         __ARM_EABI__, rather than using the tuple to decide.
22755         * sysdeps/arm/preconfigure: Regenerated.
22756         * sysdeps/unix/sysv/linux/arm/configure: File removed.
22757         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
22758         contents appended ...
22759         * sysdeps/arm/configure.ac: ... here.
22760         * sysdeps/arm/configure: Regenerated.
22762 2014-07-15  Roland McGrath  <roland@hack.frob.com>
22764         * nptl/pthread_kill.c: New file.
22765         * nptl/pthread_sigmask.c: New file.
22766         * nptl/pthread_sigqueue.c: New file.
22768         * sysdeps/nptl/lowlevellock.h: New file.
22769         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
22770         * sysdeps/nptl/lowlevellock-futex.h: New file.
22772         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
22773         Remove dead declarations.
22775 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
22777         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
22778         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
22779         config-cflags-avx2.
22780         * sysdeps/x86_64/configure.ac: Likewise.
22781         * sysdeps/i386/configure: Regenerated.
22782         * sysdeps/x86_64/configure: Likewise.
22783         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22784         memset-avx2 only if config-cflags-avx2 is yes.
22785         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22786         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
22787         defined.
22788         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
22789         only if HAVE_AVX2_SUPPORT is defined.
22790         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22792 2014-07-14  Alan Modra  <amodra@gmail.com>
22794         [BZ #17153]
22795         * elf/elf.h (DT_PPC64_NUM): Correct value.
22796         * NEWS: Add to fixed bug list.
22798 2014-07-13  Jim Meyering  <meyering@fb.com>
22800         [BZ 17150]
22801         regex: don't deref NULL upon heap allocation failure
22802         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
22803         failure in one more place.
22804         To trigger the segfault, configure grep -with-included-regex,
22805         build it, and run these commands:
22806         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
22808 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
22810         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22812 2014-07-11  Richard Henderson  <rth@redhat.com>
22814         * sysdeps/aarch64/libm-test-ulps: Update.
22816 2014-07-10  Florian Weimer  <fweimer@redhat.com>
22818         [BZ #17135]
22819         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
22820         * nptl/allocatestack.c (__nptl_setxid_error): New function.
22821         (__nptl_setxid): Initialize error member.  Call
22822         __nptl_setxid_error.
22823         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
22824         * nptl/descr.h (struct xid_command): Add error member.
22825         * nptl/tst-setuid3.c: New file.
22826         * nptl/Makefile (tests): Add it.
22828 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22830         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
22831         New define.
22832         (__lll_trylock): Use __lll_base_trylock.
22833         (__lll_cond_trylock): Likewise.
22835 2014-07-10  Roland McGrath  <roland@hack.frob.com>
22837         * nptl/pthread_create.c (start_thread): Use atomic_or and
22838         lll_futex_wake directly rather than lll_robust_dead.
22839         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22840         (lll_robust_dead): Macro removed.
22841         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
22842         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22843         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22844         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22845         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22846         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22847         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22848         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22849         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22850         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22851         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22852         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22853         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22854         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22855         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22857         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22858         Use atomic_compare_and_exchange_val_acq directly rather than
22859         lll_robust_trylock.
22860         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22861         (__lll_robust_trylock, lll_robust_trylock): Removed.
22862         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22863         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22864         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22865         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22866         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22867         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22868         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22869         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22870         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22871         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22872         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22873         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22874         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22875         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22877 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22879         * manual/locale.texi (Locale Names): New section documenting
22880         locale name syntax.  Adjust menu and node chaining accordingly.
22881         (Choosing Locale): Reference Locale Names, Locale Categories.
22882         Mention setting LC_ALL=C.  Reflect that name syntax is now
22883         documented.
22884         (Locale Categories): New section title.  Reference Locale Names.
22885         LC_ALL is an environment variable, but not a category.
22886         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
22887         description, now in Locale Name.  Reference that section.  Locale
22888         name syntax is now documented.
22890 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22892         [BZ #17137]
22893         * locale/findlocale.c (name_present, valid_locale_name): New
22894         functions.
22895         (_nl_find_locale): Use the loc_name variable to store name
22896         candidates.  Call name_present and valid_locale_name to check and
22897         validate locale names.  Return an error if the locale is invalid.
22899 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22901         * locale/setlocale.c (setlocale): Use strdup for allocating
22902         composite name copy.
22904 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22906         Sync up with gnulib.
22907         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
22908         [!_LIBC && ENABLE_NLS]: Include gettext.h.
22909         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
22910         and _GL_ARG_NONNULL.
22911         [USE_UNLOCKED_IO]: Include unlocked-io.h.
22912         [!_LIBC]: Include code for Windows and Cygwin.
22913         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
22914         Include prototype for int strerror_r.
22915         [!_LIBC] (is_open): New function.
22916         (flush_stdout): New function.
22917         (print_errno_message): Use it.
22918         (error): Likewise.
22919         (error_at_line): Likewise.
22920         (error_tail) Add function attribute macros.  Use
22921         __builtin_expect.
22923         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
22925         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
22927         * io/ftw.c: Include sys/param.h unconditionally.
22929         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
22931         [BZ #17125]
22932         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
22933         libc_freeres_ptr.
22934         (freecache): New function to free CACHE on exit.
22936         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
22937         initialization.
22939 2014-07-09  David S. Miller  <davem@davemloft.net>
22941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22943         * sysdeps/sparc/nptl/internaltypes.h: Delete.
22944         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
22945         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
22946         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
22947         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
22948         * sysdeps/sparc/nptl/sem_init.c: Likewise.
22949         * sysdeps/sparc/nptl/sem_post.c: Likewise.
22950         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
22951         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
22952         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
22953         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
22954         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
22955         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
22957 2014-07-09  Andreas Schwab  <schwab@suse.de>
22959         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
22960         output.
22961         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
22962         (do_test): Likewise.
22964         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22966 2014-07-09  Will Newton  <will.newton@linaro.org>
22968         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
22969         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
22970         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
22971         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
22972         * sysdeps/hppa/start.S (_start): Likewise.
22974 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22976         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
22978         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
22979         defined.
22981 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22983         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
22984         after checking that it is non-NULL.
22986         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
22988 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22990         * sysdeps/powerpc/memmove.c: Remove file.
22991         * sysdeps/powerpc/powerpc32/power4/memcopy.h
22992         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
22993         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22994         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
22995         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
22996         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
22997         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
22998         string memmove instead of removed powerpc one.
23000         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23001         [weak_alias]: Fix compiler warning due trailing data.
23002         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
23003         [weak_alias]: Likewise.
23004         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
23005         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
23007         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23008         (__libc_ifunc_impl_list): Add memmove functions.
23010 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23012         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
23013         Remove code.
23014         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
23015         Likewise
23016         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
23017         Likewise
23018         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
23019         Likewise
23020         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
23021         Likewise
23022         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
23023         Likewise
23024         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
23025         Likewise
23026         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
23027         Likewise
23028         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
23029         Likewise
23030         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
23031         Likewise
23032         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
23033         Likewise
23034         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
23035         Likewise
23036         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
23037         Likewise
23038         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
23039         Likewise
23040         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
23041         Likewise
23042         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
23043         Likewise
23044         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
23045         Likewise
23047 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23049         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
23050         to avoid alignment traps in non-cacheable memory.
23051         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23053         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
23054         multiarch objects.
23055         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
23056         file: multiarch power7 memmove.
23057         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
23058         multiarch default memmove.
23059         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
23060         multiarch memove for powerpc32/power4.
23062         * string/bcopy.c: Use full path to include memmove.c.
23063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
23064         multiarch objects.
23065         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
23066         bcopy for powerpc64.
23067         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
23068         bcopy for powerpc64.
23069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
23070         and memmove implementations.
23071         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
23072         optimized multiarch memmove for POWER7/powerpc64.
23073         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
23074         default multiarch memmove for powerpc64.
23075         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
23076         multiarch for powerpc64.
23077         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
23078         for POWER7/powerpc64.
23079         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
23080         memmove for POWER7/powerpc64.
23082         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
23083         glibc default one.
23085         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
23086         __ELF_NATIVE_CLASS equal to 64.
23088 2014-07-07  Roland McGrath  <roland@hack.frob.com>
23090         * sysdeps/nptl/lowlevellock.h: File removed.
23092         * NEWS: NPTL is no longer an add-on!
23093         * nptl/internaltypes.h: Moved ...
23094         * sysdeps/nptl/internaltypes.h: ... here.
23095         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
23096         * sysdeps/nptl/fork.c: Likewise.
23097         * sysdeps/nptl/gai_misc.h: Likewise.
23098         * sysdeps/nptl/librt-cancellation.c: Likewise.
23099         * sysdeps/nptl/jmp-unwind.c: Likewise.
23100         * sysdeps/nptl/setxid.h: Likewise.
23101         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
23102         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
23103         * sysdeps/unix/sysv/linux/arm/Implies: New file.
23104         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
23105         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
23106         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
23107         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
23108         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
23109         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
23110         * sysdeps/unix/sysv/linux/mips/Implies: New file.
23111         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
23112         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
23113         * sysdeps/unix/sysv/linux/sh/Implies: New file.
23114         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
23115         * sysdeps/unix/sysv/linux/tile/Implies: New file.
23116         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
23117         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
23118         * nptl/Makeconfig: Moved ...
23119         * sysdeps/nptl/Makeconfig: ... here.
23120         * nptl/configure: File removed.
23121         * nptl/ANNOUNCE: File removed.
23122         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
23123         * sysdeps/unix/sysv/linux/configure: Regenerated.
23125         * nptl/Makefile (routines): Add libc_pthread_init,
23126         libc_multiple_threads, register-atfork and unregister-atfork.
23127         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
23128         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
23129         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
23130         pthread-pi-defines.sym, structsem.sym.
23131         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
23132         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
23133         [$(subdir) = nptl] (tests): Add tst-setgetname.
23134         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
23135         * sysdeps/unix/sysv/linux/sigaction.c: Just include
23136         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
23137         [!LIBC_SIGACTION]: Remove aliases.
23138         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23139         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23140         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23141         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
23142         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23143         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
23144         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23145         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23146         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23147         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
23148         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
23149         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
23150         __libc_allocate_rtsig_private.
23151         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
23152         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
23153         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23154         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23155         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
23156         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
23157         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
23158         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
23159         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
23160         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
23161         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
23162         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
23163         * nptl/internaltypes.h: ... here.
23164         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
23165         * sysdeps/nptl/jmp-unwind.c: ... here.
23166         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
23167         * nptl/libc-lowlevellock.c: ... here.
23168         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
23169         * nptl/libc_multiple_threads.c: ... here.
23170         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
23171         * nptl/libc_pthread_init.c: ... here.
23172         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
23173         * nptl/lowlevelbarrier.sym: ... here.
23174         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
23175         * nptl/lowlevelcond.sym: ... here.
23176         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
23177         * nptl/lowlevellock.c: ... here.
23178         * nptl/lowlevellock.h: Moved ...
23179         * sysdeps/nptl/lowlevellock.h: ... here.
23180         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
23181         * nptl/lowlevelrobustlock.c: ... here.
23182         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
23183         * nptl/lowlevelrobustlock.sym: ... here.
23184         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
23185         * nptl/lowlevelrwlock.sym: ... here.
23186         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
23187         * nptl/pt-fork.c: ... here.
23188         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
23189         * nptl/pthread-pi-defines.sym: ... here.
23190         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
23191         * nptl/pthread_attr_getaffinity.c: ... here.
23192         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
23193         * nptl/pthread_attr_setaffinity.c: ... here.
23194         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
23195         * nptl/pthread_mutex_cond_lock.c: ... here.
23196         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23197         Update #include.
23198         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
23199         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
23200         * nptl/pthread_once.c: ... here, replacing old file.
23201         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
23202         * nptl/pthread_yield.c: ... here.
23203         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
23204         * nptl/register-atfork.c: ... here.
23205         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
23206         * nptl/sem_post.c: ... here.
23207         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
23208         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
23209         * nptl/sem_timedwait.c: ... here.
23210         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
23211         * nptl/sem_trywait.c: ... here.
23212         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
23213         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
23214         * nptl/sem_wait.c: ... here.
23215         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
23216         * nptl/structsem.sym: ... here.
23217         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
23218         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
23219         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
23220         * nptl/unregister-atfork.c: ... here.
23221         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
23222         * nptl/unwindbuf.sym: ... here.
23223         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
23224         * sysdeps/nptl/fork.c: ... here.
23225         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
23226         * sysdeps/nptl/fork.h: ... here.
23227         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
23228         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
23229         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
23230         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
23231         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
23232         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
23233         * sysdeps/unix/sysv/linux/getpid.c: ... here.
23234         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
23235         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
23236         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
23237         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
23238         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
23239         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
23240         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
23241         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
23242         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
23243         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
23244         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
23245         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
23246         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
23247         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
23248         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
23249         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
23250         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
23251         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
23252         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
23253         * sysdeps/unix/sysv/linux/raise.c: ... here.
23254         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
23255         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
23256         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
23257         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
23258         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
23259         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
23260         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
23261         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
23262         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
23263         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
23264         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
23265         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
23266         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
23267         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
23268         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
23270 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23272         * sysdeps/generic/memcopy.h: Add comment for
23273         MEMCPY_OK_FOR_FWD_MEMMOVE.
23275 2014-07-04  Will Newton  <will.newton@linaro.org>
23277         * string/memchr.c: Merge from gnulib.
23278         [_LIBC]: Remove conditionals.
23279         (__ptr_t): Remove define.
23280         (LONG_MAX_32_BITS): Likewise.
23281         (LONG_MAX): Likewise.
23282         (MEMCHR): Use ANSI prototype and optimize algorithm.
23284         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
23286 2014-07-03  Roland McGrath  <roland@hack.frob.com>
23288         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
23289         (lll_futex_timed_wait_bitset): Fix syscall argument count.
23291         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
23292         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
23293         in a bare environment with no <stdlib.h> installed.
23294         * sysdeps/nptl/configure: Regenerated.
23296         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
23298         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
23299         AC_EGREP_CPP for kernel header checks, so they only succeed if
23300         including <linux/version.h> actually works right.
23301         * sysdeps/unix/sysv/linux/configure: Regenerated.
23303         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
23304         value so it's not diagnosed as unused.
23306         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
23307         thing) with "ifeq ($(subdir),rt)".
23309 2014-07-03  Richard Henderson  <rth@redhat.com>
23311         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
23312         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
23313         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
23315         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
23316         (math_force_eval): New.
23318         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
23319         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
23321         * sysdeps/alpha/fpu/s_round.c: Remove file.
23322         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
23324         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
23325         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
23326         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
23327         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
23328         (_dl_start, print_statistics): Likewise.
23329         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
23330         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
23332         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23333         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23334         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23335         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23336         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23337         (HP_SMALL_TIMING_AVAIL): Define.
23338         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23339         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23340         (HP_SMALL_TIMING_AVAIL): Define.
23341         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23342         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23344         * sysdeps/aarch64/hp-timing.h: New file.
23346         * sysdeps/generic/hp-timing.h: Remove dead comment.
23347         * sysdeps/generic/hp-timing-common.h: New file.
23348         * sysdeps/alpha/hp-timing.h: Include it.
23349         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
23350         * sysdeps/i386/i686/hp-timing.h: Likewise.
23351         * sysdeps/ia64/hp-timing.h: Likewise.
23352         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23353         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23354         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23355         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23356         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
23357         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
23358         (hp_timing_t): New.
23360         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
23361         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
23362         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
23363         * elf/rtld.c (_dl_start_final): Likewise.
23364         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
23365         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23366         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23367         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23368         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23369         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23370         (HP_TIMING_DIFF_INIT): Remove.
23371         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23372         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23373         (HP_TIMING_DIFF_INIT): Remove.
23374         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23375         * sysdeps/i386/i686/hp-timing.c: Remove file.
23376         * sysdeps/x86_64/hp-timing.c: Remove file.
23377         * sysdeps/ia64/hp-timing.c: Remove file.
23378         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
23379         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
23380         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
23381         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
23383         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
23384         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
23385         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
23386         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23387         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23388         (HP_TIMING_ACCUM): Remove.
23389         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23390         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
23391         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23393         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
23394         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
23395         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
23396         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
23397         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
23398         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23399         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
23400         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23402         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
23404 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
23406         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
23408 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23410         Sync up with gettext.
23411         * intl/loadmsgcat.c: Define O_BINARY if not defined.
23412         [_MSC_VER]: Include malloc.h
23413         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
23414         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
23415         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
23416         TEMP_FAILURE_RETRY.  Cast return of alloca.
23417         [!_LIBC] Call gl_rwlock_init.
23418         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
23420 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23422         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
23423         before checking its value.
23425 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23427         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
23429         * debug/memcpy_chk.c: Don't include pagecopy.h.
23430         * debug/mempcpy_chk.c: Likewise.
23431         * string/memcpy.c: Likewise.
23432         * string/memmove.c: Likewise.
23433         * sysdeps/powerpc/memmove.c: Likewise.
23434         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
23435         definition of PAGE_COPY_FWD_MAYBE here...
23436         * sysdeps/generic/pagecopy.h: ... from here.
23437         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
23439 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23440             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23442         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
23443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
23444         optimizations.
23445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23446         (__libc_ifunc_impl_list): Likewise.
23447         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
23448         multiarch strcat for PPC64.
23449         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
23450         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
23452 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23454         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
23456 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23458         * intl/loadmsgcat.c: Remove declaration of
23459         get_sysdep_segment_value.
23460         (get_sysdep_segment_value): Use ISO C style.
23461         (_nl_load_domain): Use ISO C style.  Get rid of redundant
23462         semicolon.  Fix typo and formatting in comment.
23463         (_nl_unload_domain): Use ISO C style.
23465         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
23467 2014-07-02  Will Newton  <will.newton@linaro.org>
23469         * malloc/obstack.c: Merge from gnulib master.
23470         [HAVE_CONFIG_H]: Remove conditional code.
23471         [!_LIBC]: Include config.h.
23472         [!ELIDE_CODE]: Don't include inttypes.h, include
23473         stdint.h unconditionally.
23474         (print_and_abort): Mark as _Noreturn.
23475         (_obstack_allocated_p): Mark as __attribute_pure__.
23476         (obstack_free): Rename to __obstack_free.
23477         [!__attribute__]: Remove conditional code.
23478         * malloc/obstack.h: Merge from gnulib master.
23479         [__cplusplus]: Move conditional down.
23480         [!__attribute_pure__]: Define __attribute_pure__ here
23481         if it is not already defined.
23482         (_obstack_memory_used): Mark as __attribute_pure__.
23483         [!__obstack_free]: Define as obstack_free.
23484         [__GNUC__]: Remove check for ancient NeXT gcc.
23486 2014-07-02  Will Newton  <will.newton@linaro.org>
23487             Paul Eggert  <eggert@cs.ucla.edu>
23489         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
23491 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23493         * resolv/gethnamaddr.c: Add comment warning that the file is
23494         not maintained.
23496 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
23498         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
23499         entries.
23501         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
23502         entry for aio_cancel and aio_cancel64.
23503         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
23504         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
23505         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
23506         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
23507         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
23508         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
23509         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
23510         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
23511         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
23512         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
23513         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
23514         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
23515         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
23517 2014-07-01  Roland McGrath  <roland@hack.frob.com>
23519         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
23520         * nptl/pthread_mutex_lock.c: Likewise.
23521         * nptl/pthread_mutex_timedlock.c: Likewise.
23522         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
23524 2014-07-01  Richard henderson  <rth@redhat.com>
23526         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
23527         (__isnan, __isnanl): Remove.
23528         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
23530         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23532 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23534         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23536 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23538         * resolv/nss_dns/dns-host.c (getanswer_r)
23539         [MULTI_PTRS_ARE_ALIASES]: Remove code.
23541 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
23543         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23544         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
23545         undefine.
23546         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
23547         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
23549 2014-07-01  Roland McGrath <roland@hack.frob.com>
23551         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
23552         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
23554         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
23555         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
23557         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
23558         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
23559         ... here.
23560         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
23561         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
23563         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
23564         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
23565         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
23566         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
23568         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
23569         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
23570         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
23571         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
23572         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
23573         Moved ...
23574         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
23575         ... here.
23576         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
23577         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
23578         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
23579         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
23580         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
23581         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
23582         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
23583         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
23584         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
23585         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
23586         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
23587         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
23588         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
23589         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
23590         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
23591         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
23592         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
23593         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
23594         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
23595         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
23596         ... here.
23597         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
23598         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
23599         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
23600         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
23601         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
23602         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
23603         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
23604         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
23606 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
23608         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
23609         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
23610         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
23611         Add sysdep.
23613 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23617 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23619         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23620         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23622         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23624         * sysdeps/arm/libm-test-ulps: Regenerated.
23626 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23627             Roland McGrath <roland@hack.frob.com>
23629         * test-skeleton.c (signal_handler): Kill the whole process group
23630         before killing the child individually.
23631         (main): Report any failure on `setpgid'.
23633 2014-06-30  Roland McGrath  <roland@hack.frob.com>
23635         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
23636         from _TLS_H to _ARM_NPTL_TLS_H.
23637         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
23638         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
23640 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23642         [BZ #16539]
23643         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
23644         (__expm1l): Return argument unchanged when small but not
23645         subnormal.
23647         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
23648         include macro name.
23649         (_FP_UNPACK_RAW_1_P): Likewise.
23650         (_FP_PACK_RAW_1): Likewise.
23651         (_FP_PACK_RAW_1_P): Likewise.
23652         (_FP_MUL_MEAT_1_wide): Likewise.
23653         (_FP_MUL_MEAT_DW_1_hard): Likewise.
23654         (_FP_MUL_MEAT_1_hard): Likewise.
23655         (_FP_DIV_MEAT_1_imm): Likewise.
23656         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
23657         (_FP_DIV_MEAT_1_udiv): Likewise.
23658         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
23659         (_FP_UNPACK_RAW_2): Likewise.
23660         (_FP_UNPACK_RAW_2_P): Likewise.
23661         (_FP_PACK_RAW_2): Likewise.
23662         (_FP_PACK_RAW_2_P): Likewise.
23663         (_FP_MUL_MEAT_DW_2_wide): Likewise.
23664         (_FP_MUL_MEAT_2_wide): Likewise.
23665         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
23666         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23667         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
23668         (_FP_MUL_MEAT_2_gmp): Likewise.
23669         (_FP_DIV_MEAT_2_udiv): Likewise.
23670         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
23671         (_FP_FRAC_SRL_4): Likewise.
23672         (_FP_FRAC_SRST_4): Likewise.
23673         (_FP_FRAC_SRS_4): Likewise.
23674         (_FP_UNPACK_RAW_4): Likewise.
23675         (_FP_UNPACK_RAW_4_P): Likewise.
23676         (_FP_PACK_RAW_4): Likewise.
23677         (_FP_PACK_RAW_4_P): Likewise.
23678         (_FP_MUL_MEAT_DW_4_wide): Likewise.
23679         (_FP_MUL_MEAT_4_wide): Likewise.
23680         (_FP_MUL_MEAT_4_gmp): Likewise.
23681         (umul_ppppmnnn): Likewise.
23682         (_FP_DIV_MEAT_4_udiv): Likewise.
23683         (__FP_FRAC_ADD_4): Likewise.
23684         (__FP_FRAC_SUB_3): Likewise.
23685         (__FP_FRAC_SUB_4): Likewise.
23686         (__FP_FRAC_DEC_3): Likewise.
23687         (__FP_FRAC_DEC_4): Likewise.
23688         (__FP_FRAC_ADDI_4): Likewise.
23689         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
23690         (_FP_FRAC_SRL_8): Likewise.
23691         (_FP_FRAC_SRS_8): Likewise.
23693         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
23694         include macro name.
23695         (FP_UNPACK_RAW_EP): Likewise.
23696         (FP_PACK_RAW_E): Likewise.
23697         (FP_PACK_RAW_EP): Likewise.
23698         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
23699         (_FP_ISSIGNAN): Likewise.
23700         (_FP_ADD_INTERNAL): Likewise.
23701         (_FP_FMA): Likewise.
23702         (_FP_CMP): Likewise.
23703         (_FP_SQRT): Likewise.
23704         (_FP_TO_INT): Likewise.
23705         (_FP_FROM_INT): Likewise.
23706         (FP_EXTEND): Likewise.
23707         (_FP_DIV_MEAT_N_loop): Likewise.
23709 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23711         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
23712         throughout.
23714 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
23716         [BZ #17097]
23717         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
23718         result with correct sign in case of exponents that produce
23719         overflow except for X very close to 1.
23721 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
23723         mktime: merge #if/#ifdef usage from glibc
23724         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
23725         as that works with both Glibc's and Gnulib's style.
23726         See thread starting at Siddhesh Poyarekar's bug report at:
23727         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
23729 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23731         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
23732         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
23733         * sysdeps/tile/tilegx/memmove.c: Remove file.
23735 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23737         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
23738         abi-name definition.
23739         * scripts/soversions.awk: Do not handle or generate ABI lines.
23740         * shlib-versions: Remove ABI entries.
23741         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
23742         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
23744 2014-06-27  Roland McGrath  <roland@hack.frob.com>
23746         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
23747         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
23748         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
23749         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
23750         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
23751         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
23752         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
23753         Moved ...
23754         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
23755         ... here.
23756         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
23757         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
23758         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
23759         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
23760         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
23761         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
23762         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
23763         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
23764         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
23765         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
23766         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
23767         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
23768         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
23769         Moved ...
23770         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
23771         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
23772         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
23773         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
23774         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
23775         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
23776         Moved ...
23777         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
23778         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
23779         Moved ...
23780         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
23781         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
23782         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
23783         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
23784         Moved ...
23785         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
23786         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
23787         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
23788         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
23789         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
23790         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
23791         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
23792         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
23793         Moved ...
23794         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
23795         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
23796         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
23797         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
23798         Moved ...
23799         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
23800         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
23801         Moved ...
23802         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
23803         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
23804         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
23805         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
23806         Moved ...
23807         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
23808         ... here.
23809         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
23810         Identical file removed.
23811         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
23812         Moved ...
23813         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
23814         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
23815         Identical file removed.
23816         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
23817         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
23818         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
23819         Moved ...
23820         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
23821         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
23822         Identical file removed.
23823         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
23824         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
23825         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
23826         Identical file removed.
23827         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
23828         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
23829         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
23830         Identical file removed.
23831         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
23832         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
23833         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
23834         Identical file removed.
23835         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
23836         Moved ...
23837         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
23838         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
23839         Identical file removed.
23840         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
23841         Moved ...
23842         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
23843         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
23844         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
23845         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
23846         Identical file removed.
23847         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
23848         Moved ...
23849         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
23850         ... here.
23851         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
23852         Identical file removed.
23853         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
23854         Moved ...
23855         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
23856         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
23857         Identical file removed.
23858         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
23859         Moved ...
23860         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
23861         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
23862         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
23863         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
23864         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
23865         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
23866         Moved ...
23867         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
23868         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
23869         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
23871         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
23872         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
23873         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
23874         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
23875         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
23877 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
23879         [BZ #17092]
23880         * nscd/nscd.c (monitor_child): Return exit status of child
23881         instead of return value from wait syscall.
23883 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23885         * configure.ac (libc_commonpagesize): Remove variable.
23886         (libc_relro_required): Likewise.
23887         (libc_cv_z_relro): Remove configure test.
23888         * configure: Regenerated.
23889         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
23890         variable.
23891         (libc_relro_required): Likewise.
23892         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
23893         (libc_relro_required): Likewise.
23894         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
23895         (libc_relro_required): Likewise.
23896         * sysdeps/arm/preconfigure: Regenerated.
23897         * sysdeps/ia64/preconfigure: Remove file.
23898         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
23899         variable.
23900         (libc_relro_required): Likewise.
23902         [BZ #16561]
23903         [BZ #16562]
23904         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
23905         (__ieee754_yn): Set FE_TONEAREST mode internally and then
23906         recompute overflowing results in original rounding mode.
23907         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
23908         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
23909         recompute overflowing results in original rounding mode.
23910         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
23911         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23912         recompute overflowing results in original rounding mode.
23913         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
23914         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23915         recompute overflowing results in original rounding mode.
23916         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
23917         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23918         recompute overflowing results in original rounding mode.
23919         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
23920         (libc_feholdsetround_ctx): New macro.
23921         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
23922         * sysdeps/i386/fpu/libm-test-ulps: Update.
23923         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
23925 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23927         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
23928         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
23929         corresponding .cpsetup call.
23931 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23933         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
23934         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
23935         * sysdeps/arm/Makefile [$(subdir) = csu]
23936         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
23937         (static-only-routines): Add aeabi_read_tp here.
23938         (shared-only-routines): Add libc-aeabi_read_tp here.
23939         (CFLAGS-libc-start.c): Add -fexceptions here.
23940         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
23941         (sysdep_routines, static-only-routines, shared-only-routines):
23942         Don't add to these here.
23943         (CFLAGS-libc-start.c): Likewise.
23945         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
23946         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
23947         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
23948         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
23949         * sysdeps/arm/Makefile [$(subdir) = rt]
23950         (librt-sysdep_routines, librt-shared-only-routines):
23951         Append rt-aeabi_unwind_cpp_pr1 here.
23952         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
23953         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
23954         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
23955         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23956         Append nptl-aeabi_unwind_cpp_pr1 here.
23957         (tests): Filter out tst-cleanupx4 here.
23958         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
23959         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
23960         Don't do those here.
23962 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23964         * scripts/list-sources.sh: Do not handle ports specially.
23966 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23968         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
23969         * sysdeps/arm/feupdateenv.c: Likewise.
23971         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
23973 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23975         * manual/texinfo.tex: Update to version 2014-05-05.10 with
23976         trailing whitespace removed.
23977         * scripts/config.guess: Update to version 2014-03-23.
23978         * scripts/config.sub: Update to version 2014-05-01
23979         * scripts/install-sh: Update to version 2013-12-25.23.
23980         * scripts/move-if-change: Update from gnulib.
23982 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23984         * debug/memmove_chk.c: Remove pagecopy.h include.
23986 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
23988         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
23989         identical to gnulib mktime.
23991 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23993         * configure.ac: Do not test for machine being rs6000.  Do not test
23994         for powerpc*-*soft.
23995         * configure: Regenerated.
23997         [BZ #11505]
23998         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
23999         test.
24000         * configure: Regenerated.
24001         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
24002         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
24003         Remove configure test.
24004         * sysdeps/arm/configure: Regenerated.
24005         * sysdeps/nptl/configure.ac: Do not check
24006         libc_cv_asm_cfi_directives.
24007         * sysdeps/nptl/configure: Regenerated.
24008         * sysdeps/x86_64/nptl/configure.ac: Remove file.
24009         * sysdeps/x86_64/nptl/configure: Remove generated file.
24010         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
24011         unconditional.
24012         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
24014 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24016         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
24017         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
24018         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
24019         it is defined.
24021         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
24022         instead of whether it is defined.
24023         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
24024         * sysdeps/hppa/dl-machine.h: Likewise.
24025         * sysdeps/ia64/dl-machine.h: Likewise.
24026         * sysdeps/m68k/dl-machine.h: Likewise.
24027         * sysdeps/microblaze/dl-machine.h: Likewise.
24028         * sysdeps/mips/dl-machine.: Likewise.
24029         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24030         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24031         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24032         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24033         * sysdeps/sh/dl-machine.h: Likewise.
24034         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24035         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24036         * sysdeps/tile/dl-machine.h: Likewise.
24037         * sysdeps/x86_64/dl-machine.h: Likewise.
24039         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
24040         code.
24041         (verify_persistent_db): Likewise.
24043 2014-06-26  Roland McGrath  <roland@hack.frob.com>
24045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
24046         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
24047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
24048         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
24049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24050         Moved ...
24051         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
24052         ... here.
24053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
24054         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
24055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
24056         Identical file removed.
24057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
24058         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
24059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
24060         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
24061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
24062         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
24063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
24064         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
24065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
24066         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
24067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24068         Moved ...
24069         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
24070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
24071         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
24072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
24073         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
24074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24075         Moved ...
24076         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
24077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
24078         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
24079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
24080         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
24081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24082         Identical file removed.
24083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
24084         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
24085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
24086         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
24087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24088         Moved ...
24089         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
24090         ... here.
24091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
24092         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
24093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
24094         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
24095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
24096         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
24097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
24098         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
24099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
24100         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
24101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24102         Moved ...
24103         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
24104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
24105         Moved ...
24106         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
24107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
24108         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
24109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24110         Moved ...
24111         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
24112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
24113         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
24115         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
24116         folded into ...
24117         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
24118         * sysdeps/unix/sysv/linux/s390/Versions
24119         (libpthread: GLIBC_2.19): New version set.
24120         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
24121         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
24122         (librt: GLIBC_2.3.3): New version set.
24123         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
24124         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
24125         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
24126         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
24127         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
24128         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
24129         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
24130         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
24131         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
24132         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
24133         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
24134         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
24135         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
24136         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
24137         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
24138         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
24139         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
24140         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
24141         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
24142         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
24143         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
24144         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
24145         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
24146         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
24147         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
24148         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
24149         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
24150         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
24151         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
24152         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
24153         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
24154         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
24155         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
24156         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
24157         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
24158         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
24159         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
24160         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
24161         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
24162         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
24163         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
24164         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
24165         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
24166         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
24167         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
24169         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
24170         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
24171         (__libc_vfork): Define the function under this name.
24172         [!NOT_IN_libc] (__vfork): Make this an alias.
24173         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24174         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
24175         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
24176         (__libc_vfork): Define the function under this name.
24177         [!NOT_IN_libc] (__vfork): Make this an alias.
24178         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24179         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
24180         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
24181         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
24182         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
24183         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24185         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
24186         code that was previously under [RESET_PID].
24187         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
24188         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
24189         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
24191         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
24192         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
24193         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
24194         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
24195         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
24196         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
24197         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
24198         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
24199         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
24200         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
24201         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
24202         Moved ...
24203         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
24204         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
24205         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
24206         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
24207         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
24208         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
24209         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
24210         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
24211         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
24212         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
24213         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
24214         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
24215         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
24216         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
24217         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
24218         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
24219         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
24220         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
24221         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
24222         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
24223         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
24224         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
24225         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
24226         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
24227         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
24228         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
24229         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
24230         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
24231         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
24233 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24235         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
24236         that was previously under [RESET_PID].
24237         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
24239 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24241         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
24242         not undefine and redefine.
24243         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
24244         [O_CLOEXEC]: Make code unconditional.
24245         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
24246         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
24247         <kernel-features.h>.
24248         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
24249         conditional variable definition.
24250         (shm_open) [O_CLOEXEC]: Make code unconditional.
24251         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
24252         code.
24254         * configure.ac (USE_REGPARMS): Don't define here.
24255         * configure: Regenerated.
24256         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
24257         * sysdeps/i386/configure: Regenerated.
24259         * nptl/createthread.c: Don't include kernel-features.h.
24260         * nptl/pthread_cancel.c: Likewise.
24261         * nptl/pthread_condattr_setclock.c: Likewise.
24262         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
24263         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
24264         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
24265         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
24266         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
24267         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
24268         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24269         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
24270         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24271         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
24272         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
24273         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
24274         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
24275         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
24276         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
24277         * nscd/gai.c: Likewise.
24278         * nss/nss_db/db-open.c: Likewise.
24279         * sysdeps/generic/ldsodefs.h: Likewise.
24280         * sysdeps/sh/nptl/tls.h: Likewise.
24281         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24282         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
24283         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
24284         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
24285         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
24286         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24287         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
24288         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24289         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24290         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24291         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24292         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24293         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
24294         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
24295         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
24296         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
24297         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
24298         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
24299         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
24300         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
24301         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
24302         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
24303         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
24304         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
24305         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
24306         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
24307         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
24308         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
24309         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24310         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
24311         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
24312         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
24313         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
24314         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24315         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24316         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24317         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24318         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
24319         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
24320         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24321         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24322         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
24323         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
24324         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24325         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
24326         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
24327         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
24328         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
24329         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
24330         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
24331         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
24332         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
24333         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
24334         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24335         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
24336         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24337         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24338         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
24339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
24341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
24342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
24343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
24344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
24345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
24346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
24347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
24350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
24351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
24352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
24353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
24359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
24360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
24361         * sysdeps/unix/sysv/linux/pread.c: Likewise.
24362         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
24363         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
24364         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
24365         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
24366         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
24367         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
24368         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
24369         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
24370         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
24371         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
24372         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
24373         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
24374         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
24375         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
24376         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
24377         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24378         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
24379         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
24380         * sysdeps/unix/sysv/linux/system.c: Likewise.
24381         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
24382         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24383         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24384         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24385         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24386         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24387         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24389         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
24390         * configure: Regenerated.
24391         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
24393         * configure.ac (base_machine): Do not set specially for particular
24394         machines here.
24395         * configure: Regenerated.
24396         * sysdeps/powerpc/preconfigure: Move machine and base_machine
24397         settings from configure.ac.
24398         * sysdeps/i386/preconfigure: New file.
24399         * sysdeps/s390/preconfigure: Likewise.
24400         * sysdeps/sh/preconfigure: Likewise.
24401         * sysdeps/sparc/preconfigure: Likewise.
24403 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24405         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
24406         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
24407         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
24408         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
24409         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
24410         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
24411         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
24412         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
24413         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
24414         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
24415         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
24416         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
24417         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
24418         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
24419         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
24420         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
24421         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
24422         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
24423         * sysdeps/sparc/sparc64/Makefile: ... appended here.
24425         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
24426         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
24427         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
24428         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
24429         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
24430         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
24431         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
24432         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
24433         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
24434         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
24435         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
24436         * sysdeps/sparc/sparc32/sem_post.c: ... here.
24437         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
24438         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
24439         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
24440         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
24441         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
24442         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
24443         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
24444         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
24445         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
24446         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
24447         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
24448         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
24449         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
24450         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
24451         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
24452         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
24453         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
24454         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
24455         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
24456         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
24457         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
24458         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
24459         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
24460         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
24461         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
24462         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
24464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
24465         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
24466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
24467         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
24468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24469         Moved ...
24470         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
24471         ... here.
24472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
24473         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
24474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
24475         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
24476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
24477         Moved ...
24478         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
24479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
24480         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
24481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
24482         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
24483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
24484         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
24485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24486         Moved ...
24487         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
24488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24489         Moved ...
24490         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
24491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
24492         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
24493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24494         Moved ...
24495         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
24496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
24497         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
24498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
24499         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
24500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
24501         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
24502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
24503         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
24504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24505         Moved ...
24506         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
24507         ... here.
24508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
24509         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
24510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
24511         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
24512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
24513         Moved ...
24514         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
24515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
24516         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
24517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
24518         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
24519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
24520         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
24521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24522         Moved ...
24523         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
24524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24525         Moved ...
24526         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
24527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
24528         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
24529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24530         Moved ...
24531         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
24532         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
24533         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
24534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
24535         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
24537 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24539         * timezone/checktab.awk: Update from tzcode 2014e.
24540         * timezone/private.h: Likewise.
24541         * timezone/tzfile.h: Likewise.
24542         * timezone/zdump.c: Likewise.
24543         * timezone/zic.c: Likewise.
24545         * sysdeps/unix/sysv/linux/kernel-features.h
24546         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
24547         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
24548         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
24549         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24550         Remove conditional code.
24552 2014-06-25  Will Newton  <will.newton@linaro.org>
24554         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
24555         (_dl_arm_cap_flags): Add HWCAP2 values.
24556         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
24557         (_DL_HWCAP_COUNT): Increase to 37.
24558         (_DL_HWCAP_LAST): New define.
24559         (_DL_HWCAP2_LAST): New define.
24560         (_dl_procinfo): Add support for printing
24561         AT_HWCAP2 entries.
24562         (_dl_string_hwcap): Use _dl_hwcap_string.
24564 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24568 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24570         * README: Do not mention ports directory.
24572         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
24573         Remove macro.
24574         * sysdeps/unix/sysv/linux/futimes.c: Do not include
24575         <kernel-features.h>.
24576         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
24577         conditional variable definition.
24578         (__futimes): Update comment.
24579         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
24580         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
24582         [BZ #16560]
24583         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
24584         arguments close to 0.
24585         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
24586         Likewise.
24587         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
24588         Likewise.
24589         * math/auto-libm-test-in: Add more tests of exp10.
24590         * math/auto-libm-test-out: Regenerated.
24591         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24593         * sysdeps/unix/sysv/linux/kernel-features.h
24594         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
24595         * sysdeps/unix/sysv/linux/readv.c: Do not include
24596         <kernel-features.h>.
24597         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24598         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24599         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24600         unconditional.
24601         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24602         conditional code.
24603         * sysdeps/unix/sysv/linux/writev.c: Do not include
24604         <kernel-features.h>.
24605         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24606         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24607         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24608         unconditional.
24609         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24610         conditional code.
24612 2014-06-25  Will Newton  <will.newton@linaro.org>
24614         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
24615         comment changes throughout the file.  Remove checks
24616         for HAVE_*_H definitions that are not required.
24617         (__gen_tempname): Call abort if an unknown kind value is
24618         passed.
24620 2014-06-25  Andreas Schwab  <schwab@suse.de>
24622         [BZ #17086]
24623         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
24624         scalbln, scalblnf, scalblnl in libc.
24626 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24628         [BZ #17086]
24629         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
24630         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24631         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24633 2014-06-24  Roland McGrath  <roland@hack.frob.com>
24635         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
24636         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
24637         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
24638         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
24639         Update #include.
24640         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
24641         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
24642         Update #include.
24643         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
24644         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
24645         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
24646         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
24647         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
24648         * sysdeps/x86/bits/pthreadtypes.h: ... here.
24649         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
24650         * sysdeps/x86/bits/semaphore.h: ... here.
24651         * sysdeps/x86/nptl/elide.h: Moved ...
24652         * sysdeps/x86/elide.h: ... here.
24653         * sysdeps/x86_64/nptl/Implies: File removed.
24654         * sysdeps/i386/nptl/Implies: File removed.
24656 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
24658         [BZ #16539]
24659         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
24660         return the argument for normal arguments with exponent below -64.
24661         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24662         Likewise.
24663         * math/auto-libm-test-in: Add another test of expm1.
24664         * math/auto-libm-test-out: Regenerated.
24666         [BZ #16287]
24667         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
24668         calling __erfcl for arguments at least 16.
24669         * math/auto-libm-test-in: Add more tests of erf.
24670         * math/auto-libm-test-out: Regenerated.
24672         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
24673         individual architectures.
24674         * sysdeps/unix/sysv/linux/configure: Regenerated.
24675         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
24676         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
24677         * sysdeps/unix/sysv/linux/powerpc/configure.ac
24678         (ldd_rewrite_script): Define variable.
24679         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
24681         file.
24682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
24683         generated file.
24684         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
24685         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
24686         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
24687         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
24688         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
24689         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
24690         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
24691         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
24693 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24695         [BZ #17084]
24696         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
24697         Rename member __data.d to __data.__elision_data.
24699 2014-06-24  Wilco  <wdijkstr@arm.com>
24701         * NEWS: Add 16918 to fixed bug list.
24703 2014-06-24  Wilco  <wdijkstr@arm.com>
24705         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
24707 2014-06-24  Wilco  <wdijkstr@arm.com>
24709         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
24710         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
24711         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
24712         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
24713         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
24714         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
24715         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
24716         Use _FPU_MASK_RM.
24718 2014-06-24  Wilco  <wdijkstr@arm.com>
24720         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
24722 2014-06-24  Wilco  <wdijkstr@arm.com>
24724         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
24725         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
24726         * sysdeps/arm/fesetround.c (fesetround): Remove space.
24727         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
24729 2014-06-24  Wilco  <wdijkstr@arm.com>
24731         [BZ #16918]
24732         * sysdeps/arm/feupdateenv.c (feupdateenv):
24733         Rewrite to reduce FPSCR accesses and fix return value.
24735 2014-06-24  Wilco  <wdijkstr@arm.com>
24737         * sysdeps/arm/fclrexcpt.c (feclearexcept):
24738         Optimize to avoid unnecessary FPSCR writes.
24739         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
24740         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
24741         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
24742         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
24744 2014-06-24  Wilco  <wdijkstr@arm.com>
24746         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
24747         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
24748         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
24749         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
24750         Call libc_fetestexcept_vfp.
24751         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
24752         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
24753         __SOFTFP__ ifdef so that they can be built for softfp.
24755 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24757         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
24758         argument type signed char.
24760         * Makerules (check-abi): Dump diff of symlist if the test
24761         fails.
24763 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24765         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
24766         using abort.
24768         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24769         Remove unused variable ST.
24771 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24773         [BZ #16354]
24774         [BZ #17061]
24775         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
24776         small arguments before calling __expm1.
24777         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
24778         small arguments before calling __expm1f.
24779         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
24780         small arguments before calling __expm1l.
24781         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24782         Likewise.
24783         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
24784         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
24785         spurious underflow for some cosh tests.
24786         * math/auto-libm-test-out: Regenerated.
24787         * sysdeps/i386/fpu/libm-test-ulps: Update.
24789         [BZ #17050]
24790         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
24791         (__ieee754_y1): Set errno if return value overflows.
24792         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
24793         (__ieee754_y1f): Set errno if return value overflows.
24794         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
24795         (__ieee754_y1l): Set errno if return value overflows.
24796         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
24797         (__ieee754_y1l): Set errno if return value overflows.
24798         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
24799         * math/auto-libm-test-out: Regenerated.
24801         * math/gen-auto-libm-tests.c: Document use of
24802         ignore-zero-inf-sign.
24803         (input_flag_type): Add value flag_ignore_zero_inf_sign.
24804         (input_flags): Add ignore-zero-inf-sign.
24805         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
24806         * math/gen-libm-test.pl (generate_testfile): Handle
24807         ignore-zero-inf-sign.
24808         * math/auto-libm-test-in: Mark some cpow tests with
24809         ignore-zero-inf-sign and some with xfail-rounding.
24810         * math/auto-libm-test-out: Regenerated.
24811         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
24812         * sysdeps/i386/fpu/libm-test-ulps: Update.
24813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24815         [BZ #16315]
24816         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
24817         overflowing or underflowing operations take place with sign of
24818         result.
24819         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24820         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24821         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
24822         (__ieee754_pow): Recompute overflowing and underflowing results in
24823         original rounding mode.
24824         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
24825         (__powl_helper): Allow negative argument X and scale negated value
24826         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
24827         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
24828         overflowing or underflowing operations take place with sign of
24829         result.
24830         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
24831         Include <math.h>.
24832         * math/auto-libm-test-in: Add more tests of pow.
24833         * math/auto-libm-test-out: Regenerated.
24834         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
24835         (pow_tonearest_test_data): Remove.
24836         (pow_test_tonearest): Likewise.
24837         (pow_towardzero_test_data): Likewise.
24838         (pow_test_towardzero): Likewise.
24839         (pow_downward_test_data): Likewise.
24840         (pow_test_downward): Likewise.
24841         (pow_upward_test_data): Likewise.
24842         (pow_test_upward): Likewise.
24843         (main): Don't call removed functions.
24844         * sysdeps/i386/fpu/libm-test-ulps: Update.
24845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24847 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
24850         Moved ...
24851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
24852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24853         Moved ...
24854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
24855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24856         Moved ...
24857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
24858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24859         Moved ...
24860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
24861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24862         File removed.
24863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24864         File removed.
24865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
24866         File removed.
24867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
24868         File removed.
24869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
24870         File removed.
24871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
24872         File removed.
24873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
24874         File removed.
24875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24876         File removed.
24877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
24878         File removed.
24879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24880         File removed.
24881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
24882         File removed.
24883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
24884         File removed.
24885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
24886         Moved ...
24887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
24888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
24889         Moved ...
24890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
24891         ... here.
24892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
24893         Moved ...
24894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
24895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
24896         Moved ...
24897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
24898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
24899         Moved ...
24900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
24901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
24902         Moved ...
24903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
24904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
24905         Moved ...
24906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
24907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
24908         Moved ...
24909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
24910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
24911         Moved ...
24912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
24913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
24914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
24915         ... here.
24916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
24917         Moved ...
24918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
24919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24920         Moved ...
24921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24922         ... here.
24923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
24924         Moved ...
24925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24926         ... here.
24927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24928         Moved ...
24929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24930         ... here.
24931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24932         Moved ...
24933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
24934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24935         Moved ...
24936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
24937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
24938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
24939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24940         Moved ...
24941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
24942         ... here.
24943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24944         Moved ...
24945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
24946         ... here.
24947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24948         Moved ...
24949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
24950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24951         Moved ...
24952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
24953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24954         Moved ...
24955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
24956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24957         Moved ...
24958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
24959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24960         Moved ...
24961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
24962         ... here.
24963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24964         Moved ...
24965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
24966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24967         Moved ...
24968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
24969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24970         Moved ...
24971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
24972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24973         Moved ...
24974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
24975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
24976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
24977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24978         Moved ...
24979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
24980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24981         Moved ...
24982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
24983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24984         Moved ...
24985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
24986         ... here.
24987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24988         Moved ...
24989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
24990         ... here.
24991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24992         Moved ...
24993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
24994         ... here.
24995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24996         Moved ...
24997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
24998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24999         Moved ...
25000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
25001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25002         Moved ...
25003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
25004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25005         Moved ...
25006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
25007         ... here.
25008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25009         Moved ...
25010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
25011         ... here.
25012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25013         Moved ...
25014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
25015         ... here.
25016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25017         Moved ...
25018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
25019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25020         Moved ...
25021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
25023 2014-06-23  Will Newton  <will.newton@linaro.org>
25024             Wilco  <wdijkstr@arm.com>
25026         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
25027         implementation.  Include get-rounding-mode.h.
25028         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
25029         [!libc_feholdsetround_noex_ctx]: Define
25030         libc_feholdsetround_noex_ctx.
25031         [!libc_feholdsetround_noexf_ctx]: Define
25032         libc_feholdsetround_noexf_ctx.
25033         [!libc_feholdsetround_noexl_ctx]: Define
25034         libc_feholdsetround_noexl_ctx.
25035         (libc_feholdsetround_ctx): New function.
25036         (libc_feresetround_ctx): New function.
25037         (libc_feholdsetround_noex_ctx): New function.
25038         (libc_feresetround_noex_ctx): New function.
25040 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25042         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
25043         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
25044         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
25045         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
25046         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
25047         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
25049         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
25050         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
25051         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
25052         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
25053         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
25054         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
25055         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
25056         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
25057         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
25058         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
25059         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
25060         Moved ...
25061         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
25062         ... here.
25063         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
25064         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
25065         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
25066         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
25067         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
25068         Moved ...
25069         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
25070         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
25071         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
25072         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
25073         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
25074         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
25075         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
25076         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
25077         Moved ...
25078         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
25079         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
25080         Moved ...
25081         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
25082         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
25083         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
25084         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
25085         Moved ...
25086         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
25087         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
25088         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
25089         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
25090         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
25091         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
25092         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
25093         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
25094         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
25095         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
25096         Moved ...
25097         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
25098         ... here.
25099         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
25100         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
25101         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
25102         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
25103         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
25104         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
25105         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
25106         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
25107         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
25108         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
25109         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
25110         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
25111         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
25112         Moved ...
25113         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
25114         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
25115         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
25116         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
25117         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
25118         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
25119         Moved ...
25120         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
25121         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
25122         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
25123         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
25124         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
25126         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
25127         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
25128         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
25129         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
25130         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
25131         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
25132         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
25133         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
25134         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
25135         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
25136         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
25137         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
25138         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
25139         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
25140         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
25141         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
25142         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
25143         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
25144         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
25145         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
25146         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
25147         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
25148         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
25149         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
25150         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
25151         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
25152         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
25153         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
25155 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25157         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25158         (FALLOC_FL_COLLAPSE_RANGE): New macro.
25159         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
25160         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
25161         (IPV6_PMTUDISC_INTERFACE): Likewise.
25162         (IPV6_PMTUDISC_OMIT): Likewise.
25164 2014-06-23  Andreas Schwab  <schwab@suse.de>
25166         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
25167         Remove unused errout label.
25169 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25171         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
25172         macro: hardware supports Vector Crypto instructions.
25174 2014-06-23  Will Newton  <will.newton@linaro.org>
25176         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
25177         rather than __builtin_expect.
25179         * elf/dl-lookup.c (undefined_msg): Remove variable.
25180         (_dl_lookup_symbol_x): Replace undefined_msg with string
25181         literal.
25183         * elf/dl-lookup.c (do_lookup_unique): New function.
25184         (do_lookup_x): Move STB_GNU_UNIQUE handling code
25185         to a separate function.
25187 2014-06-23  Andreas Schwab  <schwab@suse.de>
25189         [BZ #17079]
25190         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
25191         before reading the next line.
25193 2014-06-23  Will Newton  <will.newton@linaro.org>
25195         * test-skeleton.c (signal_handler): Use printf and %m
25196         rather than perror.  Use printf rather than fprintf to
25197         stderr.  Use puts rather than fputs to stderr.
25198         (main): Likewise.
25200 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
25202         * nscd/nscd.c (thread_info_t): Remove typedef.
25203         (thread_info): Remove variable.
25205 2014-06-21  Allan McRae  <allan@archlinux.org>
25207         * NEWS: Mention CVE-2014-4043.
25209 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25211         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
25212         * nptl/smp.h: ... here.
25214         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
25216         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
25217         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
25218         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
25219         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
25221         * nptl/allocatestack.c: Include <stack-aliasing.h>.
25222         * nptl/stack-aliasing.h: New file.
25223         * sysdeps/i386/i686/stack-aliasing.h: New file.
25224         * sysdeps/i386/i686/nptl/Makefile: File removed.
25225         * sysdeps/x86_64/stack-aliasing.h: New file.
25226         * sysdeps/x86_64/nptl/Makefile
25227         (CFLAGS-pthread_create.c): Variable removed.
25229         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
25230         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
25231         old file.
25232         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
25233         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
25234         old file.
25236 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
25238         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25239         (__ASSUME_SIGFRAME_V2): Remove macro.
25240         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
25241         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
25242         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
25243         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
25244         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
25245         Declare as function.  Remove conditional macro definitions.
25246         (__default_rt_sa_restorer): Likewise.
25247         (__default_sa_restorer_v1): Remove declaration.
25248         (__default_sa_restorer_v2): Likewise.
25249         (__default_rt_sa_restorer_v1): Likewise.
25250         (__default_rt_sa_restorer_v2): Likewise.
25251         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
25252         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
25253         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
25255 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25257         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
25258         (libpthread-routines): Add sysdep.
25259         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
25260         * sysdeps/unix/sysv/linux/sparc/Versions
25261         (libpthread: GLIBC_2.3.3): New version set.
25262         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
25263         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
25264         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
25265         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
25266         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
25267         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
25268         Moved ...
25269         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
25270         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
25271         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
25272         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
25273         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
25274         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
25275         * sysdeps/sparc/nptl/sem_init.c: ... here.
25276         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
25277         * sysdeps/sparc/nptl/sem_post.c: ... here.
25278         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
25279         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
25280         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
25281         * sysdeps/sparc/nptl/sem_wait.c: ... here.
25282         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
25283         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
25284         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
25285         (libpthread-routines): Add cpu_relax.
25286         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
25287         File removed.
25288         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
25289         (librt: GLIBC_2.3.3): New version set.
25290         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
25291         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
25292         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
25293         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
25294         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
25295         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
25296         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
25297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
25298         Moved ...
25299         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
25300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
25301         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
25302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
25303         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
25304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
25305         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
25306         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
25307         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
25308         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
25309         Moved ...
25310         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
25311         Update #include.
25312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
25313         Moved ...
25314         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
25315         Update #include.
25316         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
25317         Moved ...
25318         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
25319         Update #include.
25320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
25321         Moved ...
25322         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
25323         Update #include.
25324         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
25325         Moved ...
25326         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
25327         Update #include.
25328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
25329         Moved ...
25330         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
25331         Update #include.
25332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
25333         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
25334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
25335         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
25336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
25337         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
25338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
25339         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
25340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
25341         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
25342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25343         Moved ...
25344         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
25345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
25346         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
25347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
25348         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
25350 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25352         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
25353         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
25354         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25355         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
25356         * nscd/nscd.c: Likewise.
25357         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
25358         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
25359         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
25360         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
25362         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
25363         <kernel-features.h>.
25364         (init_mq_netlink): Remove conditional have_sock_cloexec
25365         definitions.  Remove code conditional on have_sock_cloexec < 0.
25366         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
25367         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
25368         * sysdeps/unix/sysv/linux/opensock.c: Do not include
25369         <kernel-features.h>.
25370         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
25371         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
25373 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25375         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25376         Add tests for memset_chk and memset.
25378         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
25379         with AVX2_Usable.
25381 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25383         [BZ #16046]
25384         * elf/tst-dl-iter-static.c: New file.
25385         * elf/Makefile (tests-static): Add tst-dl-iter-static.
25387         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
25388         error.
25390 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25392         * sysdeps/unix/sysv/linux/kernel-features.h
25393         (__ASSUME_F_GETOWN_EX): Remove macro.
25394         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
25395         <kernel-features.h>.
25396         (miss_F_GETOWN_EX): Remove variable or macro.
25397         (do_fcntl): Do not check miss_F_GETOWN_EX.
25398         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
25400         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
25401         Remove macro.
25402         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
25403         [!__ASSUME_AT_RANDOM]: Remove conditional code.
25404         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
25406         * sysdeps/unix/sysv/linux/kernel-features.h
25407         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
25408         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
25409         [ADJ_OFFSET_SS_READ]: Make code unconditional.
25410         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
25412 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25414         [BZ #17075]
25415         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
25416         Fix calculation of the symbol's value.
25417         * sysdeps/arm/tst-armtlsdescloc.c: New file.
25418         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
25419         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
25420         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
25421         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
25422         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
25423         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
25424         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
25425         (modules-names): Add `tst-armtlsdescmod',
25426         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
25427         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
25428         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25429         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
25430         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
25431         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25432         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
25433         ($(objpfx)tst-armtlsdescloc): New dependency.
25434         ($(objpfx)tst-armtlsdescextnow): Likewise.
25435         ($(objpfx)tst-armtlsdescextlazy): Likewise.
25436         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
25437         TLS scheme support.
25438         * sysdeps/arm/configure: Regenerate.
25440 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25442         * include/fcntl.h (__atfct_seterrno): Remove prototype.
25443         (__atfct_seterrno_2): Likewise.
25444         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
25445         <kernel-features.h>.
25446         (__ASSUME_ATFCTS): Do not undefine and redefine.
25447         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
25448         (__have_atfcts): Remove conditional definition.
25449         (__fxstatat([__NR_fstatat64]: Make code unconditional.
25450         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
25451         unreachable if [__ASSUME_ATFCTS].
25452         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
25453         not undefine and redefine.
25454         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
25455         <kernel-features.h>.
25456         (faccessat) [__NR_faccessat]: Make code unconditional.
25457         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
25458         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
25459         <kernel-features.h>.
25460         (fchmodat) [__NR_fchmodat]: Make code unconditional.
25461         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25462         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
25463         <kernel-features.h>.
25464         (fchownat) [__NR_fchownat]: Make code unconditional.
25465         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
25466         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
25467         <kernel-features.h>.
25468         (futimesat) [__NR_futimesat]: Make code unconditional.
25469         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
25470         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25471         <kernel-features.h>.
25472         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25473         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25474         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25475         <kernel-features.h>.
25476         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
25477         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25478         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
25479         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25480         <kernel-features.h>.
25481         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
25482         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25483         * sysdeps/unix/sysv/linux/linkat.c: Do not include
25484         <kernel-features.h>.
25485         (linkat) [__NR_linkat]: Make code unconditional.
25486         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25487         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
25488         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
25489         <kernel-features.h>.
25490         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
25491         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25492         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
25493         <kernel-features.h>.
25494         (mkdirat) [__NR_mkdirat]: Make code unconditional.
25495         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
25496         * sysdeps/unix/sysv/linux/openat.c: Do not include
25497         <kernel-features.h>.
25498         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
25499         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
25500         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
25501         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
25502         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
25503         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
25504         <kernel-features.h>.
25505         (readlinkat) [__NR_readlinkat]: Make code unconditional.
25506         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
25507         result of INLINE_SYSCALL directly, not via int variable.
25508         * sysdeps/unix/sysv/linux/renameat.c: Do not include
25509         <kernel-features.h>.
25510         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
25511         (renameat) [__NR_renameat]: Make code unconditional.
25512         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
25513         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
25514         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
25515         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
25516         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
25517         (__ASSUME_ATFCTS): Do not undefine and redefine.
25518         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
25519         <kernel-features.h>.
25520         (symlinkat) [__NR_symlinkat]: Make code unconditional.
25521         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25522         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
25523         <kernel-features.h>.
25524         (unlinkat) [__NR_unlinkat]: Make code unconditional.
25525         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25526         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
25527         (__ASSUME_ATFCTS): Do not undefine and redefine.
25528         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25529         <kernel-features.h>.
25530         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25531         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25532         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25533         <kernel-features.h>.
25534         (__xmknodat) [__NR_mknodat]: Make code unconditional.
25535         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25537 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25539         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
25541 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
25543         [BZ #17069]
25544         * posix/regcomp.c (parse_reg_exp): Deallocate partially
25545         constructed tree before returning error.
25546         * posix/bug-regexp36.c: Expand test case.
25548 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25550         [BZ #6803]
25551         * math/libm-test.inc (scalbln_test_date):
25552         Add errno expectations.
25553         * math/w_scalblnf.c: New File.
25554         Add wrapper which checks for setting errno to ERANGE.
25555         Add weak_alias for corresponding scalbln function.
25556         * math/w_scalbln.c: Likewise.
25557         * math/w_scalblnl.c: Likewise.
25558         * math/Makefile (libm-calls): Add w_scalbln.
25559         * sysdeps/ieee754/flt-32/s_scalblnf.c:
25560         Remove weak_alias for corresponding scalbln function.
25561         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25562         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25563         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25564         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25565         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25566         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25567         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
25568         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25569         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
25570         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
25571         Remove long_double_symbol for scalblnl function in libm, libc.
25572         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
25573         Add wrapper which checks for setting errno to ERANGE.
25574         Add long_double_symbol for scalblnl function in libm, libc.
25575         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
25576         Remove long_double_symbol for scalblnl in libm.
25577         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
25578         Add wrapper which checks for setting errno to ERANGE.
25579         Add long_double_symbol for scalblnl function in libm.
25580         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
25581         Do not use wrapper because of own implementation.
25583 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
25585         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
25586         3 bytes for __pad1 for x32.
25587         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
25589 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
25590             H.J. Lu  <hongjiu.lu@intel.com>
25592         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
25593         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
25594         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25595         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25596         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25598 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
25600         [BZ #17069]
25601         * posix/regcomp.c (parse_expression): Deallocate partially
25602         constructed tree before returning error.
25603         * posix/Makefile.c (tests): Add bug-regex36.
25604         (generated): Add bug-regex36.mtrace.
25605         (tests-special): Add $(objpfx)bug-regex36-mem.out
25606         (bug-regex36-ENV): New variable.
25607         ($(objpfx)bug-regex36-mem.out): New rule.
25608         * posix/bug-regex36.c: New file.
25610 2014-06-19  Will Newton  <will.newton@linaro.org>
25612         * malloc/malloc.c (systrim): If extra is zero then return
25613         early.
25615 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25617         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
25619 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
25621         * sysdeps/aarch64/strchr.S: New file.
25623 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25625         [BZ #17022]
25626         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
25627         from arguments -2 or below.
25628         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
25629         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
25631 2014-06-18  Andreas Schwab  <schwab@suse.de>
25633         [BZ #17062]
25634         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
25635         of a bracket expr not to run off the end of the string.
25636         * posix/Makefile (tests): Add tst-fnmatch3.
25637         * posix/tst-fnmatch3.c: New file.
25639 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25641         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
25642         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25643         [$(cross-compiling) = no]: Likewise.
25644         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25645         [$(cross-compiling) = no]: Likewise.
25647 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25649         [BZ #17031]
25650         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
25651         double, adjusted for any remainder from the high double.
25652         * math/libm-test.inc (nearbyint): Add tests.
25653         (rint): Likewise.
25655 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25657         * nptl/sysdeps/powerpc/Makefile: Moved ...
25658         * sysdeps/powerpc/nptl/Makefile: ... here.
25659         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
25660         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
25661         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
25662         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
25663         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
25664         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
25665         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
25666         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
25667         * nptl/sysdeps/powerpc/tls.h: Moved ...
25668         * sysdeps/powerpc/nptl/tls.h: ... here.
25670 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
25672         [BZ #16681]
25673         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
25674         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
25675         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
25676         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
25677         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
25678         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
25679         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
25680         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
25681         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
25683 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
25685         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25687 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
25689         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
25690         defined operator.
25692         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
25693         $TIMEOUTFACTOR.
25695 2014-06-16  Florian Weimer  <fweimer@redhat.com>
25697         [BZ #17058]
25698         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
25699         non-executed part of the test.
25701 2014-06-16  Andreas Schwab  <schwab@suse.de>
25703         * string/bits/string2.h (strdup, strndup): Update feature guard.
25705 2014-06-14  David S. Miller  <davem@davemloft.net>
25707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25709 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
25711         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
25712         that was previously under [RESET_PID].
25713         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
25715         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
25716         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
25717         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
25718         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25719         (__libc_vfork): New strong alias.
25720         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
25722 2014-06-14 Andi Kleen  <ak@linux.intel.com>
25724         * sysdeps/generic/elide.h: New file.
25726 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25728         * Makefile (installed-headers): Adjust path of pthread.h header.
25730 2014-06-13  Roland McGrath  <roland@hack.frob.com>
25732         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
25733         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
25734         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
25735         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
25737         * nptl/sysdeps/s390/Makefile: Moved ...
25738         * sysdeps/s390/nptl/Makefile: ... here.
25739         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
25740         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
25741         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
25742         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
25743         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
25744         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
25745         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
25746         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
25747         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
25748         * sysdeps/s390/nptl/pthreaddef.h: ... here.
25749         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
25750         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
25751         * nptl/sysdeps/s390/tls.h: Moved ...
25752         * sysdeps/s390/nptl/tls.h: ... here.
25754         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
25755         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
25757 2014-06-13  David S. Miller  <davem@davemloft.net>
25759         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
25760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
25761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
25762         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
25763         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
25764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
25765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
25766         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
25767         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
25768         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
25769         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
25770         Remove RESET_PID cpp guards.
25771         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
25772         Remove RESET_PID cpp guards.
25773         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
25775 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
25777         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
25778         __sp to uintptr_t.
25780 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25782         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
25783         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
25784         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
25785         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
25786         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
25787         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
25788         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
25789         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
25790         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
25791         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
25792         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
25793         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
25794         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
25795         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
25796         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
25797         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
25798         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
25799         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
25800         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
25801         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
25803         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
25804         (pthread_rwlock_rdlock): Add elision.
25805         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
25806         (pthread_rwlock_wrlock): Add elision.
25807         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
25808         (pthread_rwlock_trywrlock): Add elision.
25809         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
25810         (pthread_rwlock_tryrdlock): Add elision.
25811         * nptl/pthread_rwlock_unlock.c: Include elide.h.
25812         (pthread_rwlock_tryrdlock): Add elision unlock.
25813         * nptl/sysdeps/pthread/pthread.h:
25814         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
25815         (PTHREAD_RWLOCK_INITIALIZER,
25816         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
25817         Handle new elision field.
25818         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
25819         * sysdeps/arm/nptl/bits/pthreadtypes.h
25820         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25821         * sysdeps/sh/nptl/bits/pthreadtypes.h
25822         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25823         * sysdeps/tile/nptl/bits/pthreadtypes.h
25824         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25825         * sysdeps/a/nptl/bits/pthreadtypes.h
25826         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25827         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25828         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25829         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25830         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25831         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
25832         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25833         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25834         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25835         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25836         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25837         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25838         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25839         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25840         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25841         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
25842         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25843         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
25844         (elision_init): Set try_xbegin to zero when no RTM.
25845         * sysdeps/x86/nptl/bits/pthreadtypes.h
25846         (pthread_rwlock_t): Change __pad1 to __rwelision.
25847         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25849 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25851         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
25852         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
25853         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
25854         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
25856 2014-06-13  Meador Inge  <meadori@codesourcery.com>
25858         [BZ #16996]
25859         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
25860         that the cached result has been set before returning it.
25862 2014-06-12  Roland McGrath  <roland@hack.frob.com>
25864         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
25865         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
25866         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
25867         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
25868         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
25869         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
25871         * nptl/sysdeps/sparc/Makefile: Moved ...
25872         * sysdeps/sparc/nptl/Makefile: ... here.
25873         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
25874         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
25875         * nptl/sysdeps/sparc/tls.h: Moved ...
25876         * sysdeps/sparc/nptl/tls.h: ... here.
25877         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
25878         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
25879         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
25880         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
25881         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
25882         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
25883         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
25884         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
25885         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
25886         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
25887         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
25888         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
25889         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
25890         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
25891         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
25892         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
25893         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
25894         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
25895         Update #include.
25896         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
25897         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
25898         Update #include.
25899         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
25900         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
25901         Update #include.
25902         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
25903         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
25904         Update #include.
25906         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25908         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
25909         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
25911         * sysdeps/pthread/posix-timer.h: Include <list.h>.
25912         (struct list_links): Type removed.
25913         (struct thread_node, struct timer_node): Replace struct list_links
25914         with struct list_head.
25915         (list_unlink_ip): Likewise.
25916         * sysdeps/pthread/timer_routines.c
25917         (timer_free_list, thread_free_list, thread_active_list): Likewise.
25918         (list_append, list_insbefore): Likewise.
25919         (list_init): Function removed.
25920         (thread_init, init_module): Use INIT_LIST_HEAD instead.
25921         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
25922         * sysdeps/pthread/Makefile: ... here, new file.
25924         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
25925         * sysdeps/nptl/Implies: ... here.
25926         * sysdeps/unix/sysv/linux/Implies: Add nptl.
25927         * nptl/sysdeps/pthread/list.h: Moved ...
25928         * include/list.h: ... here.
25929         * nptl/sysdeps/pthread/createthread.c: Moved ...
25930         * nptl/createthread.c: ... here.
25931         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
25932         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
25933         * nptl/pt-longjmp.c: ... here.
25934         * nptl/sysdeps/pthread/Makefile: Moved ...
25935         * sysdeps/nptl/Makefile: ... here.
25936         * nptl/sysdeps/pthread/Subdirs: Moved ...
25937         * sysdeps/nptl/Subdirs: ... here.
25938         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
25939         * sysdeps/nptl/aio_misc.h: ... here.
25940         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
25941         * sysdeps/nptl/bits/libc-lock.h: ... here.
25942         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
25943         * sysdeps/nptl/bits/libc-lockP.h: ... here.
25944         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
25945         * sysdeps/nptl/bits/stdio-lock.h: ... here.
25946         * nptl/sysdeps/pthread/configure: Moved ...
25947         * sysdeps/nptl/configure: ... here.
25948         * nptl/sysdeps/pthread/configure.ac: Moved ...
25949         * sysdeps/nptl/configure.ac: ... here.
25950         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
25951         * sysdeps/nptl/gai_misc.h: ... here.
25952         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
25953         * sysdeps/nptl/librt-cancellation.c: ... here.
25954         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
25955         * sysdeps/nptl/malloc-machine.h: ... here.
25956         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
25957         * sysdeps/nptl/pthread-functions.h: ... here.
25958         * nptl/sysdeps/pthread/pthread.h: Moved ...
25959         * sysdeps/nptl/pthread.h: ... here.
25960         * nptl/sysdeps/pthread/setxid.h: Moved ...
25961         * sysdeps/nptl/setxid.h: ... here.
25962         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
25963         * sysdeps/nptl/sigfillset.c: ... here.
25964         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
25965         * sysdeps/nptl/tcb-offsets.h: ... here.
25966         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
25967         * sysdeps/nptl/tst-mqueue8x.c: ... here.
25968         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
25969         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
25970         * nptl/sysdeps/pthread/allocalim.h: Moved ...
25971         * sysdeps/pthread/allocalim.h: ... here.
25972         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
25973         * sysdeps/pthread/bits/sigthread.h: ... here.
25974         * nptl/sysdeps/pthread/flockfile.c: Moved ...
25975         * sysdeps/pthread/flockfile.c: ... here.
25976         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
25977         * sysdeps/pthread/ftrylockfile.c: ... here.
25978         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
25979         * sysdeps/pthread/funlockfile.c: ... here.
25980         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
25981         * sysdeps/pthread/posix-timer.h: ... here.
25982         * nptl/sysdeps/pthread/timer_create.c: Moved ...
25983         * sysdeps/pthread/timer_create.c: ... here.
25984         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
25985         * sysdeps/pthread/timer_delete.c: ... here.
25986         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
25987         * sysdeps/pthread/timer_getoverr.c: ... here.
25988         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
25989         * sysdeps/pthread/timer_gettime.c: ... here.
25990         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
25991         * sysdeps/pthread/timer_routines.c: ... here.
25992         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
25993         * sysdeps/pthread/timer_settime.c: ... here.
25994         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
25995         * sysdeps/pthread/tst-timer.c: ... here.
25996         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
25997         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
25999         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
26000         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
26002         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
26003         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
26004         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
26005         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
26006         Update #include target.
26007         * nptl/sysdeps/i386/i686/Makefile: Moved ...
26008         * sysdeps/i386/i686/nptl/Makefile: ... here.
26009         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
26010         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
26011         Update #include target.
26012         * nptl/sysdeps/i386/i686/tls.h: Moved ...
26013         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
26014         * nptl/sysdeps/i386/Makefile: Moved ...
26015         * sysdeps/i386/nptl/Makefile: ... here.
26016         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
26017         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
26018         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
26019         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
26020         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
26021         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
26022         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
26023         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
26024         * sysdeps/i386/nptl/pthreaddef.h: ... here.
26025         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
26026         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
26027         * nptl/sysdeps/i386/tls.h: Moved ...
26028         * sysdeps/i386/nptl/tls.h: ... here.
26030         * sysdeps/sh/Makefile [$(subdir) = csu]
26031         (gen-as-const-headers): Add tcb-offsets.sym.
26032         * nptl/sysdeps/sh/Makefile: File removed.
26033         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
26034         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
26035         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
26036         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
26037         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
26038         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
26039         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
26040         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
26041         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
26042         * sysdeps/sh/nptl/pthreaddef.h: ... here.
26043         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
26044         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
26045         * nptl/sysdeps/sh/tls.h: Moved ...
26046         * sysdeps/sh/nptl/tls.h: ... here.
26047         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
26048         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
26049         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
26050         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
26051         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
26052         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
26053         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
26054         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
26055         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
26056         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
26057         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
26058         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
26059         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
26060         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
26061         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
26062         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
26063         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
26064         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
26065         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
26066         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
26067         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
26068         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
26069         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
26070         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
26071         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
26072         Moved ...
26073         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
26074         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
26075         Moved ...
26076         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
26077         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
26078         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
26079         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
26080         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
26081         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
26082         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
26083         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
26084         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
26085         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
26086         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
26087         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
26088         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
26089         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
26090         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
26091         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
26092         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
26093         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
26094         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
26096 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26098         * posix/spawn_faction_addopen.c: Include string.h.
26100 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26102         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
26103         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
26104         * nptl/sysdeps/x86_64/Makefile: Moved ...
26105         * sysdeps/x86_64/nptl/Makefile: ... here.
26106         * nptl/sysdeps/x86_64/configure: Moved ...
26107         * sysdeps/x86_64/nptl/configure: ... here.
26108         * nptl/sysdeps/x86_64/configure.ac: Moved ...
26109         * sysdeps/x86_64/nptl/configure.ac: ... here.
26110         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
26111         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
26112         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
26113         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
26114         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
26115         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
26116         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
26117         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
26118         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
26119         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
26120         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
26121         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
26122         * nptl/sysdeps/x86_64/tls.h: Moved ...
26123         * sysdeps/x86_64/nptl/tls.h: ... here.
26124         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
26125         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
26126         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
26127         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
26129         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
26131 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26135 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
26137         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
26138         type.
26139         [POSIX] (off_t): Likewise.
26140         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
26141         [POSIX] (S_ISBLK): Require macro.
26142         [POSIX] (S_ISCHR): Likewise.
26143         [POSIX] (S_ISDIR): Likewise.
26144         [POSIX] (S_ISFIFO): Likewise.
26145         [POSIX] (S_ISREG): Likewise.
26146         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
26147         optional-macro.
26148         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
26149         type.
26150         [POSIX] (time_t): Likewise.
26151         [POSIX] (timer_t): Likewise.
26153 2014-06-11  Florian Weimer  <fweimer@redhat.com>
26155         [BZ #17048]
26156         * posix/spawn_int.h (struct __spawn_action): Make the path string
26157         non-const to support deallocation.
26158         * posix/spawn_faction_addopen.c
26159         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
26160         * posix/spawn_faction_destroy.c
26161         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
26162         path in all spawn_do_open actions.
26163         * posix/tst-spawn.c (do_test): Exercise the copy operation in
26164         posix_spawn_file_actions_addopen.
26166 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
26168         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
26169         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
26170         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
26171         conditional code always true.
26172         (__libc_vfork): New alias.
26174 2014-06-11  Roland McGrath  <roland@hack.frob.com>
26176         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26177         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
26179         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
26181         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26182         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
26184         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26185         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
26187         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26188         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
26190 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26192         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
26193         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
26194         multiarch strcmp for PPC64.
26195         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
26196         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
26197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
26198         multiarch optimizations.
26199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26200         (__libc_ifunc_impl_list): Likewise.
26202 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26204         * benchtests/scripts/validate_benchout.py: New script.
26205         * benchtests/Makefile (bench-func): Call it.
26206         * benchtests/scripts/benchout.schema.json: New file.
26208 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
26210         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
26211         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
26212         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
26213         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
26214         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
26215         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
26216         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
26217         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
26218         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
26219         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
26220         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
26221         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
26222         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
26223         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
26224         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
26225         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
26226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
26227         Moved ...
26228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
26229         ... here.
26230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
26231         Moved ...
26232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
26233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
26234         Moved ...
26235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
26236         ... here.
26237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
26238         Moved ...
26239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
26240         ... here.
26241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
26242         Moved ...
26243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
26244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
26245         Moved ...
26246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
26247         ... here.
26248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
26249         Moved ...
26250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
26251         ... here.
26252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
26253         Moved ...
26254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
26255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
26256         Moved ...
26257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
26258         ... here.
26259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
26260         Moved ...
26261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
26262         ... here.
26263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
26264         Moved ...
26265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
26266         ... here.
26267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
26268         Moved ...
26269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
26270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
26271         Moved ...
26272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
26273         ... here.
26274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
26275         Moved ...
26276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
26277         ... here.
26278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
26279         Moved ...
26280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
26281         ... here.
26282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
26283         Moved ...
26284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
26285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
26286         Moved ...
26287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
26288         ... here.
26289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
26290         Moved ...
26291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
26292         ... here.
26293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
26294         Moved ...
26295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
26296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
26297         Moved ...
26298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
26299         ... here.
26300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
26301         Moved ...
26302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
26303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
26304         Moved ...
26305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
26306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
26307         Moved ...
26308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
26309         ... here.
26310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
26311         Moved ...
26312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
26313         ... here.
26314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
26315         Moved ...
26316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
26317         ... here.
26318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
26319         Moved ...
26320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
26321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
26322         Moved ...
26323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
26324         ... here.
26325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
26326         Moved ...
26327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
26328         ... here.
26329         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
26330         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
26331         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
26332         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
26333         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
26334         Moved ...
26335         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
26336         ... here.
26337         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
26338         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
26339         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
26340         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
26341         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
26342         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
26343         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
26344         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
26345         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
26346         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
26347         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
26348         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
26349         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
26350         Moved ...
26351         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
26352         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
26353         Moved ...
26354         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
26355         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
26356         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
26357         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
26358         Moved ...
26359         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
26360         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
26361         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
26362         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
26363         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
26364         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
26365         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
26367 2014-06-10  Wilco  <wdijkstr@arm.com>
26369         * math/test-fenv-return.c: New file.
26370         * math/Makefile: Add new test test-fenv-return.
26372 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
26374         [BZ #17042]
26375         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
26376         when x - 1 is zero.
26377         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
26378         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
26379         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
26380         0.0L for an argument of 1.0L.
26381         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26382         Likewise.
26383         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
26384         value when x - 1 is zero.
26385         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
26386         * sysdeps/i386/fpu/libm-test-ulps: Update.
26387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26389 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
26391         [BZ #15119]
26392         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
26394 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26396         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
26397         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
26399 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26401         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26402         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
26404         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26405         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
26407         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26408         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
26410         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26411         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
26413         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
26414         if not already defined.
26415         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
26416         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
26417         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
26418         (TLS_INIT_TP): Use it.
26419         (TLS_DEFINE_INIT_TP): New macro.
26420         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
26422 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
26424         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
26425         constant.
26426         [POSIX] (IXANY): Likewise.
26427         [POSIX] (OLCUC): Likewise.
26428         [POSIX || POSIX2008] (CBAUD): Do not allow.
26429         [POSIX || POSIX2008] (DEFECHO): Likewise.
26430         [POSIX || POSIX2008] (ECHOCTL): Likewise.
26431         [POSIX || POSIX2008] (ECHOKE): Likewise.
26432         [POSIX || POSIX2008] (ECHOPRT): Likewise.
26433         [POSIX || POSIX2008] (EXTA): Likewise.
26434         [POSIX || POSIX2008] (EXTB): Likewise.
26435         [POSIX || POSIX2008] (FLUSHO): Likewise.
26436         [POSIX || POSIX2008] (LOBLK): Likewise.
26437         [POSIX || POSIX2008] (PENDIN): Likewise.
26438         [POSIX || POSIX2008] (SWTCH): Likewise.
26439         [POSIX || POSIX2008] (VDISCARD): Likewise.
26440         [POSIX || POSIX2008] (VDSUSP): Likewise.
26441         [POSIX || POSIX2008] (VLNEXT): Likewise.
26442         [POSIX || POSIX2008] (VREPRINT): Likewise.
26443         [POSIX || POSIX2008] (VSTATUS): Likewise.
26444         [POSIX || POSIX2008] (VWERASE): Likewise.
26445         (B*): Change to B[0123456789]*.
26446         * conform/data/time.h-data [POSIX || UNIX98]
26447         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
26448         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26449         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
26450         [POSIX] (tm_*): Do not allow.
26452 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
26454         * Makefile (install): Don't set LANGUAGE.
26455         * Makefile.in (install): Likewise.
26456         * assert/Makefile (test-assert-ENV): Remove variable.
26457         (test-assert-perr-ENV): Likewise.
26458         * elf/Makefile (neededtest4-ENV): Likewise.
26459         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26460         [$(cross-compiling) = no]: Don't set LANGUAGE.
26461         * io/ftwtest-sh (LANG): Remove variable.
26462         * libio/Makefile (tst-widetext-ENV): Likewise.
26463         * manual/install.texi (Running make install): Don't refer to
26464         environment settings for make install.
26465         * INSTALL: Regenerated.
26466         * nptl/tst-tls6.sh: Don't set LANG.
26467         * posix/globtest.sh (LANG): Remove variable.
26468         * string/Makefile (tester-ENV): Likewise.
26469         (inl-tester-ENV): Likewise.
26470         (noinl-tester-ENV): Likewise.
26471         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26472         [$(cross-compiling) = no]: Don't set LANGUAGE.
26473         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
26474         without explicit environment settings.
26476 2014-06-06  Roland McGrath  <roland@hack.frob.com>
26478         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
26479         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
26480         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
26481         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
26483 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
26485         * crypt/crypt-private.h [DOS]: Add some includes taken from the
26486         other files in the crypt directory.
26487         * crypt/crypt.c: Remove duplicate includes.
26488         * crypt/crypt-entry.c: Likewise.
26489         * crypt/crypt_util.c: Likewise.
26491 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
26493         * Makeconfig (run-program-env): New variable.
26494         (run-program-prefix-before-env): Likewise.
26495         (run-program-prefix-after-env): Likewise.
26496         (run-program-prefix): Define in terms of new variables.
26497         (built-program-cmd-before-env): New variable.
26498         (built-program-cmd-after-env): Likewise.
26499         (built-program-cmd): Define in terms of new variables.
26500         (test-program-prefix-before-env): New variable.
26501         (test-program-prefix-after-env): Likewise.
26502         (test-program-prefix): Define in terms of new variables.
26503         (test-program-cmd-before-env): New variable.
26504         (test-program-cmd-after-env): Likewise.
26505         (test-program-cmd): Define in terms of new variables.
26506         * Rules (make-test-out): Use $(run-program-env).
26507         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
26508         (help): Do not mention environment variables.  Mention
26509         --timeoutfactor option.
26510         (timeoutfactor): New variable.
26511         (blacklist_exports): Remove function.
26512         (exports): Remove variable.
26513         (command): Do not include ${exports}.
26514         * manual/install.texi (Configuring and compiling): Do not mention
26515         test wrappers preserving environment variables.  Mention that last
26516         assignment to a variable must take precedence.
26517         * INSTALL: Regenerated.
26518         * benchtests/Makefile (run-bench): Use $(run-program-env).
26519         * catgets/Makefile ($(objpfx)test1.cat): Use
26520         $(built-program-cmd-before-env), $(run-program-env) and
26521         $(built-program-cmd-after-env).
26522         ($(objpfx)test2.cat): Do not specify environment variables
26523         explicitly.
26524         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
26525         $(run-program-env) and $(built-program-cmd-after-env).
26526         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
26527         $(run-program-env) and $(test-program-cmd-after-env).
26528         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
26529         explicitly.
26530         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
26531         run_program_env and test_program_cmd_after_env arguments.
26532         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
26533         * elf/tst-pathopt.sh: Use run_program_env argument.
26534         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
26535         $(test-wrapper-env) and $(run-program-env).
26536         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
26537         run_program_env arguments.
26538         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
26539         * intl/Makefile ($(objpfx)tst-gettext.out): Use
26540         $(test-program-prefix-before-env), $(run-program-env) and
26541         $(test-program-prefix-after-env).
26542         ($(objpfx)tst-gettext2.out): Likewise.
26543         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
26544         run_program_env and test_program_prefix_after_env arguments.
26545         * intl/tst-gettext2.sh: Likewise.
26546         * intl/tst-gettext4.sh: Do not set environment variables
26547         explicitly.
26548         * intl/tst-gettext6.sh: Likewise.
26549         * intl/tst-translit.sh: Likewise.
26550         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
26551         $(test-program-prefix-before-env), $(run-program-env) and
26552         $(test-program-prefix-after-env).
26553         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
26554         run_program_env and test_program_prefix_after_env arguments.
26555         * math/Makefile (run-regen-ulps): Use $(run-program-env).
26556         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
26557         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
26558         explicitly with each use of ${test_wrapper_env}.
26559         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
26560         $(test-program-prefix-before-env), $(run-program-env) and
26561         $(test-program-prefix-after-env).
26562         * posix/tst-getconf.sh: Do not set environment variables
26563         explicitly.
26564         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
26565         run_program_env and test_program_prefix_after_env arguments.
26566         * stdio-common/tst-printf.sh: Do not set environment variables
26567         explicitly.
26568         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
26569         $(test-program-prefix-before-env), $(run-program-env) and
26570         $(test-program-prefix-after-env).
26571         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
26572         run_program_env and test_program_prefix_after_env arguments.
26573         Split $test calls into $test_pre and $test.
26574         * timezone/Makefile (build-testdata): Use
26575         $(built-program-cmd-before-env), $(run-program-env) and
26576         $(built-program-cmd-after-env).
26578 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26580         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
26581         strlen for non SHARED builds.
26583 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26585         * nptl/allocatestack.c (check_list): Inlined function...
26586         (__reclaim_stacks): ... here.
26588 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26590         [BZ #15698]
26591         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26592         memory overrun.
26594 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
26596         * Rules (make-test-out): Include
26597         LOCPATH=$(common-objpfx)localedata in default environment.
26598         * debug/Makefile (tst-chk1-ENV): Remove variable.
26599         (tst-chk2-ENV): Likewise.
26600         (tst-chk3-ENV): Likewise.
26601         (tst-chk4-ENV): Likewise.
26602         (tst-chk5-ENV): Likewise.
26603         (tst-chk6-ENV): Likewise.
26604         (tst-lfschk1-ENV): Likewise.
26605         (tst-lfschk2-ENV): Likewise.
26606         (tst-lfschk3-ENV): Likewise.
26607         (tst-lfschk4-ENV): Likewise.
26608         (tst-lfschk5-ENV): Likewise.
26609         (tst-lfschk6-ENV): Likewise.
26610         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
26611         (tst-iconv7-ENV): Likewise.
26612         * intl/Makefile (LOCPATH-ENV): Likewise.
26613         (tst-codeset-ENV): Likewise.
26614         (tst-gettext3-ENV): Likewise.
26615         (tst-gettext5-ENV): Likewise.
26616         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
26617         (tst-fopenloc-ENV): Likewise.
26618         (tst-fgetws-ENV): Remove variable.
26619         (tst-ungetwc1-ENV): Likewise.
26620         (tst-ungetwc2-ENV): Likewise.
26621         (bug-ungetwc2-ENV): Likewise.
26622         (tst-swscanf-ENV): Likewise.
26623         (bug-ftell-ENV): Likewise.
26624         (tst-fgetwc-ENV): Likewise.
26625         (tst-fseek-ENV): Likewise.
26626         (tst-ftell-partial-wide-ENV): Likewise.
26627         (tst-ftell-active-handler-ENV): Likewise.
26628         (tst-ftell-append-ENV): Likewise.
26629         * posix/Makefile (tst-fnmatch-ENV): Likewise.
26630         (tst-regexloc-ENV): Likewise.
26631         (bug-regex1-ENV): Likewise.
26632         (tst-regex-ENV): Likewise.
26633         (tst-regex2-ENV): Likewise.
26634         (bug-regex5-ENV): Likewise.
26635         (bug-regex6-ENV): Likewise.
26636         (bug-regex17-ENV): Likewise.
26637         (bug-regex18-ENV): Likewise.
26638         (bug-regex19-ENV): Likewise.
26639         (bug-regex20-ENV): Likewise.
26640         (bug-regex22-ENV): Likewise.
26641         (bug-regex23-ENV): Likewise.
26642         (bug-regex25-ENV): Likewise.
26643         (bug-regex26-ENV): Likewise.
26644         (bug-regex30-ENV): Likewise.
26645         (bug-regex32-ENV): Likewise.
26646         (bug-regex33-ENV): Likewise.
26647         (bug-regex34-ENV): Likewise.
26648         (bug-regex35-ENV): Likewise.
26649         (tst-rxspencer-ENV): Likewise.
26650         (tst-rxspencer-no-utf8-ENV): Likewise.
26651         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
26652         (tst-sscanf-ENV): Likewise.
26653         (tst-swprintf-ENV): Likewise.
26654         (tst-swscanf-ENV): Likewise.
26655         (test-vfprintf-ENV): Likewise.
26656         (scanf13-ENV): Likewise.
26657         (bug14-ENV): Likewise.
26658         (tst-grouping-ENV): Likewise.
26659         * stdlib/Makefile (tst-strtod-ENV): Likewise.
26660         (tst-strtod3-ENV): Likewise.
26661         (tst-strtod4-ENV): Likewise.
26662         (tst-strtod5-ENV): Likewise.
26663         (testmb2-ENV): Likewise./
26664         * string/Makefile (tst-strxfrm-ENV): Likewise.
26665         (tst-strxfrm2-ENV): Likewise.
26666         (bug-strcoll1-ENV): Likewise.
26667         (test-strcasecmp-ENV): Likewise.
26668         (test-strncasecmp-ENV): Likewise.
26669         * time/Makefile (tst-strptime-ENV): Likewise.
26670         (tst-ftime_l-ENV): Likewise.
26671         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
26672         (tst-mbrtowc-ENV): Likewise.
26673         (tst-wcrtomb-ENV): Likewise.
26674         (tst-mbrtowc2-ENV): Likewise.
26675         (tst-c16c32-1-ENV): Likewise.
26676         (tst-mbsnrtowcs-ENV): Likewise.
26678 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26680         * manual/resource.texi (How to get information about the memory
26681         subsystem?): Fix typo.
26682         Reported by Peon de la Parra Ivan <peon@keba.com>
26684 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
26686         [BZ #16882]
26687         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
26688         (pthread_spin_lock): Branch out of spin loop to proper location.
26689         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
26690         (pthread_spin_lock): Likewise.
26692         * nptl/tst-spin4.c: New test.
26693         * nptl/Makefile (tests): Add tst-spin4.
26695 2014-06-03  Andreas Schwab  <schwab@suse.de>
26697         [BZ #15946]
26698         * resolv/res_send.c (send_dg): Reload file descriptor after
26699         calling reopen.
26701 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
26703         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26705 2014-06-03  Richard Henderson  <rth@redhat.com>
26707         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
26708         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
26709         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
26710         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
26711         in the SAVE_PID block.
26712         (__libc_vfork): New alias.
26713         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
26715         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
26716         child in registers, not on the stack.  Remove RESET_PID conditionals.
26717         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
26719 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26721         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26723 2014-06-03  Wilco  <wdijkstr@arm.com>
26725         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
26726         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
26727         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26728         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
26729         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
26730         Likewise.
26732 2014-06-03  Wilco  <wdijkstr@arm.com>
26734         * sysdeps/aarch64/fpu/math_private.h
26735         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
26736         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
26737         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
26738         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26739         Fix declarations.
26741 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26743         * crypt/crypt-private.h: Include ufc-crypt.h.
26744         (__b64_from_24bit): Declare extern.
26745         * crypt/crypt_util.c(__b64_from_24bit): New function.
26746         (b64t): New static const variable.
26747         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
26748         (b64t): Remove variable.
26749         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
26750         * crypt/sha256-crypt.c: Include crypt-private.h.
26751         (b64t): Remove variable.
26752         (__sha256_crypt_r): Remove b64_from_24bit and replace
26753         with __b64_from_24bit.
26754         * crypt/sha512-crypt.c: Likewise.
26756 2014-06-02  Roland McGrath  <roland@hack.frob.com>
26758         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
26759         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
26760         Label the code __libc_vfork rather than __vfork.
26761         [!NOT_IN_libc] (vfork): Define as weak alias.
26762         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
26763         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
26764         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
26766 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26768         * malloc/malloc.c (malloc_info): Fix format specifier for
26769         n_mmaps.
26771 2014-06-02  Wilco  <wdijkstr@arm.com>
26773         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
26774         FPCR write.
26776 2014-06-02  Wilco  <wdijkstr@arm.com>
26778         [BZ #17009]
26779         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
26780         Rewrite to reduce FPCR/FPSR accesses.
26782 2014-06-01  David S. Miller  <davem@davemloft.net>
26784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26786 2014-05-31  David S. Miller  <davem@davemloft.net>
26788         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
26789         to occur in round to nearest mode when |x| >= 2.0
26791 2014-05-30  Richard Henderson  <rth@twiddle.net>
26793         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
26794         (PSEUDO_RET_NOERRNO): Remove.
26795         (ret): Don't redefine.
26796         (ret_NOERRNO): Define in terms of ret.
26797         (ret_ERRVAL): Likewise.
26799         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
26800         use of PSEUDO_RET; perform the error check directly.
26802 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
26804         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
26805         with __int128_t.
26807 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26809         * malloc/malloc (malloc_info): Fix formatting.
26811 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26812             Roland McGrath  <roland@hack.frob.com>
26814         * malloc/malloc (malloc_info): Also print mmapped statistics.
26816 2014-05-30  Roland McGrath  <roland@hack.frob.com>
26818         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
26819         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
26821 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
26823         * malloc/malloc.c (malloc_info): Inline mi_arena.
26825 2014-05-29  Richard Henderson  <rth@twiddle.net>
26827         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
26828         Remove comma before expanding ASM_ARGS_##nr.
26829         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
26830         Make _x0 a strict output; make _x8 a strict input; adjust expansion
26831         of ASM_ARGS_##nr.
26832         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
26833         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
26834         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
26835         (ASM_ARGS_1): Add leading comma.
26837         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
26838         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
26839         to __errno_location.
26840         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
26841         Remove the expected plt for __errno_location.
26843         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26844         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
26845         call to __read_tp.
26847         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26848         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
26849         it and break it down.
26850         (DOCARGS_0, DOCARGS_1): Do nothing.
26851         (DOCARGS_2): Update to store into the new stack frame.
26852         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
26853         (UNDOCARGS_1): Update to restore from the new stack frame.
26854         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
26855         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
26857         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26858         (SINGLE_THREAD_P): New parameter for result regno.
26859         (PSEUDO): Update to match; use cbz instead of beq.
26861         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26862         Use ENTRY to define the _nocancel entry point.  Share the syscall
26863         and syscall error check paths with the cancel path.
26864         (PSEUDO_END): New.
26866         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
26867         whitespace; tabs before and after asm mnemonics.
26869 2014-05-29  Eric Wong  <normalperson@yhbt.net>
26871         [BZ #15132]
26872         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26873         Call fstat64 or stat64 internally, depending on arguments passed.
26874         Replace stat buffer argument with file descriptor argument.
26875         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
26876         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26877         Pass fd to __internal_statvfs instead of calling fstat64.
26878         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
26879         Pass fd to __internal_statvfs64 instead of calling fstat64.
26880         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
26881         Pass -1 to __internal_statvfs instead of calling stat64.
26882         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
26883         Pass -1 to __internal_statvfs64 instead of calling stat64.
26885 2014-05-28  Roland McGrath  <roland@hack.frob.com>
26887         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
26888         that was previously under [RESET_PID].
26889         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
26891         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
26892         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
26894 2014-05-27  Roland McGrath  <roland@hack.frob.com>
26896         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
26898         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
26899         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
26901 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
26903         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
26905 2014-05-27  Andreas Schwab  <schwab@suse.de>
26907         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
26908         TLS_INIT_TP macro.
26909         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
26910         * elf/rtld.c (init_tls, dl_main): Likewise.
26911         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
26912         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
26913         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
26914         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
26915         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
26916         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
26917         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
26918         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
26919         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
26920         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
26921         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
26922         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
26923         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
26924         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
26925         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
26926         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
26927         * sysdeps/generic/tls.h: Update description.
26929 2014-05-27  Will Newton  <will.newton@linaro.org>
26931         [BZ #16990]
26932         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
26933         and restore r2 rather than just restoring.
26935 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26937         [BZ #16724]
26938         * libio/tst-ftell-append.c: New test case.
26939         * libio/Makefile (tests): Add test case.
26940         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
26941         append mode.
26942         * libio/wfileops.c (do_ftell_wide): Likewise.
26944 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26948         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
26949         ...
26950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
26951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26952         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
26953         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
26954         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
26955         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
26956         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
26957         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
26958         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26959         Moved ...
26960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
26961         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26962         Moved ...
26963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
26964         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
26965         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
26966         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
26967         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
26968         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
26969         ...
26970         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
26971         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
26972         Moved ...
26973         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
26974         here.
26975         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
26976         ...
26977         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
26978         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
26979         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
26981         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
26982         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
26983         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
26984         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
26986         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
26987         merge into ...
26988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
26989         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
26990         ...
26991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
26992         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
26993         ...
26994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
26995         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26996         Moved ...
26997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
26998         here.
26999         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27000         Moved ...
27001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
27002         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27003         Moved ...
27004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
27006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
27007         conditional [RESET_PID].
27008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
27009         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
27010         removed.
27011         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
27012         removed.
27014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
27015         <tcb-offsets.h>.
27016         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27017         (__libc_vfork): New strong alias.
27018         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
27019         removed.
27020         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
27021         Removed.
27023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
27024         <tcb-offsets.h>.
27025         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
27026         (__libc_vfork): New strong alias.
27027         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
27028         removed.
27029         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
27030         removed.
27032 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
27034         * malloc/malloc.c (mi_arena): New function.
27035         (malloc_info): Remove nested function mi_arena. Call non-nosted
27036         function mi_arena.
27038 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27040         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
27041         by insrwi.
27042         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27043         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
27044         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
27045         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
27046         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
27047         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
27048         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
27050 2014-05-26  Andreas Schwab  <schwab@suse.de>
27052         [BZ #16984]
27053         * locale/programs/repertoire.c (repertoire_read): Add slash
27054         between I18NPATH element and file name.
27055         * locale/programs/locfile.c (locfile_read): Likewise.
27057 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27059         * nptl/pthread_mutexattr_settype.c
27060         (__pthread_mutexattr_settype):
27061         Disable lock elision for PTHREAD_MUTEX_NORMAL.
27063 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27065         * nptl/tst-mutex5 (do_test):
27066         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
27068 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27070         * benchtests/README: Document 'init' directive.
27071         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
27072         BENCH_INIT.
27073         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
27074         (parse_file): Recognize 'init' directive.
27076 2014-05-26  Kyle McMartin  <kyle@redhat.com>
27078         [BZ #16796]
27079         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
27080         alignment of struct pthread.
27082 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27084         [BZ #16878]
27085         * nscd/netgroupcache.c (addgetnetgrentX): Look for
27086         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27087         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
27088         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27090 2014-05-25  Richard Henderson  <rth@twiddle.net>
27092         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27093         (SINGLE_THREAD_P_PIC): Remove.
27094         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
27095         (SINGLE_THREAD_P_PIC): Remove.
27097         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
27098         branch to syscall error ...
27099         (PSEUDO): ... here.
27100         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
27101         from __local_syscall_error to .Lsyscall_error.
27102         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
27103         (SYSCALL_ERROR): Update label name.
27105         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27106         Do not use DOARGS/UNDOARGS.
27107         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
27108         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
27109         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
27110         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
27111         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
27113         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
27114         block comment.
27116         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
27117         define if !NOT_IN_libc.
27118         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
27119         define with non-default symbol versions.
27121 2014-05-23  Richard Henderson  <rth@twiddle.net>
27123         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
27124         (vfork, __vfork): Define via compat_symbol.
27126         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
27127         [!HAVE_IFUNC] (vfork_compat): Remove.
27128         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
27130 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27132         [BZ #16978]
27133         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
27134         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
27135         variable.
27137 2014-05-23  Richard Henderson  <rth@twiddle.net>
27139         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
27140         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
27141         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
27142         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
27144         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
27145         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
27146         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
27147         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
27148         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
27149         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
27150         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
27151         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
27152         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
27153         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
27154         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
27155         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
27156         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
27157         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
27158         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
27159         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
27160         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
27161         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
27162         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
27163         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
27164         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
27165         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
27166         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
27167         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
27168         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
27169         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
27170         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
27171         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
27172         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
27173         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
27174         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
27175         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
27176         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
27177         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
27178         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
27179         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
27180         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
27181         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
27182         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
27183         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
27184         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
27185         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
27186         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
27187         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
27188         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
27189         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
27190         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
27191         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
27192         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
27193         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
27194         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
27195         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
27196         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
27197         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
27198         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
27199         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
27201         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
27202         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
27203         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
27204         before exiting on error.
27205         (__libc_vfork): New strong alias.
27206         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
27207         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
27209         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
27210         that was previously under [RESET_PID].
27211         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
27213         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
27215 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
27217         [BZ #16977]
27218         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
27219         value when x - 1 is zero.
27220         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
27221         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
27222         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
27223         0.0L for an argument of 1.0L.
27224         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
27225         Likewise.
27226         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
27227         value when x - 1 is zero.
27228         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
27229         * sysdeps/i386/fpu/libm-test-ulps: Update.
27230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27232 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27234         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
27235         alphasort and versionsort.
27237 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27239         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
27240         macro.
27241         [copysignf]: Likewise.
27243 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27245         * crypt/md5-crypt.c: Fix formatting.
27247 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27249         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
27250         (b64_from_24bit): New function.
27252 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27254         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
27255         libc_hidden_builtin_def to ifunc.
27256         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27257         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
27259 2014-05-21  Roland McGrath  <roland@hack.frob.com>
27261         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
27262         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
27264 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
27266         * nscd/Depend (linuxthreads): Remove.
27267         (nptl): Add.
27268         * resolv/Depend (linuxthreads): Remove.
27269         * rt/Depend (linuxthreads): Remove.
27271         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
27272         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
27273         $(common-objpfx)elf/.
27274         (link-libc-before-gnulib): Likewise.
27275         (elfobjdir): Remove variable.
27276         * Makefile (install): Use $(elf-objpfx) instead of
27277         $(common-objpfx)elf/.
27278         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
27279         $(elfobjdir)/.
27280         (link-libc-deps): Likewise.
27281         ($(common-objpfx)libc.so): Likewise.
27282         ($(common-objpfx)linkobj/libc.so): Likewise.
27283         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
27284         instead of $(common-objpfx)elf/.
27285         (symbolic-link-list): Likewise.
27286         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27287         [$(cross-compiling) = no]: Likewise.
27288         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
27289         $(elfobjdir)/.
27290         (static-gnulib-arch): Likewise.
27291         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27292         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
27293         $(common-objpfx)elf/.
27295 2014-05-21  Richard Henderson  <rth@redhat.com>
27297         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27298         (SINGLE_THREAD_P): Use the correct width load.  Fold
27299         into the ldr offset.
27301         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
27302         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
27304 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
27306         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
27307         (libgcc_s_resume): Use __attribute_used__.
27308         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
27309         Likewise.
27311 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27313         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
27314         optimization when used with float constants.
27316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27318 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
27320         [BZ #16915]
27321         * locale/nl_langinfo_l.c: Make direct reference to every
27322         _nl_current_CATEGORY symbol.
27323         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
27324         (tests-static): Add tst-langinfo-static.
27325         (tests-special): Add tst-langinfo-static.out.
27326         ($(objpfx)tst-langinfo.out): Redirect output.
27327         ($(objpfx)tst-langinfo-static.out): New.
27328         * localedata/tst-langinfo.sh: Send output to stdout.
27329         * localedata/tst-langinfo-static.c: New file.
27331         [BZ #16965]
27332         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
27333         when the shift amount is modulo the limb size.
27335 2014-05-20  Richard Henderson  <rth@redhat.com>
27337         [BZ #16967]
27338         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
27339         Change type of sa_flags from unsigned int to int.
27341         [BZ #16966]
27342         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
27344         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
27346 2014-05-20  Will Newton  <will.newton@linaro.org>
27348         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27349         Test the return value of the system call in the nocancel case.
27351 2014-05-20  Will Newton  <will.newton@linaro.org>
27352             Yvan Roux  <yvan.roux@linaro.org>
27354         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
27355         #include of asm/ptrace.h.
27356         (PTRACE_GET_THREAD_AREA): Remove #undef.
27357         (PTRACE_GETHBPREGS): Likewise.
27358         (PTRACE_SETHBPREGS): Likewise.
27359         (struct user_regs_struct): New structure.
27360         (struct user_fpsimd_struct): New structure.
27361         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
27362         #include of asm/ptrace.h and second #include of sys/user.h.
27363         (PTRACE_GET_THREAD_AREA): Remove #undef.
27364         (PTRACE_GETHBPREGS): Likewise.
27365         (PTRACE_SETHBPREGS): Likewise.
27366         (ELF_NGREG): Use new struct user_regs_struct.
27367         (elf_fpregset_t): Use new struct user_fpsimd_struct.
27369 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27371         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
27372         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
27374 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
27376         [BZ #16958]
27377         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
27378         membar to avoid block loads/stores to overlap previous stores.
27380 2014-05-17  Richard Henderson  <rth@redhat.com>
27382         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
27383         Create the __##syscall_name##_nocancel entry point.
27384         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
27385         Remove; let the sysdep-cancel.h code create it.
27387 2014-05-17  David S. Miller  <davem@davemloft.net>
27389         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
27390         Protect with __USE_GNU.
27391         (TIOCSET_TEMPT): Likewise.
27392         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27393         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
27394         these are already provided in bits/ioctl-types.h
27396 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27398         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
27399         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
27401         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
27402         Use wait4 regardless of [__NR_waitpid].
27404 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27406         PR libgcc/60166
27407         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
27408         (_FP_NANSIGN_Q): Set the quiet bit.
27410 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
27412         * benchtests/Makefile
27413         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
27414         not $(common-objpfx)math/libm.so.
27415         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
27416         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
27417         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
27418         $(common-objpfx)dlfcn/libdl.so.
27419         ($(objpfx)tst-audit8): Depend on $(libm), not
27420         $(common-objpfx)math/libm.so.
27421         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
27422         not $(common-objpfx)dlfcn/libdl.so.
27423         * math/Makefile
27424         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27425         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
27426         [$(build-shared) = yes].
27427         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
27428         $(common-objpfx)nptl/libpthread.so.
27429         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
27430         $(common-objpfx)math/libm.so$(libm.so-version) or
27431         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
27432         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
27433         $(common-objpfx)dlfcn/libdl.so.
27434         * setjmp/Makefile (link-libm): Remove variable.
27435         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
27436         * stdio-common/Makefile (link-libm): Remove variable.
27437         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
27438         * stdlib/Makefile (link-libm): Remove variable.
27439         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
27440         ($(objpfx)tst-strtod-round): Likewise.
27441         ($(objpfx)tst-tininess): Likewise.
27442         ($(objpfx)tst-strtod-underflow): Likewise.
27443         ($(objpfx)tst-strtod6): Likewise.
27444         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
27445         $(libdl), not $(common-objpfx)nptl/libpthread.so and
27446         $(common-objpfx)dlfcn/libdl.so.
27448 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27450         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
27451         BSD terminal modes definitions.
27453 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27455         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
27456         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
27458         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
27459         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
27460         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
27461         Don't do #include_next.
27462         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
27463         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
27464         Don't do #include_next.
27465         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
27466         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
27467         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
27468         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
27470 2014-05-16  Allan McRae  <allan@archlinux.org>
27472         * po/sv.po: Update Swedish translation from translation project.
27474         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
27475         in sed expression.
27477 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
27479         [BZ #16917]
27480         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
27481         errno if the TIOCGPTN ioctl fails with an error different than
27482         EINVAL.
27483         * login/tst-ptsname.c: New file.
27484         * login/Makefile (tests): Add tst-ptsname.
27486         [BZ #16943]
27487         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
27488         and prlimit64.
27490 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27492         [BZ #16849]
27493         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
27494         herrno to return EAI_AGAIN.
27496 2014-05-14  Roland McGrath  <roland@hack.frob.com>
27498         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
27499         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
27500         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
27501         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
27502         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
27503         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
27504         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
27505         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
27506         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
27507         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
27508         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
27509         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
27510         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
27511         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
27512         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
27513         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
27514         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
27515         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
27516         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
27517         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
27518         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
27519         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
27520         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
27521         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
27522         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
27523         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
27524         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
27525         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
27526         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
27527         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
27528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
27529         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
27530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
27531         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
27532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27533         Moved ...
27534         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
27535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
27536         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
27537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
27538         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
27539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
27540         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
27541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
27542         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
27543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
27544         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
27545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
27546         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
27547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
27548         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
27549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
27550         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
27551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
27552         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
27553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
27554         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
27555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
27556         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
27557         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
27558         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
27559         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
27560         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
27561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27562         Moved ...
27563         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
27564         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
27565         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
27566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
27567         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
27568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
27569         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
27570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
27571         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
27572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
27573         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
27574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
27575         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
27576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
27577         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
27578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
27579         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
27580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
27581         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
27582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27583         Moved ...
27584         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
27585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
27586         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
27588         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
27589         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
27590         (libpthread-sysdep_routines): Add elision-related stuff here instead.
27591         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
27592         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
27593         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
27594         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
27595         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
27596         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
27597         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
27598         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
27599         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
27600         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
27601         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
27602         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
27603         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
27604         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
27605         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
27606         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
27607         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
27608         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
27609         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
27610         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
27611         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
27612         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
27613         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
27614         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
27615         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
27616         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
27617         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
27618         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
27620         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
27621         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
27623         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
27624         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
27625         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
27626         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
27627         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
27628         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
27629         Moved ...
27630         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
27631         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27632         Moved ...
27633         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
27634         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27635         Moved ...
27636         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
27637         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
27638         Moved ...
27639         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
27640         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
27641         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
27642         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27643         Moved ...
27644         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
27645         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
27646         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
27647         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
27648         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
27649         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
27650         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
27651         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27652         Moved ...
27653         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
27654         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27655         Moved ...
27656         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27657         ... here.
27658         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
27659         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
27660         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
27661         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
27662         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27663         Moved ...
27664         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27665         ... here.
27666         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
27667         Moved ...
27668         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
27669         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
27670         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
27671         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
27672         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
27673         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
27674         Moved ...
27675         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
27676         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27677         Moved ...
27678         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
27679         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27680         Moved ...
27681         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
27682         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
27683         Moved ...
27684         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
27685         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
27686         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
27687         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
27688         Moved ...
27689         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
27690         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
27691         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
27692         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
27693         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
27694         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
27695         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
27696         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27697         Moved ...
27698         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
27699         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27700         Moved ...
27701         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27702         ... here.
27703         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
27704         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
27705         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
27706         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
27707         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27708         Moved ...
27709         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27710         ... here.
27711         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
27712         Moved ...
27713         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
27714         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
27715         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
27716         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
27717         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
27718         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
27719         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
27720         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
27721         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
27722         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
27723         Moved ...
27724         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
27725         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27726         Moved ...
27727         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
27728         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27729         Moved ...
27730         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
27731         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
27732         Moved ...
27733         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
27734         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
27735         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
27736         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
27737         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
27738         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27739         Moved ...
27740         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
27741         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
27742         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
27743         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
27744         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
27745         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
27746         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
27747         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27748         Moved ...
27749         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
27750         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27751         Moved ...
27752         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27753         ... here.
27754         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
27755         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
27756         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
27757         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
27758         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27759         Moved ...
27760         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27761         ... here.
27762         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
27763         Moved ...
27764         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
27765         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
27766         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
27767         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
27768         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
27769         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
27770         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
27771         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
27772         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
27773         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
27774         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
27776         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
27777         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
27779         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
27780         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
27782         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
27783         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
27784         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
27785         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
27786         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
27787         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
27788         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
27789         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
27790         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
27791         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
27792         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
27793         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
27794         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
27795         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
27796         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
27797         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
27798         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
27799         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
27800         Moved ...
27801         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
27802         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
27803         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
27804         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
27805         Moved ...
27806         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
27807         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
27808         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
27809         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
27810         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
27811         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
27812         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
27813         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
27814         Moved ...
27815         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
27816         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
27817         Moved ...
27818         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
27819         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
27820         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
27821         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
27822         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
27823         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
27824         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
27825         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
27826         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
27827         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
27828         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
27829         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
27830         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
27831         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
27832         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
27833         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
27834         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
27836         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
27837         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
27838         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
27839         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
27840         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
27842         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
27843         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
27844         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
27845         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
27846         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
27847         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
27848         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
27849         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
27850         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
27851         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
27853         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
27854         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
27856         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
27857         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
27858         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
27859         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
27860         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
27861         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
27862         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
27863         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
27864         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
27865         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
27866         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
27867         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
27868         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
27869         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
27870         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
27871         Update #include.
27872         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
27873         Likewise.
27874         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27875         Likewise.
27876         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27877         Likewise.
27878         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27879         Likewise.
27880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
27881         Likewise.
27882         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
27883         Likewise.
27884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27885         Likewise.
27886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
27887         Likewise.
27888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
27889         Likewise.
27890         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
27891         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
27892         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
27893         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
27894         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
27895         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
27896         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
27897         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
27898         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
27899         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
27900         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
27901         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
27902         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
27903         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
27904         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
27906         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
27907         that was previously under [RESET_PID].
27908         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27909         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
27910         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
27912         * sysdeps/i386/nptl/Implies: New file.
27913         * sysdeps/x86_64/nptl/Implies: New file.
27914         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
27915         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
27916         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
27917         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
27919         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
27920         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27921         (__libc_vfork): New strong alias.
27922         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
27923         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
27925         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
27926         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27927         (__libc_vfork): New strong alias.
27928         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
27929         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
27931         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
27932         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27933         (__libc_vfork): New strong alias.
27934         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
27935         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
27936         * nptl/pt-vfork.c: New file.
27937         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
27938         (libpthread: GLIBC_2.20): New version set (empty).
27940 2014-05-14  Will Newton  <will.newton@linaro.org>
27942         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
27943         rather than #if.
27945 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27947         [BZ #16564]
27948         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
27949         arguments with exponent 65 or above.
27950         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
27951         arguments 0x1p113L or above.
27952         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
27953         to arguments 0x1p107L or above.
27954         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
27955         positive arguments with exponent 65 or above.
27956         * math/auto-libm-test-in: Add more tests of log1p.
27957         * math/auto-libm-test-out: Regenerated.
27959         [BZ #16928]
27960         * math/s_cacos.c (__cacos): Ensure zero real part of result from
27961         non-finite arguments is +0.
27962         * math/s_cacosf.c (__cacosf): Likewise.
27963         * math/s_cacosl.c (__cacosl): Likewise.
27964         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
27965         * sysdeps/i386/fpu/libm-test-ulps: Update.
27966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27968         [BZ #16927]
27969         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
27970         value.
27971         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
27972         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
27973         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
27974         for explicit high bit of mantissa when testing for argument equal
27975         to 1.
27976         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
27977         * sysdeps/i386/fpu/libm-test-ulps: Update.
27978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27980         [BZ #16516]
27981         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
27982         (__erf): Scale by 16 instead of 8 in potentially underflowing
27983         case.  Ensure exception if result actually underflows.
27984         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
27985         (__erff): Scale by 16 instead of 8 in potentially underflowing
27986         case.  Ensure exception if result actually underflows.
27987         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
27988         (efx8): Remove variable.
27989         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27990         case.  Ensure exception if result actually underflows.
27991         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
27992         (efx8): Remove variable.
27993         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27994         case.  Ensure exception if result actually underflows.
27995         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
27996         (efx8): Remove variable.
27997         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27998         case.  Ensure exception if result actually underflows.
27999         * math/auto-libm-test-in: Add more tests of erf.
28000         * math/auto-libm-test-out: Regenerated.
28002 2014-05-14  Andreas Schwab  <schwab@suse.de>
28004         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
28005         Remove code conditionalized on USE___THREAD.
28007         * config.h.in (HAVE_PT_CHOWN): Define as 0.
28008         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
28009         not definedness.
28011 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
28013         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
28014         Define unconditionally.
28015         (__ASSUME_O_CLOEXEC): Likewise.
28016         (__ASSUME_SOCK_CLOEXEC): Likewise.
28017         (__ASSUME_IN_NONBLOCK): Likewise.
28018         (__ASSUME_PIPE2): Likewise.
28019         (__ASSUME_EVENTFD2): Likewise.
28020         (__ASSUME_SIGNALFD4): Likewise.
28021         (__ASSUME_DUP3): Likewise.
28022         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28023         (__ASSUME_DUP3): Do not define.
28024         (__ASSUME_EVENTFD2): Likewise.
28025         (__ASSUME_IN_NONBLOCK): Likewise.
28026         (__ASSUME_O_CLOEXEC): Likewise.
28027         (__ASSUME_PIPE2): Likewise.
28028         (__ASSUME_SIGNALFD4): Likewise.
28029         (__ASSUME_SOCK_CLOEXEC): Likewise.
28030         (__ASSUME_UTIMES): Undefine.
28031         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28032         (__ASSUME_UTIMES): Do not define.
28033         (__ASSUME_O_CLOEXEC): Likewise.
28034         (__ASSUME_SOCK_CLOEXEC): Likewise.
28035         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
28036         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
28037         0x020621].
28038         (__ASSUME_PIPE2): Likewise.
28039         (__ASSUME_EVENTFD2): Likewise.
28040         (__ASSUME_SIGNALFD4): Likewise.
28041         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
28042         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
28043         Do not define.
28044         (__ASSUME_EVENTFD2): Likewise.
28045         (__ASSUME_SIGNALFD4): Likewise.
28046         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28047         (__ASSUME_32BITUIDS): Likewise.
28048         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28049         (__ASSUME_IPC64): Likewise.
28050         (__ASSUME_ST_INO_64_BIT): Likewise.
28051         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
28052         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
28053         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28054         (__ASSUME_UTIMES): Do not define.
28055         (__ASSUME_PSELECT): Likewise.
28056         (__ASSUME_PPOLL): Likewise.
28057         (__ASSUME_O_CLOEXEC): Likewise.
28058         (__ASSUME_SOCK_CLOEXEC): Likewise.
28059         (__ASSUME_IN_NONBLOCK): Likewise.
28060         (__ASSUME_PIPE2): Likewise.
28061         (__ASSUME_EVENTFD2): Likewise.
28062         (__ASSUME_SIGNALFD4): Likewise.
28063         (__ASSUME_DUP3): Likewise.
28064         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28065         (__ASSUME_UTIMES): Likewise.
28066         (__ASSUME_O_CLOEXEC): Likewise.
28067         (__ASSUME_SOCK_CLOEXEC): Likewise.
28068         (__ASSUME_IN_NONBLOCK): Likewise.
28069         (__ASSUME_PIPE2): Likewise.
28070         (__ASSUME_EVENTFD2): Likewise.
28071         (__ASSUME_SIGNALFD4): Likewise.
28072         (__ASSUME_DUP3): Likewise.
28073         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28074         (__ASSUME_UTIMES): Likewise.
28075         (__ASSUME_O_CLOEXEC): Likewise.
28076         (__ASSUME_SOCK_CLOEXEC): Likewise.
28077         (__ASSUME_IN_NONBLOCK): Likewise.
28078         (__ASSUME_PIPE2): Likewise.
28079         (__ASSUME_EVENTFD2): Likewise.
28080         (__ASSUME_SIGNALFD4): Likewise.
28081         (__ASSUME_DUP3): Likewise.
28082         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
28083         Likewise.
28084         (__ASSUME_UTIMES): Likewise.
28085         (__ASSUME_EVENTFD2): Likewise.
28086         (__ASSUME_SIGNALFD4): Likewise.
28087         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28088         (__ASSUME_O_CLOEXEC): Likewise.
28089         (__ASSUME_SOCK_CLOEXEC): Likewise.
28090         (__ASSUME_IN_NONBLOCK): Likewise.
28091         (__ASSUME_PIPE2): Likewise.
28092         (__ASSUME_EVENTFD2): Likewise.
28093         (__ASSUME_SIGNALFD4): Likewise.
28094         (__ASSUME_DUP3): Likewise.
28095         (__ASSUME_UTIMES): Undefine.
28097         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
28098         feclearexcept.  Remove symbol versioning code.
28099         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
28100         symbol versioning code.
28101         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
28102         symbol versioning code.
28103         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
28104         feupdateenv.  Remove symbol versioning code.
28105         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
28106         fegetexceptflag.  Remove symbol versioning code.
28107         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
28108         fesetexceptflag.  Remove symbol versioning code.
28109         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
28110         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
28111         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
28112         (__posix_fadvise64_l32): Remove prototype.
28113         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
28114         code.
28116 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28118         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
28119         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
28120         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
28121         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
28123 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
28125         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
28126         current working directory
28128 2014-05-13  Roland McGrath  <roland@hack.frob.com>
28130         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
28131         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
28132         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
28133         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
28134         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
28135         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
28136         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
28137         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
28138         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
28139         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
28140         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
28141         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
28142         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
28143         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
28144         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
28145         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
28146         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
28147         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
28148         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
28149         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
28150         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
28151         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
28152         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
28153         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
28154         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
28155         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
28156         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
28157         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
28158         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
28159         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
28160         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
28161         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
28162         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
28163         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
28164         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
28165         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
28166         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
28167         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
28168         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
28169         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
28170         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
28171         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
28173         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
28174         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
28176         * sysdeps/unix/sysv/linux/arm/Makefile
28177         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28178         Add rt-aeabi_unwind_cpp_pr1.
28179         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
28180         Add nptl-aeabi_unwind_cpp_pr1.
28181         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
28182         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
28183         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
28184         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28185         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
28186         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28188         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
28189         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
28190         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
28191         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
28193         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
28194         Deconditionalize the code that was previously under [RESET_PID].
28195         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
28197         * sysdeps/generic/exit-thread.h: New file.
28198         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
28199         * include/unistd.h (__exit_thread): Remove declaration.
28200         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
28201         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
28202         * csu/libc-start.c: Include <exit-thread.h>.
28203         (LIBC_START_MAIN): Pass no argument to __exit_thread.
28204         * nptl/pthread_create.c: Include <exit-thread.h>.
28205         (start_thread): Call __exit_thread in place of __exit_thread_inline.
28206         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
28207         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
28208         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
28209         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
28210         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
28211         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
28212         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
28213         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
28214         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
28215         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
28216         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
28217         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
28218         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
28219         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
28220         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
28221         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
28223 2014-05-13  Andreas Schwab  <schwab@suse.de>
28225         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
28227 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
28229         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28230         (__ASSUME_UTIMES): Do not condition on kernel version.
28231         (__ASSUME_PSELECT): Define unconditionally.
28232         (__ASSUME_PPOLL): Likewise.
28233         (__ASSUME_ATFCTS): Likewise.
28234         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
28235         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
28236         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
28237         (__ASSUME_UTIMENSAT): Define unconditionally.
28238         (__ASSUME_PRIVATE_FUTEX): Likewise.
28239         (__ASSUME_FALLOCATE): Likewise.
28240         (__ASSUME_O_CLOEXEC): Likewise.
28241         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
28242         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
28243         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
28244         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
28245         (__ASSUME_IN_NONBLOCK): Likewise.
28246         (__ASSUME_PIPE2): Likewise.
28247         (__ASSUME_EVENTFD2): Likewise.
28248         (__ASSUME_SIGNALFD4): Likewise.
28249         (__ASSUME_DUP3): Likewise.
28250         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28251         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
28252         (__ASSUME_AT_RANDOM): Likewise.
28253         (__ASSUME_PREADV): Likewise.
28254         (__ASSUME_PWRITEV): Likewise.
28255         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
28256         (__ASSUME_F_GETOWN_EX): Define unconditionally.
28257         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
28258         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28259         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
28260         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28261         (__ASSUME_O_CLOEXEC): Define unconditionally.
28262         (__ASSUME_PSELECT): Do not undefine conditionally.
28263         (__ASSUME_PPOLL): Likewise.
28264         (__ASSUME_ATFCTS): Likewise.
28265         (__ASSUME_SET_ROBUST_LIST): Likewise.
28266         (__ASSUME_UTIMENSAT): Likewise.
28267         (__ASSUME_FDATASYNC): Define unconditionally.
28268         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28269         (__ASSUME_SIGFRAME_V2): Likewise.
28270         )__ASSUME_EVENTFD2): Likewise.
28271         (__ASSUME_SIGNALFD4): Likewise.
28272         (__ASSUME_PSELECT): Do not undefine conditionally.
28273         (__ASSUME_PPOLL): Likewise.
28274         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28275         (__ASSUME_PSELECT): Define unconditionally.
28276         (__ASSUME_PPOLL): Likewise.
28277         (__ASSUME_O_CLOEXEC): Likewise.
28278         (__ASSUME_SOCK_CLOEXEC): Likewise.
28279         (__ASSUME_IN_NONBLOCK): Likewise.
28280         (__ASSUME_PIPE2): Likewise.
28281         (__ASSUME_EVENTFD2): Likewise.
28282         (__ASSUME_SIGNALFD4): Likewise.
28283         (__ASSUME_DUP3): Likewise.
28284         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28285         (__ASSUME_O_CLOEXEC): Likewise.
28286         (__ASSUME_SOCK_CLOEXEC): Likewise.
28287         (__ASSUME_IN_NONBLOCK): Likewise.
28288         (__ASSUME_PIPE2): Likewise.
28289         (__ASSUME_EVENTFD2): Likewise.
28290         (__ASSUME_SIGNALFD4): Likewise.
28291         (__ASSUME_DUP3): Likewise.
28292         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28293         (__ASSUME_EVENTFD2): Likewise.
28294         (__ASSUME_SIGNALFD4): Likewise.
28295         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28297 2014-05-12  Andreas Schwab  <schwab@suse.de>
28299         [BZ #16932]
28300         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
28301         (_nss_nis_gethostbyname4_r): Return error if item length is larger
28302         than maximum RPC packet size.
28303         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
28304         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
28305         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
28306         (_nss_nis_getservbyport_r): Likewise.
28308 2014-05-12  Will Newton  <will.newton@linaro.org>
28310         * malloc/Makefile (tests): Add tst-mallopt.
28311         * malloc/tst-mallopt.c: New file.
28313 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28315         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
28316         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
28318 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28320         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
28321         (tst-tlsmod6.so): Likewise.
28323 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28325         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
28327 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
28329         [BZ #16064]
28330         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
28331         and <dl-procinfo.h>.
28332         (__fegetenv): Save SSE state in envp->__eip if supported.
28333         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
28334         envp->__eip if supported.
28335         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
28336         and <dl-procinfo.h>.
28337         (__fesetenv): Always set __eip, __cs_selector, __opcode,
28338         __data_offset and __data_selector in environment to 0.  Set SSE
28339         state if supported.
28340         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
28341         test-fenv-sse.
28342         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
28343         -mfpmath=sse.
28344         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
28346 2014-05-09  Will Newton  <will.newton@linaro.org>
28348         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
28349         and libc_relro_required for ARM.
28350         * sysdeps/arm/preconfigure: Regenerate.
28352 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
28353             Stefan Liebler  <stli@linux.vnet.ibm.com>
28355         * config.make.in (enable-lock-elision): New Makefile variable.
28356         * configure.ac: Likewise.
28357         * configure: Regenerate.
28358         * sysdeps/s390/configure.ac:
28359         Add check for gcc transactions support.
28360         * sysdeps/s390/configure: Regenerate.
28361         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
28362         Build elision files if enabled.
28363         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
28364         Add lock elision support for s390.
28365         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
28366         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
28367         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
28368         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
28369         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
28370         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
28371         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28372         Likewise.
28373         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
28374         Likewise.
28375         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
28376         Likewise.
28377         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
28378         Likewise.
28379         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
28380         (__lll_timedlock_elision, __lll_lock_elision)
28381         (__lll_unlock_elision, __lll_trylock_elision)
28382         (lll_timedlock_elision, lll_lock_elision)
28383         (lll_unlock_elision, lll_trylock_elision): Add.
28384         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28385         (pthread_mutex_t): Add lock elision support for s390.
28387 2014-05-14  Wilco  <wdijkstr@arm.com>
28389         * sysdeps/arm/fclrexcpt.c: Cleanup.
28390         * sysdeps/arm/fedisblxcpt.c: Cleanup.
28391         * sysdeps/arm/feenablxcpt.c: Cleanup.
28392         * sysdeps/arm/fegetenv.c: Cleanup.
28393         * sysdeps/arm/fegetexcept.c: Cleanup.
28394         * sysdeps/arm/fegetround.c: Cleanup.
28395         * sysdeps/arm/feholdexcpt.c: Cleanup.
28396         * sysdeps/arm/fesetenv.c: Cleanup.
28397         * sysdeps/arm/fesetround.c: Cleanup.
28398         * sysdeps/arm/feupdateenv.c: Cleanup.
28399         * sysdeps/arm/fgetexcptflg.c: Cleanup.
28400         * sysdeps/arm/fraiseexcpt.c: Cleanup.
28401         * sysdeps/arm/fsetexcptflg.c: Cleanup.
28402         * sysdeps/arm/ftestexcept.c: Cleanup.
28403         * sysdeps/arm/get-rounding-mode.h: Cleanup.
28404         * sysdeps/arm/setfpucw.c: Cleanup.
28406 2014-05-09  Will Newton  <will.newton@linaro.org>
28408         * sysdeps/arm/armv7/strcmp.S: New file.
28409         * NEWS: Mention addition of ARMv7 optimized strcmp.
28411 2014-05-08  Roland McGrath  <roland@hack.frob.com>
28413         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
28414         look for %.ac rather than %.in.
28416         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
28417         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
28418         * sysdeps/mach/hurd/configure: Regenerated.
28419         * sysdeps/unix/sysv/linux/configure: Regenerated.
28421         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
28423 2014-05-07  Steve Ellcey  <sellcey@mips.com>
28425         [BZ# 16922]
28426         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
28427         (LONG_SUB): Ditto.
28428         (PTR_SUB): Ditto.
28430 2014-05-07  Andreas Schwab  <schwab@suse.de>
28432         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
28433         when skipping over non-matching result from nscd.
28435 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
28437         [BZ #16876]
28438         * nptl/sockperf.c (client): Check socket return value.
28440         [BZ #16877]
28441         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
28442         nscd security class.
28444 2014-05-06  Roland McGrath  <roland@hack.frob.com>
28446         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
28447         * sysdeps/arm/unwind.h: ... here.
28449 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
28451         [BZ# 16916]
28452         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
28453         Define.
28455 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28457         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
28458         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
28459         multiarch strncpy for PPC64.
28460         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
28461         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
28462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
28463         multiarch optimizations.
28464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28465         (__libc_ifunc_impl_list): Likewise.
28466         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
28467         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
28468         multiarch stpncpy for PPC64.
28469         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
28470         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
28472 2014-05-06  Andreas Schwab  <schwab@suse.de>
28474         [BZ #16912]
28475         * gmon/mcount.c (_MCOUNT_DECL): Use
28476         atomic_compare_and_exchange_bool_acq instead of
28477         catomic_compare_and_exchange_bool_acq.
28479 2014-05-05  Roland McGrath  <roland@hack.frob.com>
28481         * elf/Makefile (others, install-bin): Remove pldd.
28482         (pldd-modules): Variable removed.
28483         ($(objpfx)pldd): Target removed.
28484         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
28485         (others, install-bin): Append pldd here.
28486         ($(objpfx)pldd): New target.
28488         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
28489         to 0, so the first #if test emitted later doesn't see it undefined.
28490         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
28491         * sysdeps/gnu/errlist.c: Regenerated.
28493 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28495         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28496         [libc_hidden_builtin_def]: Define to empty value.
28497         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
28498         [libc_hidden_builtin_def]: Likewise.
28499         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
28500         [libc_hidden_builtin_def]: Likewise.
28501         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
28502         [libc_hidden_builtin_def]: Likewise.
28503         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
28504         __redirect_memcpy and define ifunc as default hidden symbol.
28505         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
28506         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
28508 2014-05-04  Adam Conrad  <adconrad@0c3.net>
28510         * locale/iso-4217.def: Reintroduce XDR currency.
28512 2014-05-04  Allan McRae  <allan@archlinux.org>
28514         * po/eo.po: Update Esperanto translation from translation project.
28516 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
28518         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
28519         and FEATURE_INDEX_MAX to 1.
28520         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
28522 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28524         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
28525         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
28526         * iconvdata/big5.c (ONE_DIRECTION): Define.
28527         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
28528         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
28529         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
28530         * iconvdata/cp932.c (ONE_DIRECTION): Define.
28531         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
28532         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
28533         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
28534         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
28535         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
28536         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
28537         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
28538         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
28539         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
28540         * iconvdata/gbk.c (ONE_DIRECTION): Define.
28541         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
28542         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
28543         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
28544         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
28545         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
28546         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
28547         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
28548         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
28549         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
28550         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
28551         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
28552         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
28553         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
28554         * iconvdata/iso646.c (ONE_DIRECTION): Define.
28555         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
28556         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
28557         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
28558         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
28559         * iconvdata/johab.c (ONE_DIRECTION): Define.
28560         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
28561         * iconvdata/sjis.c (ONE_DIRECTION): Define.
28562         * iconvdata/t.61.c (ONE_DIRECTION): Define.
28563         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
28564         * iconvdata/tscii.c (ONE_DIRECTION): Define.
28565         * iconvdata/uhc.c (ONE_DIRECTION): Define.
28566         * iconvdata/unicode.c (ONE_DIRECTION): Define.
28567         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
28568         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
28569         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
28571 2014-05-01  Roland McGrath  <roland@hack.frob.com>
28573         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
28574         (_IO_JUMPS_OFFSET): Define to 0.
28576         * nptl/sysdeps/pthread/bits/libc-lock.h
28577         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28578         (__libc_lock_define_initialized_recursive): Always define using
28579         initializer.  Modern compilers treat uninitialized (implicit zero) and
28580         explicit zero initializers the same (i.e. put the datum in bss).
28582 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28584         * nscd/nscd-client.h: Include <string.h>.
28586 2014-05-01  David S. Miller  <davem@davemloft.net>
28588         [BZ #16885]
28589         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
28590         multiple zero bytes exist at the end of a string.
28591         Reported by Aurelien Jarno <aurelien@aurel32.net>
28593         * string/test-strcmp.c (check): Add explicit test for situations where
28594         there are multiple zero bytes after the first.
28596 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28598         [BZ #16890]
28599         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
28600         when compiling wprintf.
28601         * stdio-common/tstdiomisc.c (t3): New function.
28602         (main): Call it.
28604 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28606         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
28607         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
28608         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
28609         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
28611 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28613         * stdlib/longlong.h: Updated from GCC.
28615 2014-05-01  Will Newton  <will.newton@linaro.org>
28616             Bernard Ogden  <bernie.ogden@linaro.org>
28618         * NEWS: Update fixed bug list.
28620         [BZ #15119]
28621         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
28623 2014-04-30  David S. Miller  <davem@davemloft.net>
28625         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
28626         (libc_feholdexcept_setround_sparc_ctx): New function.
28627         (libc_fesetenv_sparc_ctx): Likewise.
28628         (libc_feupdateenv_sparc_ctx): Likewise.
28629         (libc_feholdsetround_sparc_ctx): Likewise.
28630         (libc_feholdexcept_setround_ctx): Define.
28631         (libc_feholdexcept_setroundf_ctx): Likewise.
28632         (libc_feholdexcept_setroundl_ctx): Likewise.
28633         (libc_fesetenv_ctx): Likewise.
28634         (libc_fesetenvf_ctx): Likewise.
28635         (libc_fesetenvl_ctx): Likewise.
28636         (libc_feupdateenv_ctx): Likewise.
28637         (libc_feupdateenvf_ctx): Likewise.
28638         (libc_feupdateenvl_ctx): Likewise.
28639         (libc_feresetround_ctx): Likewise.
28640         (libc_feresetroundf_ctx): Likewise.
28641         (libc_feresetroundl_ctx): Likewise.
28642         (libc_feholdsetround_ctx): Likewise.
28643         (libc_feholdsetroundf_ctx): Likewise.
28644         (libc_feholdsetroundl_ctx): Likewise.
28646         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28647         with __USE_GNU instead of XOPEN cpp guards.
28649         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
28650         0.
28652         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28653         with XOPEN cpp guards.
28655 2014-04-30  Julian Brown  <julian@codesourcery.com>
28657         [BZ #16888]
28658         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
28659         handling.
28661 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
28663         [BZ #9894]
28664         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
28665         Change to 2.6.32.
28666         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
28667         * sysdeps/unix/sysv/linux/configure: Regenerated.
28668         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
28669         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
28670         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
28671         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
28672         * README: Update reference to required Linux kernel version.
28673         * manual/install.texi (Linux): Update reference to required Linux
28674         kernel headers version.
28675         * INSTALL: Regenerated.
28677         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
28678         header inclusion.
28679         [POSIX] (limits.h): Likewise.
28680         [POSIX] (math.h): Likewise.
28681         [POSIX] (sys/wait.h): Likewise.
28682         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
28683         function.
28684         [POSIX] (stddef.h): Do not allow header inclusion.
28686 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28688         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
28690 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
28692         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28693         Return immediately after lll_futex_wake.
28695 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28697         [BZ #16791]
28698         * nscd/nscd-client.h (datahead_init_common): Initialize entire
28699         structure.
28700         (datahead_init_pos): Call datahead_init_common early.
28701         (datahead_init_neg): Likewise.
28703         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
28704         datahead_init_neg): New functions.
28705         * nscd/aicache.c (addhstaiX): Use them.
28706         * nscd/grpcache.c (cache_addgr): Likewise.
28707         * nscd/hstcache.c (cache_addhst): Likewise.
28708         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28709         * nscd/netgroupcache.c (do_notfound): Likewise.
28710         (addgetnetgrentX): Likewise.
28711         (addinnetgrX): Likewise.
28712         * nscd/pwdcache.c (cache_addpw): Likewise.
28713         * nscd/servicescache.c (cache_addserv): Likewise.
28715 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28716             Atsushi Onoe  <atsushi@onoe.org>
28718         [BZ #14308]
28719         [BZ #12994]
28720         [BZ #13651]
28721         * resolv/res_query.c (__libc_res_nsearch): Return if at least
28722         one response is valid.
28723         * resolv/res_send.c (send_dg): Check for validity of other
28724         response if the current response is a referral.
28726 2014-04-29  Steve Ellcey  <sellcey@mips.com>
28728         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
28730 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
28732         [BZ #16823]
28733         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
28734         Always divide by positive zero when computing -Inf result.
28735         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
28736         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28738 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28740         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
28741         FPSCR if value do not change.
28742         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28743         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
28744         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28745         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28746         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
28747         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
28748         function.
28750 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
28752         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
28753         * sysdeps/unix/sysv/linux/hppa: Move directory from
28754         ports/systeps/unix/sysv/linux/hppa.
28755         * README: Update listing for hppa-*-linux-gnu.
28757 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
28759         [BZ #16754]
28760         * manual/stdio.texi (Hook functions): Fix types of stream hook
28761         functions.
28762         [BZ #16854]
28763         * socket/sys/socket.h: Fix typo in comment.
28765 2014-04-28  Wilco  <wdijkstr@arm.com>
28767         * sysdeps/arm/fenv_private.h: New file.
28768         * sysdeps/arm/math_private.h: New file.
28769         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
28771 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
28773         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
28774         with __int128_t.
28775         (La_x86_64_retval): Likewise.
28777 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
28779         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
28780         fpsr if value didn't change.
28781         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
28782         to fpcr if value didn't change.
28783         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
28784         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
28785         fpsr or fpcr if value didn't change.
28786         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28787         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
28788         fpcr if value didn't change.
28789         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
28790         to fpsr if value didn't change.
28792 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28794         * nptl/tst-sem3.c: Use test-skeleton.c
28795         (main): Rename to do_test.  Use return instead of
28796         exit.
28797         * nptl/tst-sem4.c: Use test-skeleton.c
28798         (main): Rename to do_test.
28800 2014-04-22  David S. Miller  <davem@davemloft.net>
28802         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28803         (struct sigaction): New struct member __glibc_reserved0, change
28804         type of sa_flags to int.
28806 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
28808         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
28809         (COUNT_LEADING_ZEROS_0): Define for AArch64.
28811 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28813         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
28814         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
28816 2014-04-22  Will Newton  <will.newton@linaro.org>
28817             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
28819         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
28820         (__longjmp): Add longjmp and longjmp_target SystemTap
28821         probes.
28822         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
28823         (__sigsetjmp): Add setjmp SystemTap probe.
28825 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
28827         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
28828         match manual order.
28830 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28832         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
28834         * sysdeps/powerpc/fpu/fenv_private.h
28835         (libc_feholdexcept_setroundl_ctx): Define to
28836         libc_feholdexcept_setround_ppc_ctx.
28837         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
28838         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
28839         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
28840         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
28842 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28844         * sysdeps/aarch64/math-tests.h: New file.
28846 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
28848         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
28849         New.
28850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28851         Check and set bit_AVX2_Usable.
28852         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
28853         macro.
28854         (bit_AVX2): Likewise.
28855         (index_AVX2_Usable): Likewise.
28856         (CPUID_AVX2): Likewise.
28857         (HAS_AVX2): Likewise.
28859 2014-04-17  Will Newton  <will.newton@linaro.org>
28861         * manual/setjmp.texi (System V contexts): Add note that
28862         calling setcontext on a context created by a call to a
28863         signal handler is undefined.  Update text to note that
28864         setcontext from a signal handler is possible but not
28865         recommended.
28867         [BZ #16629]
28868         * stdlib/tst-setcontext.c: Include signal.h.
28869         (main): Check that the signal stack before and
28870         after swapcontext is the same.
28872         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
28873         Re-implement to restore registers in user code and avoid
28874         rt_sigreturn system call.
28876 2014-04-17  Wilco  <wdijkstr@arm.com>
28878         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
28879         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
28880         * math/test-fenv.c: Skip exception trap tests on targets which only
28881         support non-stop mode.
28883 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28884             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28886         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
28887         (libc_feholdsetround_aarch64_ctx)
28888         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
28889         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
28890         (libc_feresetround_ctx, libc_feresetroundf_ctx)
28891         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
28892         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
28893         (libc_feresetround_noexl_ctx): Define.
28895 2014-04-16  Richard Henderson  <rth@redhat.com>
28897         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
28899         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
28900         unwind tables.
28902         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
28903         const from the non-libc, non-ldso copy.
28905         * sysdeps/alpha/libm-test-ulps: Regenerate.
28907 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
28908             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28910         * sysdeps/aarch64/fpu/math_private.h: New file.
28912 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28914         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28916 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
28918         [BZ #16275]
28919         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
28920         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
28921         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
28922         Intel MPX bound registers before _dl_profile_fixup.
28923         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
28924         registers after _dl_profile_fixup.  Save and restore bound
28925         registers bnd0/bnd1 when calling _dl_call_pltexit.
28926         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
28927         (LR_BND_OFFSET): Likewise.
28928         (LRV_BND0_OFFSET): Likewise.
28929         (LRV_BND1_OFFSET): Likewise.
28931 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28933         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
28934         to...
28935         * sysdeps/mach/hurd/i386/tls.h: ... here.
28936         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
28937         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
28938         fields.
28940 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28942         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
28944 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28946         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28948 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28950         [BZ #14770]
28951         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
28952         * sysdeps/s390/configure: Regenerate.
28954         [BZ #16824]
28955         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
28956         Set round-to-nearest internally to reduce error accumulation.
28958 2014-04-16  Alan Modra  <amodra@gmail.com>
28960         [BZ #16740]
28961         [BZ #16619]
28962         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
28963         * math/libm-test.inc (frexp_test_data): Add tests.
28964         * NEWS: Update fixed bug list.
28966 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28968         * benchtests/Makefile: Depend on libraries in build directory.
28969         (bench-math): Separate out math tests.
28970         (bench-pthread): Separate out pthread tests.
28971         (bench): Include math and pthread tests.
28973 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
28975         [BZ #16831]
28976         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
28977         _dl_debug_initialize.
28979         * configure.ac: Remove SELinux header check.
28980         * configure: Regenerate.
28981         * nscd/selinux.c (perms): Array of const char* to permission names.
28982         (nscd_request_avc_has_perm): Call security_deny_unknown to find
28983         default policy. Call string_to_security_class and string_to_av_perm to
28984         translate strings. Enforce default policy and call avs_has_perm with
28985         results of translated strings.
28987 2014-04-13  David S. Miller  <davem@davemloft.net>
28989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28991 2014-04-12  Allan McRae  <allan@archlinux.org>
28993         [BZ #16838]
28994         * manual/string.texi (Collation Functions): Fix qsort argument
28995         order in example.
28996         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28998 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
29000         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
29001         Make the test a no-op if there are no exceptions defined.
29003 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29005         * elf/Makefile (tests): make tst-dlopen-aout conditional on
29006         enable-hardcoded-path-in-tests
29008 2014-04-11  Will Newton  <will.newton@linaro.org>
29010         * benchtests/Makefile (extra-objs): Add json-lib.o.
29011         (bench-func): Tidy up JSON output.
29012         * benchtests/bench-skeleton.c: Include json-lib.h.
29013         (main): Use JSON library functions to do output of
29014         benchmark results.
29015         * benchtests/bench-timing-type.c (main): Output the
29016         timing type simply, leaving formatting to the user.
29017         * benchtests/json-lib.c: New file.
29018         * benchtests/json-lib.h: Likewise.
29020 2014-04-11  Torvald Riegel  <triegel@redhat.com>
29022         [BZ #15215]
29023         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
29024         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
29025         memory barriers.  Add comments.
29026         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
29027         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
29028         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
29029         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
29030         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
29031         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
29033 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29035         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
29036         * sysdeps/s390/s390-64/configure.ac: ... this ...
29037         * sysdeps/s390/configure.ac: ... to here.
29038         * sysdeps/s390/s390-32/configure: Delete file.
29039         * sysdeps/s390/s390-64/configure: Delete file.
29040         * sysdeps/s390/configure: Regenerate.
29042 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
29044         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
29046 2014-04-11  Will Newton  <will.newton@linaro.org>
29048         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
29049         to zero if it is not defined elsewhere.  (mtrim): Test
29050         the value of MALLOC_DEBUG with #if rather than #ifdef.
29052 2014-04-10 Torvald Riegel  <triegel@redhat.com>
29054         * benchtests/pthread_once-inputs: New file.
29055         * benchtests/pthread_once-source.c: New file.
29056         * benchtests/README: Update documentation.
29058 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
29059             H.J. Lu  <hongjiu.lu@intel.com>
29061         [BZ #16275]
29062         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
29063         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
29064         * sysdeps/x86_64/configure: Regenerated.
29065         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
29066         macro.
29067         (REGISTER_SAVE_RAX): Likewise.
29068         (REGISTER_SAVE_RCX): Likewise.
29069         (REGISTER_SAVE_RDX): Likewise.
29070         (REGISTER_SAVE_RSI): Likewise.
29071         (REGISTER_SAVE_RDI): Likewise.
29072         (REGISTER_SAVE_R8): Likewise.
29073         (REGISTER_SAVE_R9): Likewise.
29074         (REGISTER_SAVE_BND0): Likewise.
29075         (REGISTER_SAVE_BND1): Likewise.
29076         (REGISTER_SAVE_BND2): Likewise.
29077         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
29078         bound registers when calling _dl_fixup.
29080 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29082         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
29083         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
29084         of its definition.
29085         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
29086         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
29087         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
29088         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
29089         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
29090         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
29091         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
29093 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
29095         [BZ #15514]
29096         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
29097         pathconf(_PC_NAME_MAX).
29099 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29101         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
29102         Remove macro usage.
29103         (__PTHREAD_SPINS): Move definition to ...
29104         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29105         (__PTHREAD_SPINS): ... here.
29106         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29107         (__PTHREAD_SPIN): Likewise.
29108         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
29109         (__PTHREAD_SPIN): Likewise.
29110         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
29111         (__PTHREAD_SPIN): Likewise.
29112         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
29113         (__PTHREAD_SPIN): Likewise.
29114         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29115         (__PTHREAD_SPIN): Likewise.
29116         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29117         (__PTHREAD_SPIN): Likewise.
29118         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
29119         (__PTHREAD_SPIN): Likewise.
29120         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29121         (__PTHREAD_SPIN): Likewise.
29122         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29123         (__PTHREAD_SPIN): Likewise.
29124         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29125         (__PTHREAD_SPIN): Likewise.
29126         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29127         (__PTHREAD_SPIN): Likewise.
29128         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
29129         (__PTHREAD_SPIN): Likewise.
29131         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
29132         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
29133         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
29134         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
29135         imply folder.
29136         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
29137         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
29138         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
29139         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
29140         correct imply path.
29141         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
29142         strlen symbol for non multi-arch builds.
29143         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
29144         missing hidden_def and weak_alias.
29146 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
29148         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
29150 2014-04-07  Will Newton  <will.newton@linaro.org>
29152         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
29153         and contents.  [!_LIBC] Remove #ifndef and contents.
29154         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
29155         * string/memccpy.c (__memccpy): Use ANSI prototype.
29156         * string/memfrob.c (memfrob): Likewise.
29157         * string/strcoll.c (STRCOLL): Likewise.
29158         * string/strlen.c (strlen): Likewise.
29159         * string/strtok.c (STRTOK): Likewise.
29160         * string/strcat.c: Remove unused #include of memcopy.h.
29161         (strcat): Use ANSI prototype.
29162         * string/strchr.c: Remove unused #include of memcopy.h.
29163         (strchr): Use ANSI prototype.
29164         * string/strcmp.c: Remove unused #include of memcopy.h.
29165         (strcmp): Use ANSI prototype.
29166         * string/strcpy.c: Remove unused #include of memcopy.h.
29167         (strcpy): Use ANSI prototype.
29169 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29171         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
29172         * config.make.in (config-extra-cppflags): Set it from
29173         libc_extra_cppflags.
29174         * configure.ac (libc_extra_cflags): Make it accumulate over
29175         configure fragments.
29176         (libc_extra_cppflags): New flag.
29177         * configure. Regenerate.
29178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29179         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
29180         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
29181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
29183         [BZ #16815]
29184         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
29185         result for FE_DOWNWARD rounding mode.
29186         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
29187         Likewise.
29188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29190 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
29192         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
29193         in function argument name.
29195 2014-04-03  David Svoboda  <svoboda@cert.org>
29197         [BZ #5666]
29198         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
29199         explicitly.
29201 2014-04-03  Roland McGrath  <roland@hack.frob.com>
29203         * elf/dl-unmap-segments.h: New file.
29204         * sysdeps/generic/ldsodefs.h
29205         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
29206         * elf/dl-close.c: Include <dl-unmap-segments.h>.
29207         * elf/dl-fptr.c: Likewise.
29208         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
29209         * sysdeps/aarch64/tlsdesc.c: Likewise.
29210         * sysdeps/arm/tlsdesc.c: Likewise.
29211         * sysdeps/i386/tlsdesc.c: Likewise.
29212         * sysdeps/tile/dl-runtime.c: Likewise.
29213         * sysdeps/x86_64/tlsdesc.c: Likewise.
29214         * elf/dl-load.h: New file.
29215         * elf/dl-load.c: Include it.
29216         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
29217         Macros moved to dl-load.h.
29218         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
29219         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
29220         Use _dl_unmap_segments in place of __munmap.
29221         Break out segment-mapping loop into ...
29222         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
29224 2014-04-03  Will Newton  <will.newton@linaro.org>
29226         * elf/dl-lookup.c (do_lookup_x): Remove comment
29227         referring to nested function and move variable
29228         declarations down to before first use.
29230 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
29232         [BZ #16799]
29233         [BZ #16800]
29234         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
29235         with 0 numerator.
29236         * math/s_catanf.c (__catanf): Likewise.
29237         * math/s_catanh.c (__catanh): Likewise.
29238         * math/s_catanhf.c (__catanhf): Likewise.
29239         * math/s_catanhl.c (__catanhl): Likewise.
29240         * math/s_catanl.c (__catanl): Likewise.
29241         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
29242         by positive zero when computing -Inf result.
29243         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
29244         (catanh_test): Likewise.
29245         * sysdeps/i386/fpu/libm-test-ulps: Update.
29246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29248         [BZ #16789]
29249         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
29250         instead of using underflowing value in computing result.
29251         * math/s_clog10.c (__clog10): Likewise.
29252         * math/s_clog10f.c (__clog10f): Likewise.
29253         * math/s_clog10l.c (__clog10l): Likewise.
29254         * math/s_clogf.c (__clogf): Likewise.
29255         * math/s_clogl.c (__clogl): Likewise.
29256         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
29257         (clog10_test): Likewise.
29258         * sysdeps/i386/fpu/libm-test-ulps: Update.
29259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29261 2014-04-02  Alan Modra  <amodra@gmail.com>
29263         [BZ #16739]
29264         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
29265         output when value is near a power of two.  Use int64_t for lx and
29266         remove casts.  Use decimal rather than hex exponent constants.
29267         Don't use long double multiplication when double will suffice.
29268         * math/libm-test.inc (nextafter_test_data): Add tests.
29269         * NEWS: Add 16739 and 16786 to bug list.
29271         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
29273         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
29275 2014-04-01  Will Newton  <will.newton@linaro.org>
29277         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
29278         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
29280 2014-04-01  Florian Weimer  <fweimer@redhat.com>
29282         [BZ #13347]
29283         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
29284         * nptl/tst-setuid2.c: New file.
29285         * nptl/Makefile (xtests): Add tst-setuid2.
29287 2014-04-01  Alan Modra  <amodra@gmail.com>
29289         [BZ #16786]
29290         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
29292 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29294         [BZ #6803]
29295         [BZ #6804]
29296         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
29297         set errno as appropriate.
29298         * math/w_scalbf.c (__scalbf): Likewise.
29299         * math/w_scalbl.c (__scalbl): Likewise.
29300         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
29301         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
29302         * math/libm-test.inc (scalb_test_data): Add errno expectations.
29303         Add more NaN tests.
29305         [BZ #16349]
29306         * math/w_atan2.c: Include <errno.h>.
29307         (__atan2): Set errno for result underflowing to zero.
29308         * math/w_atan2f.c: Include <errno.h>.
29309         (__atan2f): Set errno for result underflowing to zero.
29310         * math/w_atan2l.c: Include <errno.h>.
29311         (__atan2l): Set errno for result underflowing to zero.
29312         * math/auto-libm-test-in: Don't allow missing errno for some atan2
29313         tests.
29314         * math/auto-libm-test-out: Regenerated.
29316 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29318         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29319         Encode instruction correctly in little endian.
29320         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29321         Likewise.
29322         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29323         Likewise.
29324         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29325         Likewise.
29326         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29327         Likewise.
29329 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29331         [BZ #9894]
29332         * sysdeps/unix/sysv/linux/kernel-features.h
29333         [__sparc__ && !__arch64__ && !__sparc_v9__]
29334         (__ASSUME_SET_ROBUST_LIST): Do not define.
29335         [__sparc__ && !__arch64__ && !__sparc_v9__]
29336         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29337         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
29338         Likewise.
29339         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29340         (__ASSUME_FUTEX_LOCK_PI): Undefine.
29341         (__ASSUME_REQUEUE_PI): Likewise.
29342         (__ASSUME_SET_ROBUST_LIST): Likewise.
29343         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29344         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
29345         Undefine.
29346         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29347         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
29348         Likewise.
29349         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
29350         Likewise.
29351         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
29352         Likewise.
29353         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29354         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
29355         Undefine.
29356         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
29357         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
29358         Likewise.
29360         [BZ #16648]
29361         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29362         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
29363         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
29365 2014-03-31  Will Newton  <will.newton@linaro.org>
29367         * benchtests/Makefile (bench): Add ffs and ffsll to list
29368         of tests.
29369         * benchtests/ffs-inputs: New file.
29370         * benchtests/ffsll-inputs: Likewise.
29372 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
29374         [BZ #16770]
29375         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
29376         too large before casting to int.
29377         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
29378         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
29379         * math/libm-test.inc (scalb_test_data): Add more tests.
29381 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29383         * benchtests/Makefile (DETAILED_OPT): New make option.
29384         (bench-func): Run benchmark program with -d if DETAILED_OPT is
29385         set.
29386         * benchtests/bench-skeleton.c: Include stdbool.h.
29387         (main): Store and print timings per input.
29388         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
29389         member to each argument value.
29390         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
29391         (_print_arg_data): Initialize per-input timing to 0.
29393         * benchtests/Makefile (timing-type): New binary.
29394         (bench-clean): Also remove bench-timing-type.
29395         (bench): New target for timing-type.
29396         (bench-func): Print output in JSON format.
29397         * benchtests/bench-skeleton.c (main): Print output in JSON
29398         format.
29399         * benchtests/bench-timing-type.c: New file.
29400         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
29401         (TIMING_PRINT_STATS): Remove.
29402         * benchtests/scripts/bench.py (_print_arg_data): Store variant
29403         name separately.
29405         * benchtests/bench-modf.c: Remove.
29406         * benchtests/modf-inputs: New inputs file.
29408 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
29410         [BZ #16362]
29411         * math/s_clog10.c (M_PI_LOG10E): New macro.
29412         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
29413         imaginary parts are 0.
29414         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
29415         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
29416         imaginary parts are 0.
29417         * math/s_clog10l.c (M_PI_LOG10El): New macro.
29418         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
29419         imaginary parts are 0.
29420         * math/libm-test.inc (clog10_test_data): Update expected results
29421         for when real and imaginary parts are 0.
29423 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
29425         * elf/dl-load.c: Finish conversion of __builtin_expect into
29426         __glibc_{un}likely.
29428 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
29430         [BZ #16348]
29431         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
29432         1+x for argument with exponent below -67.
29433         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
29434         Likewise.
29435         * math/auto-libm-test-in: Add more tests of exp.
29436         * math/auto-libm-test-out: Regenerated.
29438 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29440         [BZ #16759]
29441         * inet/getnetgrent_r.c (get_nonempty_val): New function.
29442         (nscd_getnetgrent): Use it.
29444         [BZ #16760]
29445         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
29446         of stpcpy.
29448 2014-03-27  Andi Kleen  <ak@linux.intel.com>
29450         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
29451         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29452         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29453         (lll_robust_unlock): Remove out of line section. Use cfi
29454         intrinsics.
29455         (LLL_STUB_UNWIND_INFO*): Remove.
29456         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
29457         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29458         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29459         (lll_robust_unlock): Remove out of line section. Use cfi
29460         intrinsics.
29461         (LLL_STUB_UNWIND_INFO*): Remove.
29463 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29465         [BZ #16758]
29466         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
29467         blank values.
29469 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
29471         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
29473 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
29475         [BZ #16198]
29476         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
29477         fnstenv.
29478         * math/test-fenv-preserve.c: New file.
29479         * math/Makefile (tests): Add test-fenv-preserve.
29481 2014-03-26  Will Newton <will.newton@linaro.org>
29483         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
29485 2014-03-25  Roland McGrath  <roland@hack.frob.com>
29487         * scripts/versionlist.awk: Partition the version sets and emit all
29488         GLIBC_* (sorted) before all others (sorted).
29490 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29492         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
29493         GLIBC_2.2.5 version.
29495 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29497         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
29498         calls.
29500         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
29501         previous change.
29503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29505 2014-03-25  Andreas Schwab  <schwab@suse.de>
29507         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
29508         label to be used after in6ailist is initialized.
29510 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29512         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29513         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29515 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29517         [BZ #16357]
29518         [BZ #16599]
29519         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
29520         min_plus_half.
29521         (fp_formats): Update initializers.
29522         (init_fp_formats): Initialize new field.
29523         (output_for_one_input_case): Allow underflow for results up to
29524         min_plus_half.
29525         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
29526         * math/auto-libm-test-in: Don't mark some underflows from asin and
29527         atanh as spurious.
29528         * math/auto-libm-test-out: Regenerated.
29529         * sysdeps/i386/fpu/libm-test-ulps: Update.
29530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29532 2014-03-25  Andreas Schwab  <schwab@suse.de>
29534         * libio/Makefile (tst-ftell-partial-wide-ENV)
29535         (tst-ftell-active-handler-ENV): Define.
29537 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
29539         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
29541 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29543         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
29545 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29547         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
29548         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29549         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29551 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29553         [BZ #16634]
29554         * elf/dl-load.c (open_verify): Add mode parameter.
29555         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
29556         (open_path): Change from boolean 'secure' to complete flag 'mode'
29557         (_dl_map_object): Adjust.
29558         * elf/Makefile (tests): Add tst-dlopen-aout.
29559         * elf/tst-dlopen-aout.c: New test.
29561 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
29563         [BZ #16714]
29564         * sysdeps/unix/sysv/linux/s390/bits/stat.h
29565         (struct stat): Rename member pad0 to __glibc_reserved0.
29567         [BZ #16712]
29568         * sysdeps/s390/s390-32/bits/wordsize.h
29569         (__WORDSIZE32_SIZE_ULONG): New define.
29570         * sysdeps/s390/s390-64/bits/wordsize.h
29571         (__WORDSIZE32_SIZE_ULONG): Likewise.
29572         * sysdeps/generic/stdint.h (SIZE_MAX):
29573         Define as UL if __WORDSIZE32_SIZE_ULONG.
29575         [BZ #16713]
29576         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29577         (__glibc_reserved0): New variable.
29578         (sa_flags): Change type to int.
29580         * posix/Makefile (before-compile): Use += before-compile instead
29581         of a :=.
29583         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29584         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29586 2014-03-20  Andreas Schwab  <schwab@suse.de>
29588         [BZ #16743]
29589         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
29590         non-matching result from nscd.
29592 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29594         * scripts/bench.py: Moved to ...
29595         * benchtests/scripts/bench.py: ... here.
29596         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
29598 2014-03-24  Andreas Schwab  <schwab@suse.de>
29600         [BZ #16002]
29601         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
29602         alloca_account and account alloca use for struct in6ailist.
29604 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29606         [BZ #16284]
29607         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
29608         rounding mode to recompute results that overflow to infinity or
29609         underflow to zero.
29610         * math/auto-libm-test-in: Don't mark tests as expected to fail for
29611         bug 16284.
29612         * math/auto-libm-test-out: Regenerated.
29613         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
29614         (ccosh_test): Likewise.
29615         (csin_test_data): Use plus_oflow.
29616         (csin_test): Use ALL_RM_TEST.
29617         (csinh_test_data): Use plus_oflow.
29618         (csinh_test): Use ALL_RM_TEST.
29619         * sysdeps/i386/fpu/libm-test-ulps: Update.
29620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29622 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
29624         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
29625         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
29626         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
29628         [BZ #16731]
29629         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
29630         when x - 1 is zero.
29631         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
29632         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
29633         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29634         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
29635         argument is 1.
29636         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
29637         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
29638         zero.
29639         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
29640         * sysdeps/i386/fpu/libm-test-ulps: Update.
29641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29643 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29645         * scripts/bench.pl: Remove file.
29646         * scripts/bench.py: New benchmark script.
29647         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
29648         * benchtests/README: Mention python dependency.
29649         * scripts/pylintrc: New file.
29650         * scripts/pylint: New file.
29652         * bits/mathdef.h: Use #ifdef instead of #if.
29653         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
29654         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29655         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
29656         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29657         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
29658         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29660 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29661             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29663         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
29664         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
29665         and strpbrk-ppc64 objects.
29666         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29667         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
29668         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
29669         multiarch strpbrk for POWER7.
29670         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
29671         multiarch strpbrk for PPC64.
29672         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
29673         ifunc selector.
29674         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
29675         strpbrk for POWER7.
29677 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29679         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
29680         (atan_test): Likewise.
29681         (atanh_test_data): Use NO_TEST_INLINE for two tests.
29682         (atanh_test): Use ALL_RM_TEST.
29683         (atan2_test_data): Likewise.
29684         (cabs_test): Likewise.
29685         (cacosh_test): Likewise.
29686         (carg_test): Likewise.
29687         (casin_test): Likewise.
29688         (casinh_test): Likewise.
29689         (cbrt_test): Likewise.
29690         (csqrt_test): Likewise.
29691         (erf_test): Likewise.
29692         (erfc_test): Likewise.
29693         (pow10_test): Likewise.
29694         (exp2_test): Likewise.
29695         (hypot_test): Likewise.
29696         (j0_test): Likewise.
29697         (j1_test): Likewise.
29698         (lgamma_test): Likewise.
29699         (gamma_test): Likewise.
29700         (sincos_test): Likewise.
29701         (tanh_test): Likewise.
29702         (y0_test): Likewise.
29703         (y1_test): Likewise.
29704         * sysdeps/i386/fpu/libm-test-ulps: Update.
29705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29707 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29709         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
29710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
29711         and strcspn-ppc64 objects.
29712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29713         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
29714         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
29715         multiarch strcspn for POWER7.
29716         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
29717         multiarch strcspn for PPC64.
29718         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
29719         ifunc selector.
29720         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
29721         strcspn for POWER7.
29723 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29725         * math/gen-libm-test.pl (generate_testfile): Expect only function
29726         name as argument to AUTO_TESTS_* and pass results for all rounding
29727         modes to parse_args.
29728         (parse_auto_input): Separate inputs of automatic tests from
29729         outputs before storing in %auto_tests.
29730         * math/libm-test.inc (acos_test_data): Update call to
29731         AUTO_TESTS_f_f.
29732         (acos_test): Use ALL_RM_TEST.
29733         (acos_tonearest_test_data): Remove.
29734         (acos_test_tonearest): Likewise.
29735         (acos_towardzero_test_data): Likewise.
29736         (acos_test_towardzero): Likewise.
29737         (acos_downward_test_data): Likewise.
29738         (acos_test_downward): Likewise.
29739         (acos_upward_test_data): Likewise.
29740         (acos_test_upward): Likewise.
29741         (acosh_test_data): Update call to AUTO_TESTS_f_f.
29742         (asin_test_data): Likewise.
29743         (asin_test): Use ALL_RM_TEST.
29744         (asin_tonearest_test_data): Remove.
29745         (asin_test_tonearest): Likewise.
29746         (asin_towardzero_test_data): Likewise.
29747         (asin_test_towardzero): Likewise.
29748         (asin_downward_test_data): Likewise.
29749         (asin_test_downward): Likewise.
29750         (asin_upward_test_data): Likewise.
29751         (asin_test_upward): Likewise.
29752         (asinh_test_data): Update call to AUTO_TESTS_f_f.
29753         (atan_test_data): Likewise.
29754         (atanh_test_data): Likewise.
29755         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
29756         (cabs_test_data): Update call to AUTO_TESTS_c_f.
29757         (carg_test_data): Likewise.
29758         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
29759         (ccos_test_data): Update call to AUTO_TESTS_c_c.
29760         (ccosh_test_data): Likewise.
29761         (cexp_test_data): Likewise.
29762         (clog_test_data): Likewise.
29763         (clog10_test_data): Likewise.
29764         (cos_test_data): Update call to AUTO_TESTS_f_f.
29765         (cos_test): Use ALL_RM_TEST.
29766         (cos_tonearest_test_data): Remove.
29767         (cos_test_tonearest): Likewise.
29768         (cos_towardzero_test_data): Likewise.
29769         (cos_test_towardzero): Likewise.
29770         (cos_downward_test_data): Likewise.
29771         (cos_test_downward): Likewise.
29772         (cos_upward_test_data): Likewise.
29773         (cos_test_upward): Likewise.
29774         (cosh_test_data): Update call to AUTO_TESTS_f_f.
29775         (cosh_test): Use ALL_RM_TEST.
29776         (cosh_tonearest_test_data): Remove.
29777         (cosh_test_tonearest): Likewise.
29778         (cosh_towardzero_test_data): Likewise.
29779         (cosh_test_towardzero): Likewise.
29780         (cosh_downward_test_data): Likewise.
29781         (cosh_test_downward): Likewise.
29782         (cosh_upward_test_data): Likewise.
29783         (cosh_test_upward): Likewise.
29784         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
29785         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
29786         (ctan_test_data): Likewise.
29787         (ctan_test): Use ALL_RM_TEST.
29788         (ctan_tonearest_test_data): Remove.
29789         (ctan_test_tonearest): Likewise.
29790         (ctan_towardzero_test_data): Likewise.
29791         (ctan_test_towardzero): Likewise.
29792         (ctan_downward_test_data): Likewise.
29793         (ctan_test_downward): Likewise.
29794         (ctan_upward_test_data): Likewise.
29795         (ctan_test_upward): Likewise.
29796         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
29797         (ctanh_test): Use ALL_RM_TEST.
29798         (ctanh_tonearest_test_data): Remove.
29799         (ctanh_test_tonearest): Likewise.
29800         (ctanh_towardzero_test_data): Likewise.
29801         (ctanh_test_towardzero): Likewise.
29802         (ctanh_downward_test_data): Likewise.
29803         (ctanh_test_downward): Likewise.
29804         (ctanh_upward_test_data): Likewise.
29805         (ctanh_test_upward): Likewise.
29806         (erf_test_data): Update call to AUTO_TESTS_f_f.
29807         (erfc_test_data): Likewise.
29808         (exp_test_data): Likewise.
29809         (exp_test): Use ALL_RM_TEST.
29810         (exp_tonearest_test_data): Remove.
29811         (exp_test_tonearest): Likewise.
29812         (exp_towardzero_test_data): Likewise.
29813         (exp_test_towardzero): Likewise.
29814         (exp_downward_test_data): Likewise.
29815         (exp_test_downward): Likewise.
29816         (exp_upward_test_data): Likewise.
29817         (exp_test_upward): Likewise.
29818         (exp10_test_data): Update call to AUTO_TESTS_f_f.
29819         (exp10_test): Use ALL_RM_TEST.
29820         (exp10_tonearest_test_data): Remove.
29821         (exp10_test_tonearest): Likewise.
29822         (exp10_towardzero_test_data): Likewise.
29823         (exp10_test_towardzero): Likewise.
29824         (exp10_downward_test_data): Likewise.
29825         (exp10_test_downward): Likewise.
29826         (exp10_upward_test_data): Likewise.
29827         (exp10_test_upward): Likewise.
29828         (exp2_test_data): Update call to AUTO_TESTS_f_f.
29829         (expm1_test_data): Likewise.
29830         (expm1_test): Use ALL_RM_TEST.
29831         (expm1_tonearest_test_data): Remove.
29832         (expm1_test_tonearest): Likewise.
29833         (expm1_towardzero_test_data): Likewise.
29834         (expm1_test_towardzero): Likewise.
29835         (expm1_downward_test_data): Likewise.
29836         (expm1_test_downward): Likewise.
29837         (expm1_upward_test_data): Likewise.
29838         (expm1_test_upward): Likewise.
29839         (fma_test_data): Update call to AUTO_TESTS_fff_f.
29840         (fma_test): Use ALL_RM_TEST.
29841         (fma_towardzero_test_data): Remove.
29842         (fma_test_towardzero): Likewise.
29843         (fma_downward_test_data): Likewise.
29844         (fma_test_downward): Likewise.
29845         (fma_upward_test_data): Likewise.
29846         (fma_test_upward): Likewise.
29847         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
29848         (j0_test_data): Update call to AUTO_TESTS_f_f.
29849         (j1_test_data): Likewise.
29850         (jn_test_data): Update call to AUTO_TESTS_if_f.
29851         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
29852         (log_test_data): Update call to AUTO_TESTS_f_f.
29853         (log10_test_data): Likewise.
29854         (log1p_test_data): Likewise.
29855         (log2_test_data): Likewise.
29856         (pow_test_data): Update call to AUTO_TESTS_ff_f.
29857         (pow_tonearest_test_data): Likewise.
29858         (sin_test_data): Update call to AUTO_TESTS_f_f.
29859         (sin_test): Use ALL_RM_TEST.
29860         (sin_tonearest_test_data): Remove.
29861         (sin_test_tonearest): Likewise.
29862         (sin_towardzero_test_data): Likewise.
29863         (sin_test_towardzero): Likewise.
29864         (sin_downward_test_data): Likewise.
29865         (sin_test_downward): Likewise.
29866         (sin_upward_test_data): Likewise.
29867         (sin_test_upward): Likewise.
29868         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
29869         (sinh_test_data): Update call to AUTO_TESTS_f_f.
29870         (sinh_test): Use ALL_RM_TEST.
29871         (sinh_tonearest_test_data): Remove.
29872         (sinh_test_tonearest): Likewise.
29873         (sinh_towardzero_test_data): Likewise.
29874         (sinh_test_towardzero): Likewise.
29875         (sinh_downward_test_data): Likewise.
29876         (sinh_test_downward): Likewise.
29877         (sinh_upward_test_data): Likewise.
29878         (sinh_test_upward): Likewise.
29879         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
29880         (sqrt_test): Use ALL_RM_TEST.
29881         (sqrt_tonearest_test_data): Remove.
29882         (sqrt_test_tonearest): Likewise.
29883         (sqrt_towardzero_test_data): Likewise.
29884         (sqrt_test_towardzero): Likewise.
29885         (sqrt_downward_test_data): Likewise.
29886         (sqrt_test_downward): Likewise.
29887         (sqrt_upward_test_data): Likewise.
29888         (sqrt_test_upward): Likewise.
29889         (tan_test_data): Update call to AUTO_TESTS_f_f.
29890         (tan_test): Use ALL_RM_TEST.
29891         (tan_tonearest_test_data): Remove.
29892         (tan_test_tonearest): Likewise.
29893         (tan_towardzero_test_data): Likewise.
29894         (tan_test_towardzero): Likewise.
29895         (tan_downward_test_data): Likewise.
29896         (tan_test_downward): Likewise.
29897         (tan_upward_test_data): Likewise.
29898         (tan_test_upward): Likewise.
29899         (tanh_test_data): Update call to AUTO_TESTS_f_f.
29900         (tgamma_test_data): Likewise.
29901         (y0_test_data): Likewise.
29902         (y1_test_data): Likewise.
29903         (yn_test_data): Update call to AUTO_TESTS_if_f.
29904         (main): Do not call removed functions.
29906 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29908         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
29909         (ldexp_test_data): Remove.
29910         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
29911         scalbn_test_data.
29912         (scalb_test): Use ALL_RM_TEST.
29914 2014-03-19  Andreas Schwab  <schwab@suse.de>
29916         * nscd/nscd.service: Also invalidate netgroup cache on reload.
29918 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29920         [BZ #16649]
29921         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29922         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
29923         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
29924         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29925         (__ASSUME_PREADV): Undefine.
29926         (__ASSUME_PWRITEV): Likewise.
29928 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29930         * bits/mman-linux.h: Add comment about non-Linux use.
29931         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
29932         bits/mman-linux.h resting place.
29934         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
29935         * bits/mman-linux.h: ... here.
29937 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29939         * conform/conformtest.pl: Add standard definition when calling C
29940         preprocessor on data files.
29941         (checknamespace): Remove unused variable.
29943 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29945         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
29946         minus_oflow, plus_uflow and minus_uflow in expected results.
29947         * math/libm-test.inc (scalbn_test_data): Add more tests of
29948         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
29949         minus_uflow.
29950         (scalbn_test): Use ALL_RM_TEST.
29951         (scalbln_test_data): Add more tests of negative arguments.  Use
29952         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
29953         (scalbln_test): Use ALL_RM_TEST.
29955 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29957         * scripts/abilist.awk: Ignore symbols marked with .hidden.
29959 2014-03-18  Will Newton  <will.newton@linaro.org>
29961         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
29962         inaccurate comment.
29964 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29966         * Makerules [!subdir] (check-abi): Exit with error status if a
29967         test failed.
29969 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29971         * math/libm-test.inc (nearbyint_test_data): Include all tests used
29972         for rint.  Include results for all rounding modes.
29973         (nearbyint_test): Use ALL_RM_TEST.
29974         (rint_test_data): Include all tests used for nearbyint.
29976 2014-03-17  Will Newton  <will.newton@linaro.org>
29978         * nptl/sysdeps/pthread/pthread.h: Revert previous
29979         change.
29981         * sysdeps/generic/ldsodefs.h: Revert previous
29982         change.
29984         * libio/genops.c: Revert previous change.
29985         * libio/libioP.h: Likewise.
29986         * stdio-common/vfprintf.c: Likewise.
29988         * sysdeps/generic/math_private.h: Revert previous
29989         change.
29991         * sysdeps/generic/math_private.h: Check whether
29992         HAVE_RM_CTX is defined with #ifdef rather
29993         than #if.
29995         * argp/argp-fmtstream.h: Check whether
29996         __STRICT_ANSI__ is defined with #ifdef rather
29997         than #if.
29998         * argp/argp.h: Likewise.
30000         * libio/genops.c: Check whether
30001         _IO_JUMPS_OFFSET is defined with #ifdef rather
30002         than #if.
30003         * libio/libioP.h: Likewise.
30004         * stdio-common/vfprintf.c: Likewise.
30006         * sysdeps/generic/ldsodefs.h: Check whether
30007         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
30008         than #if.
30010         * nptl/sysdeps/pthread/pthread.h: Check
30011         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
30012         its value.
30014 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30016         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
30017         setting O_APPEND.
30018         * libio/tst-ftell-active-handler.c (do_append_test): Add a
30019         test case.
30021         [BZ #16680]
30022         * libio/fileops.c (_IO_file_open): Seek to end of file but
30023         don't cache the offset.
30024         (get_file_offset): Remove function.
30025         (do_ftell): Use cached offset when available.
30026         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
30027         don't cache the offset.
30028         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
30029         case.
30030         (do_one_test): Call it.
30031         (do_ftell_test): Fix up expected old offset for a+ mode.
30032         * libio/wfileops.c (do_ftell_wide): Used cached offset when
30033         available.
30035         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
30036         up test status with function return status.
30037         (do_write_test): Likewise.
30038         (do_append_test): Likewise.
30040         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
30041         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
30042         Remove.
30044 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
30046         * math/gen-libm-test.pl (parse_args): Handle results specified for
30047         each rounding mode separately.
30048         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
30049         tests and results from lrint_tonearest_test_data,
30050         lrint_towardzero_test_data, lrint_downward_test_data and
30051         lrint_upward_test_data.
30052         (lrint_test): Use ALL_RM_TEST.
30053         (lrint_tonearest_test_data): Remove.
30054         (lrint_test_tonearest): Likewise.
30055         (lrint_towardzero_test_data): Likewise.
30056         (lrint_test_towardzero): Likewise.
30057         (lrint_downward_test_data): Likewise.
30058         (lrint_test_downward): Likewise.
30059         (lrint_upward_test_data): Likewise.
30060         (lrint_test_upward): Likewise.
30061         (llrint_test_data): Merge in per-rounding-mode tests and results
30062         from llrint_tonearest_test_data, llrint_towardzero_test_data,
30063         llrint_downward_test_data and llrint_upward_test_data.
30064         (llrint_test): Use ALL_RM_TEST.
30065         (llrint_tonearest_test_data): Remove.
30066         (llrint_test_tonearest): Likewise.
30067         (llrint_towardzero_test_data): Likewise.
30068         (llrint_test_towardzero): Likewise.
30069         (llrint_downward_test_data): Likewise.
30070         (llrint_test_downward): Likewise.
30071         (llrint_upward_test_data): Likewise.
30072         (llrint_test_upward): Likewise.
30073         (rint_test_data): Merge in per-rounding-mode tests and results
30074         from rint_tonearest_test_data, rint_towardzero_test_data,
30075         rint_downward_test_data and rint_upward_test_data.  Add
30076         per-rounding-mode results for tests not in those arrays.
30077         (rint_test): Use ALL_RM_TEST.
30078         (rint_tonearest_test_data): Remove.
30079         (rint_test_tonearest): Likewise.
30080         (rint_towardzero_test_data): Likewise.
30081         (rint_test_towardzero): Likewise.
30082         (rint_downward_test_data): Likewise.
30083         (rint_test_downward): Likewise.
30084         (rint_upward_test_data): Likewise.
30085         (rint_test_upward): Likewise.
30086         (main): Don't call removed functions.
30088 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30090         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
30091         "Compiled on ..." crapola.  It is anti-useful.
30093 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
30095         * scripts/evaluate-test.sh: Handle fourth argument to determine
30096         whether test run should stop on failure.
30097         * Makeconfig (stop-on-test-failure): New variable.
30098         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
30099         $(stop-on-test-failure).
30100         * Makefile (tests): Give a summary of results from testing and
30101         exit with failure status if they include an ERROR or FAIL.
30102         (xtests): Likewise.
30103         * manual/install.texi (Configuring and compiling): Mention
30104         stop-on-test-failure=y.
30105         * INSTALL: Regenerated.
30107 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30109         * scripts/versionlist.awk: New file.
30110         * Makerules [$(build-shared) = yes]
30111         (postclean-generated): Add Versions.def, not Versions.def.v and
30112         Versions.def.v.i.
30113         ($(common-objpfx)Versions.def.v.i): Target removed.
30114         ($(common-objpfx)Versions.def): New target.
30115         ($(common-objpfx)Versions.all): Depend on that rather that
30116         $(common-objpfx)Versions.def.v.
30117         * Versions.def: File removed.
30119         * Makeconfig (+gccwarn): Add -Wundef.
30120         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
30121         a dl-sysdep.h breaking its contract.
30122         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
30123         * include/stackinfo.h: New file.
30124         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
30125         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
30126         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
30127         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
30128         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
30129         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
30130         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30131         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30132         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30133         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30134         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30135         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
30136         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30137         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30138         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30140 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30142         [BZ #16707]
30143         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
30144         implementation.
30145         * math/libm-test.inc (round_test_data): Add more tests.
30147         [BZ #16706]
30148         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
30149         implementation.
30150         * math/libm-test.inc (nearbyint_test_data): Add more tests.
30152         [BZ #16701]
30153         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
30154         implementation.
30155         * math/libm-test.inc (ceil_test_data): Add more tests.
30157         * math/libm-test.inc (trunc_test_data): Add more tests related to
30158         BZ#16414.
30160 2014-03-14  Roland McGrath  <roland@hack.frob.com>
30162         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
30163         with #if rather than #ifdef.
30164         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
30166 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
30168         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
30169         first.  Disable AVX-512 GCC support if assembler doesn't support
30170         it.
30171         * sysdeps/x86_64/configure: Regenerated.
30173 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
30175         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
30176         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
30177         (__old_pthread_attr_setstack): Likewise.
30178         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
30179         [!_STACK_GROWS_DOWN]: Likewise.
30181 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
30183         * config.make.in (have-bash2): Delete.
30184         * configure.ac (libc_cv_have_bash2): Delete.
30185         * configure: Regenerate.
30186         * elf/Makefile (common-ldd-rewrite): Rename to ...
30187         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
30188         (sh-ldd-rewrite): Delete.
30189         (bash-ldd-rewrite): Delete.
30190         (have-bash2): Delete checks.
30191         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
30192         ldd-rewrite.
30194         * config.make.in (have-ksh): Delete.
30195         (KSH): Delete.
30196         * configure.ac (libc_cv_have_ksh): Delete.
30197         * configure: Regenerate.
30199         * elf/Makefile: Delete $(have-ksh) check.
30200         ($(objpfx)sotruss): Change KSH to BASH.
30201         * elf/sotruss.ksh: Rename to ...
30202         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
30203         function style to match POSIX.  Drop ksh vim mode setting.
30205         * manual/time.texi (Specifying the Time Zone with TZ): Change
30206         Tuesday to Thursday.
30208         * debug/tst-longjmp_chk2.c: Update header comment.
30209         (stackoverflow_handler): Add comment.  Call assert on pass value.
30211 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
30213         [BZ #16194]
30214         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
30215         (HAVE_AVX512_ASM_SUPPORT): Likewise.
30216         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
30217         (La_x86_64_vector): Add zmm.
30218         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
30219         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
30220         ($(objpfx)tst-audit10): New target.
30221         ($(objpfx)tst-audit10.out): Likewise.
30222         (tst-audit10-ENV): New.
30223         (AVX512-CFLAGS): Likewise.
30224         (CFLAGS-tst-audit10.c): Likewise.
30225         (CFLAGS-tst-auditmod10a.c): Likewise.
30226         (CFLAGS-tst-auditmod10b.c): Likewise.
30227         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
30228         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
30229         * sysdeps/x86_64/configure: Regenerated.
30230         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
30231         AVX-512 zmm register support.
30232         (_dl_x86_64_save_sse): Likewise.
30233         (_dl_x86_64_restore_sse): Likewise.
30234         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
30235         size vector registers.
30236         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
30237         (ZMM_SIZE): Likewise.
30238         * sysdeps/x86_64/tst-audit10.c: New file.
30239         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
30240         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
30242 2014-03-13  Roland McGrath  <roland@hack.frob.com>
30244         * configure.ac (HAVE_EHDR_START): New check.
30245         * configure: Regenerated.
30246         * config.h.in (HAVE_EHDR_START): New #undef.
30247         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
30248         assuming the lowest-addressed segment maps the start of the file.
30250 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
30252         * INSTALL: Regenerated.
30254 2014-03-13  Will Newton  <will.newton@linaro.org>
30256         * manual/setjmp.texi (System V contexts): Improve
30257         clarity and grammar of documentation.
30259 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30261         [BZ #16381]
30262         * elf/Makefile (tests): Add tst-pie2.
30263         (tests-pie): Add tst-pie2.
30264         * elf/tst-pie2.c: New file.
30265         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
30266         for ET_EXEC.
30267         * elf/rtld.c (map_doit): Load executable as lt_executable.
30268         (dl_main): Likewise.
30270 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
30272         [BZ #16642]
30273         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30274         (__ASSUME_PSELECT): Undefine.
30276 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30278         [BZ #16689]
30279         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
30280         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
30281         static build.
30282         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
30283         selector for static builds.
30285 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30287         [BZ #16695]
30288         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
30289         key in the buffer.
30291 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30293         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
30294         IFUNC selector for static builds.
30296 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
30298         * sysdeps/mips/math_private.h [__mips_hard_float]
30299         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
30300         libc_feresetround_mips_ctx.
30301         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
30302         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
30303         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
30305         [BZ #16677]
30306         * math/s_nextafter.c (__nextafter): Do not return value from
30307         overflowing computation.
30308         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
30309         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
30310         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
30311         Likewise.
30312         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
30313         Likewise.
30314         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
30315         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
30317 2014-03-11  Roland McGrath  <roland@hack.frob.com>
30319         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
30320         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
30321         Move sfi_sp use from the load-multiple (that no longer sets sp) to
30322         the new mov targetting sp.
30324 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30326         [BZ #16683]
30327         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
30328         Define it for static builds as well.
30329         (NO_BZERO_IMPL): Likewise.
30331 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30333         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
30334         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
30335         multiarch strspn for PPC64.
30336         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
30337         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
30338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30339         (__libc_ifunc_impl_list): Likewise.
30340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
30341         multiarch optimizations
30342         * string/strspn.c (strspn): Using macro to redefine symbol name.
30344 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30345             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30347         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
30348         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
30349         multiarch strncat for PPC64.
30350         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
30351         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
30352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30353         (__libc_ifunc_impl_list): Likewise.
30354         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
30355         multiarch optimizations
30357 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30359         [BZ #16639]
30360         * nscd/nscd.service: Make service type forking.
30362 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30364         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
30365         sign in non default rounding modes.
30366         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
30368 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
30370         * math/libm-test.inc (ALL_RM_TEST): New macro.
30371         (ceil_test): Use ALL_RM_TEST.
30372         (cimag_test): Likewise.
30373         (conj_test): Likewise.
30374         (copysign_test): Likewise.
30375         (cproj_test): Likewise.
30376         (creal_test): Likewise.
30377         (fabs_test): Likewise.
30378         (floor_test): Likewise.
30379         (fmax_test): Likewise.
30380         (fmin_test): Likewise.
30381         (fmod_test): Likewise.
30382         (fpclassify_test): Likewise.
30383         (frexp_test): Likewise.
30384         (ilogb_test): Likewise.
30385         (isfinite_test): Likewise.
30386         (finite_test): Likewise.
30387         (isgreater_test): Likewise.
30388         (isgreaterequal_test): Likewise.
30389         (isinf_test): Likewise.
30390         (isless_test): Likewise.
30391         (islessequal_test): Likewise.
30392         (islessgreater_test): Likewise.
30393         (isnan_test): Likewise.
30394         (isnormal_test): Likewise.
30395         (issignaling_test): Likewise.
30396         (isunordered_test): Likewise.
30397         (logb_test): Likewise.
30398         (logb_downward_test_data): Remove.
30399         (logb_test_downward): Likewise.
30400         (lround_test): Use ALL_RM_TEST.
30401         (llround_test): Likewise.
30402         (modf_test): Likewise.
30403         (nexttoward_test): Likewise.
30404         (remainder_test): Likewise.
30405         (drem_test): Likewise.
30406         (remainder_tonearest_test_data): Likewise.
30407         (remainder_test_tonearest): Likewise.
30408         (drem_test_tonearest): Likewise.
30409         (remainder_towardzero_test_data): Likewise.
30410         (remainder_test_towardzero): Likewise.
30411         (drem_test_towardzero): Likewise.
30412         (remainder_downward_test_data): Likewise.
30413         (remainder_test_downward): Likewise.
30414         (drem_test_downward): Likewise.
30415         (remainder_upward_test_data): Likewise.
30416         (remainder_test_upward): Likewise.
30417         (drem_test_upward): Likewise.
30418         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
30419         (round_test): Use ALL_RM_TEST.
30420         (signbit_test): Likewise.
30421         (trunc_test): Likewise.
30422         (significand_test): Likewise.
30423         (main): Don't call removed functions.
30425 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30427         [BZ #16674]
30428         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
30429         || __USE_XOPEN2K8].
30430         (ILL_ILLOPN): Likewise.
30431         (ILL_ILLADR): Likewise.
30432         (ILL_ILLTRP): Likewise.
30433         (ILL_PRVOPC): Likewise.
30434         (ILL_PRVREG): Likewise.
30435         (ILL_COPROC): Likewise.
30436         (ILL_BADSTK): Likewise.
30437         (FPE_INTDIV): Likewise.
30438         (FPE_INTOVF): Likewise.
30439         (FPE_FLTDIV): Likewise.
30440         (FPE_FLTOVF): Likewise.
30441         (FPE_FLTUND): Likewise.
30442         (FPE_FLTRES): Likewise.
30443         (FPE_FLTINV): Likewise.
30444         (FPE_FLTSUB): Likewise.
30445         (SEGV_MAPERR): Likewise.
30446         (SEGV_ACCERR): Likewise.
30447         (BUS_ADRALN): Likewise.
30448         (BUS_ADRERR): Likewise.
30449         (BUS_OBJERR): Likewise.
30450         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30451         (TRAP_TRACE): Likewise.
30452         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30453         __USE_XOPEN2K8].
30454         (CLD_KILLED): Likewise.
30455         (CLD_DUMPED): Likewise.
30456         (CLD_TRAPPED): Likewise.
30457         (CLD_STOPPED): Likewise.
30458         (CLD_CONTINUED): Likewise.
30459         (POLL_IN): Likewise.
30460         (POLL_OUT): Likewise.
30461         (POLL_MSG): Likewise.
30462         (POLL_ERR): Likewise.
30463         (POLL_PRI): Likewise.
30464         (POLL_HUP): Likewise.
30465         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
30466         Likewise.
30467         (ILL_ILLOPN): Likewise.
30468         (ILL_ILLADR): Likewise.
30469         (ILL_ILLTRP): Likewise.
30470         (ILL_PRVOPC): Likewise.
30471         (ILL_PRVREG): Likewise.
30472         (ILL_COPROC): Likewise.
30473         (ILL_BADSTK): Likewise.
30474         (FPE_INTDIV): Likewise.
30475         (FPE_INTOVF): Likewise.
30476         (FPE_FLTDIV): Likewise.
30477         (FPE_FLTOVF): Likewise.
30478         (FPE_FLTUND): Likewise.
30479         (FPE_FLTRES): Likewise.
30480         (FPE_FLTINV): Likewise.
30481         (FPE_FLTSUB): Likewise.
30482         (SEGV_MAPERR): Likewise.
30483         (SEGV_ACCERR): Likewise.
30484         (BUS_ADRALN): Likewise.
30485         (BUS_ADRERR): Likewise.
30486         (BUS_OBJERR): Likewise.
30487         (BUS_MCEERR_AR): Likewise.
30488         (BUS_MCEERR_AO): Likewise.
30489         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30490         (TRAP_TRACE): Likewise.
30491         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30492         __USE_XOPEN2K8].
30493         (CLD_KILLED): Likewise.
30494         (CLD_DUMPED): Likewise.
30495         (CLD_TRAPPED): Likewise.
30496         (CLD_STOPPED): Likewise.
30497         (CLD_CONTINUED): Likewise.
30498         (POLL_IN): Likewise.
30499         (POLL_OUT): Likewise.
30500         (POLL_MSG): Likewise.
30501         (POLL_ERR): Likewise.
30502         (POLL_PRI): Likewise.
30503         (POLL_HUP): Likewise.
30504         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
30505         (ILL_ILLOPN): Likewise.
30506         (ILL_ILLADR): Likewise.
30507         (ILL_ILLTRP): Likewise.
30508         (ILL_PRVOPC): Likewise.
30509         (ILL_PRVREG): Likewise.
30510         (ILL_COPROC): Likewise.
30511         (ILL_BADSTK): Likewise.
30512         (FPE_INTDIV): Likewise.
30513         (FPE_INTOVF): Likewise.
30514         (FPE_FLTDIV): Likewise.
30515         (FPE_FLTOVF): Likewise.
30516         (FPE_FLTUND): Likewise.
30517         (FPE_FLTRES): Likewise.
30518         (FPE_FLTINV): Likewise.
30519         (FPE_FLTSUB): Likewise.
30520         (SEGV_MAPERR): Likewise.
30521         (SEGV_ACCERR): Likewise.
30522         (BUS_ADRALN): Likewise.
30523         (BUS_ADRERR): Likewise.
30524         (BUS_OBJERR): Likewise.
30525         (BUS_MCEERR_AR): Likewise.
30526         (BUS_MCEERR_AO): Likewise.
30527         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30528         (TRAP_TRACE): Likewise.
30529         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30530         __USE_XOPEN2K8].
30531         (CLD_KILLED): Likewise.
30532         (CLD_DUMPED): Likewise.
30533         (CLD_TRAPPED): Likewise.
30534         (CLD_STOPPED): Likewise.
30535         (CLD_CONTINUED): Likewise.
30536         (POLL_IN): Likewise.
30537         (POLL_OUT): Likewise.
30538         (POLL_MSG): Likewise.
30539         (POLL_ERR): Likewise.
30540         (POLL_PRI): Likewise.
30541         (POLL_HUP): Likewise.
30542         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
30543         Likewise.
30544         (ILL_ILLOPN): Likewise.
30545         (ILL_ILLADR): Likewise.
30546         (ILL_ILLTRP): Likewise.
30547         (ILL_PRVOPC): Likewise.
30548         (ILL_PRVREG): Likewise.
30549         (ILL_COPROC): Likewise.
30550         (ILL_BADSTK): Likewise.
30551         (ILL_BADIADDR): Likewise.
30552         (ILL_BREAK): Likewise.
30553         (FPE_INTDIV): Likewise.
30554         (FPE_INTOVF): Likewise.
30555         (FPE_FLTDIV): Likewise.
30556         (FPE_FLTOVF): Likewise.
30557         (FPE_FLTUND): Likewise.
30558         (FPE_FLTRES): Likewise.
30559         (FPE_FLTINV): Likewise.
30560         (FPE_FLTSUB): Likewise.
30561         (FPE_DECOVF): Likewise.
30562         (FPE_DECDIV): Likewise.
30563         (FPE_DECERR): Likewise.
30564         (FPE_INVASC): Likewise.
30565         (FPE_INVDEC): Likewise.
30566         (SEGV_MAPERR): Likewise.
30567         (SEGV_ACCERR): Likewise.
30568         (SEGV_PSTKOVF): Likewise.
30569         (BUS_ADRALN): Likewise.
30570         (BUS_ADRERR): Likewise.
30571         (BUS_OBJERR): Likewise.
30572         (BUS_MCEERR_AR): Likewise.
30573         (BUS_MCEERR_AO): Likewise.
30574         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30575         (TRAP_TRACE): Likewise.
30576         (TRAP_BRANCH): Likewise.
30577         (TRAP_HWBKPT): Likewise.
30578         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30579         __USE_XOPEN2K8].
30580         (CLD_KILLED): Likewise.
30581         (CLD_DUMPED): Likewise.
30582         (CLD_TRAPPED): Likewise.
30583         (CLD_STOPPED): Likewise.
30584         (CLD_CONTINUED): Likewise.
30585         (POLL_IN): Likewise.
30586         (POLL_OUT): Likewise.
30587         (POLL_MSG): Likewise.
30588         (POLL_ERR): Likewise.
30589         (POLL_PRI): Likewise.
30590         (POLL_HUP): Likewise.
30591         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
30592         (ILL_ILLOPN): Likewise.
30593         (ILL_ILLADR): Likewise.
30594         (ILL_ILLTRP): Likewise.
30595         (ILL_PRVOPC): Likewise.
30596         (ILL_PRVREG): Likewise.
30597         (ILL_COPROC): Likewise.
30598         (ILL_BADSTK): Likewise.
30599         (FPE_INTDIV): Likewise.
30600         (FPE_INTOVF): Likewise.
30601         (FPE_FLTDIV): Likewise.
30602         (FPE_FLTOVF): Likewise.
30603         (FPE_FLTUND): Likewise.
30604         (FPE_FLTRES): Likewise.
30605         (FPE_FLTINV): Likewise.
30606         (FPE_FLTSUB): Likewise.
30607         (SEGV_MAPERR): Likewise.
30608         (SEGV_ACCERR): Likewise.
30609         (BUS_ADRALN): Likewise.
30610         (BUS_ADRERR): Likewise.
30611         (BUS_OBJERR): Likewise.
30612         (BUS_MCEERR_AR): Likewise.
30613         (BUS_MCEERR_AO): Likewise.
30614         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30615         (TRAP_TRACE): Likewise.
30616         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30617         __USE_XOPEN2K8].
30618         (CLD_KILLED): Likewise.
30619         (CLD_DUMPED): Likewise.
30620         (CLD_TRAPPED): Likewise.
30621         (CLD_STOPPED): Likewise.
30622         (CLD_CONTINUED): Likewise.
30623         (POLL_IN): Likewise.
30624         (POLL_OUT): Likewise.
30625         (POLL_MSG): Likewise.
30626         (POLL_ERR): Likewise.
30627         (POLL_PRI): Likewise.
30628         (POLL_HUP): Likewise.
30629         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
30630         (ILL_ILLOPN): Likewise.
30631         (ILL_ILLADR): Likewise.
30632         (ILL_ILLTRP): Likewise.
30633         (ILL_PRVOPC): Likewise.
30634         (ILL_PRVREG): Likewise.
30635         (ILL_COPROC): Likewise.
30636         (ILL_BADSTK): Likewise.
30637         (FPE_INTDIV): Likewise.
30638         (FPE_INTOVF): Likewise.
30639         (FPE_FLTDIV): Likewise.
30640         (FPE_FLTOVF): Likewise.
30641         (FPE_FLTUND): Likewise.
30642         (FPE_FLTRES): Likewise.
30643         (FPE_FLTINV): Likewise.
30644         (FPE_FLTSUB): Likewise.
30645         (SEGV_MAPERR): Likewise.
30646         (SEGV_ACCERR): Likewise.
30647         (BUS_ADRALN): Likewise.
30648         (BUS_ADRERR): Likewise.
30649         (BUS_OBJERR): Likewise.
30650         (BUS_MCEERR_AR): Likewise.
30651         (BUS_MCEERR_AO): Likewise.
30652         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30653         (TRAP_TRACE): Likewise.
30654         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30655         __USE_XOPEN2K8].
30656         (CLD_KILLED): Likewise.
30657         (CLD_DUMPED): Likewise.
30658         (CLD_TRAPPED): Likewise.
30659         (CLD_STOPPED): Likewise.
30660         (CLD_CONTINUED): Likewise.
30661         (POLL_IN): Likewise.
30662         (POLL_OUT): Likewise.
30663         (POLL_MSG): Likewise.
30664         (POLL_ERR): Likewise.
30665         (POLL_PRI): Likewise.
30666         (POLL_HUP): Likewise.
30667         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
30668         (ILL_ILLOPN): Likewise.
30669         (ILL_ILLADR): Likewise.
30670         (ILL_ILLTRP): Likewise.
30671         (ILL_PRVOPC): Likewise.
30672         (ILL_PRVREG): Likewise.
30673         (ILL_COPROC): Likewise.
30674         (ILL_BADSTK): Likewise.
30675         (FPE_INTDIV): Likewise.
30676         (FPE_INTOVF): Likewise.
30677         (FPE_FLTDIV): Likewise.
30678         (FPE_FLTOVF): Likewise.
30679         (FPE_FLTUND): Likewise.
30680         (FPE_FLTRES): Likewise.
30681         (FPE_FLTINV): Likewise.
30682         (FPE_FLTSUB): Likewise.
30683         (SEGV_MAPERR): Likewise.
30684         (SEGV_ACCERR): Likewise.
30685         (BUS_ADRALN): Likewise.
30686         (BUS_ADRERR): Likewise.
30687         (BUS_OBJERR): Likewise.
30688         (BUS_MCEERR_AR): Likewise.
30689         (BUS_MCEERR_AO): Likewise.
30690         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30691         (TRAP_TRACE): Likewise.
30692         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30693         __USE_XOPEN2K8].
30694         (CLD_KILLED): Likewise.
30695         (CLD_DUMPED): Likewise.
30696         (CLD_TRAPPED): Likewise.
30697         (CLD_STOPPED): Likewise.
30698         (CLD_CONTINUED): Likewise.
30699         (POLL_IN): Likewise.
30700         (POLL_OUT): Likewise.
30701         (POLL_MSG): Likewise.
30702         (POLL_ERR): Likewise.
30703         (POLL_PRI): Likewise.
30704         (POLL_HUP): Likewise.
30705         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
30706         (ILL_ILLOPN): Likewise.
30707         (ILL_ILLADR): Likewise.
30708         (ILL_ILLTRP): Likewise.
30709         (ILL_PRVOPC): Likewise.
30710         (ILL_PRVREG): Likewise.
30711         (ILL_COPROC): Likewise.
30712         (ILL_BADSTK): Likewise.
30713         (ILL_DBLFLT): Likewise.
30714         (ILL_HARDWALL): Likewise.
30715         (FPE_INTDIV): Likewise.
30716         (FPE_INTOVF): Likewise.
30717         (FPE_FLTDIV): Likewise.
30718         (FPE_FLTOVF): Likewise.
30719         (FPE_FLTUND): Likewise.
30720         (FPE_FLTRES): Likewise.
30721         (FPE_FLTINV): Likewise.
30722         (FPE_FLTSUB): Likewise.
30723         (SEGV_MAPERR): Likewise.
30724         (SEGV_ACCERR): Likewise.
30725         (BUS_ADRALN): Likewise.
30726         (BUS_ADRERR): Likewise.
30727         (BUS_OBJERR): Likewise.
30728         (BUS_MCEERR_AR): Likewise.
30729         (BUS_MCEERR_AO): Likewise.
30730         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30731         (TRAP_TRACE): Likewise.
30732         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30733         __USE_XOPEN2K8].
30734         (CLD_KILLED): Likewise.
30735         (CLD_DUMPED): Likewise.
30736         (CLD_TRAPPED): Likewise.
30737         (CLD_STOPPED): Likewise.
30738         (CLD_CONTINUED): Likewise.
30739         (POLL_IN): Likewise.
30740         (POLL_OUT): Likewise.
30741         (POLL_MSG): Likewise.
30742         (POLL_ERR): Likewise.
30743         (POLL_PRI): Likewise.
30744         (POLL_HUP): Likewise.
30745         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
30746         (ILL_ILLOPN): Likewise.
30747         (ILL_ILLADR): Likewise.
30748         (ILL_ILLTRP): Likewise.
30749         (ILL_PRVOPC): Likewise.
30750         (ILL_PRVREG): Likewise.
30751         (ILL_COPROC): Likewise.
30752         (ILL_BADSTK): Likewise.
30753         (FPE_INTDIV): Likewise.
30754         (FPE_INTOVF): Likewise.
30755         (FPE_FLTDIV): Likewise.
30756         (FPE_FLTOVF): Likewise.
30757         (FPE_FLTUND): Likewise.
30758         (FPE_FLTRES): Likewise.
30759         (FPE_FLTINV): Likewise.
30760         (FPE_FLTSUB): Likewise.
30761         (SEGV_MAPERR): Likewise.
30762         (SEGV_ACCERR): Likewise.
30763         (BUS_ADRALN): Likewise.
30764         (BUS_ADRERR): Likewise.
30765         (BUS_OBJERR): Likewise.
30766         (BUS_MCEERR_AR): Likewise.
30767         (BUS_MCEERR_AO): Likewise.
30768         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30769         (TRAP_TRACE): Likewise.
30770         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30771         __USE_XOPEN2K8].
30772         (CLD_KILLED): Likewise.
30773         (CLD_DUMPED): Likewise.
30774         (CLD_TRAPPED): Likewise.
30775         (CLD_STOPPED): Likewise.
30776         (CLD_CONTINUED): Likewise.
30777         (POLL_IN): Likewise.
30778         (POLL_OUT): Likewise.
30779         (POLL_MSG): Likewise.
30780         (POLL_ERR): Likewise.
30781         (POLL_PRI): Likewise.
30782         (POLL_HUP): Likewise.
30783         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
30784         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30786         [BZ #16670]
30787         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
30788         before #include of <time.h>.
30789         [!__USE_XOPEN2K] (__need_timespec): Likewise.
30790         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
30791         (test-xfail-UNIX98/sched.h/conform): Likewise.
30793 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30795         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
30796         error absence of trapping exception support.
30797         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30799 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30801         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
30802         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
30803         * timezone/Makefile (testdata): Move definition above include of
30804         Rules.
30805         (test-zones): New variable.
30806         (tests-special): Add zone files.
30807         (build-testdata): Use $(evaluate-test).
30809         * elf/Makefile (tests-special): Rename tests to end with .out.
30810         ($(objpfx)noload-mem): Likewise.
30811         ($(objpfx)tst-leaks1-mem): Likewise.
30812         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
30813         * iconv/Makefile (xtests-special): Change test-iconvconfig to
30814         $(objpfx)test-iconvconfig.out.
30815         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
30816         set -e inside subshell and redirect output to file.
30817         * iconvdata/Makefile (generated): Rename tests to end with .out.
30818         Correct type.
30819         (tests-special): Rename tests to end with .out.
30820         ($(objpfx)mtrace-tst-loading): Likewise.
30821         * intl/Makefile (generated): Likewise.
30822         (tests-special): Likewise.
30823         ($(objpfx)mtrace-tst-gettext): Likewise.
30824         * misc/Makefile (generated): Likewise.
30825         (tests-special): Likewise.
30826         ($(objpfx)tst-error1-mem): Likewise.
30827         * nptl/Makefile (tests-special): Likewise.
30828         ($(objpfx)tst-stack3-mem): Likewise.
30829         (generated): Likewise.
30830         * posix/Makefile (generated): Likewise.
30831         (tests-special): Likewise.
30832         (xtests-special): Likewise.
30833         ($(objpfx)tst-fnmatch-mem): Likewise.
30834         ($(objpfx)bug-regex2-mem): Likewise.
30835         ($(objpfx)bug-regex14-mem): Likewise.
30836         ($(objpfx)bug-regex21-mem): Likewise.
30837         ($(objpfx)bug-regex31-mem): Likewise.
30838         ($(objpfx)tst-vfork3-mem): Likewise.
30839         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30840         ($(objpfx)tst-pcre-mem): Likewise.
30841         ($(objpfx)tst-boost-mem): Likewise.
30842         ($(objpfx)bug-ga2-mem): Likewise.
30843         ($(objpfx)bug-glob2-mem): Likewise.
30844         * resolv/Makefile (generate): Likewise.
30845         (tests-special): Likewise.
30846         (xtests-special): Likewise.
30847         (generated): Likewise.
30848         ($(objpfx)mtrace-tst-leaks): Likewise.
30849         ($(objpfx)mtrace-tst-leaks2): Likewise.
30851         * scripts/merge-test-results.sh: New file.
30852         * Makefile (tests-special-notdir): New variable.
30853         (tests): Run merge-test-results.sh.
30854         (xtests): Likewise.
30855         * Rules (tests-special-notdir): New variable.
30856         (xtests-special-notdir): Likewise.
30857         (tests): Run merge-test-results.sh
30858         (xtests): Likewise.
30860         * Makeconfig (test-xfail-name): New variable.
30861         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
30862         compute variable name for expected failures.
30863         * conform/Makefile (conformtest-headers-data): New variable.
30864         (conformtest-standards): Likewise.
30865         (conformtest-headers-ISO): Likewise.
30866         (conformtest-headers-ISO99): Likewise.
30867         (conformtest-headers-ISO11): Likewise.
30868         (conformtest-headers-POSIX): Likewise.
30869         (conformtest-headers-XPG3): Likewise.
30870         (conformtest-headers-XPG4): Likewise.
30871         (conformtest-headers-UNIX98): Likewise.
30872         (conformtest-headers-XOPEN2K): Likewise.
30873         (conformtest-headers-POSIX2008): Likewise.
30874         (conformtest-headers-XOPEN2K8): Likewise.
30875         (conformtest-header-list-base): Likewise.
30876         (conformtest-header-list-tests): Likewise.
30877         (conformtest-header-base): Likewise.
30878         (conformtest-header-tests): Likewise.
30879         (tests-special): Add $(conformtest-header-list-tests).  If
30880         [$(fast-check) && !$(cross-compiling)], add
30881         $(conformtest-header-tests) instead of
30882         $(objpfx)run-conformtest.out.
30883         (generated): Add $(conformtest-header-list-base).  If
30884         [$(fast-check) && !$(cross-compiling)], add
30885         $(conformtest-header-base).  Remove previous setting.
30886         ($(conformtest-header-list-tests)): New target.
30887         (test-xfail-run-conformtest): Remove variable.
30888         ($(objpfx)run-conformtest.out): Remove target.
30889         (test-xfail-ISO11/complex.h/conform): New variable.
30890         (test-xfail-ISO11/stdalign.h/conform): Likewise.
30891         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
30892         (test-xfail-XPG3/varargs.h/conform): Likewise.
30893         (test-xfail-XPG4/varargs.h/conform): Likewise.
30894         (test-xfail-UNIX98/varargs.h/conform): Likewise.
30895         (test-xfail-XPG4/ndbm.h/conform): Likewise.
30896         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
30897         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
30898         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
30899         (test-xfail-XPG3/fcntl.h/conform): Likewise.
30900         (test-xfail-XPG3/ftw.h/conform): Likewise.
30901         (test-xfail-XPG3/grp.h/conform): Likewise.
30902         (test-xfail-XPG3/langinfo.h/conform): Likewise.
30903         (test-xfail-XPG3/limits.h/conform): Likewise.
30904         (test-xfail-XPG3/pwd.h/conform): Likewise.
30905         (test-xfail-XPG3/search.h/conform): Likewise.
30906         (test-xfail-XPG3/signal.h/conform): Likewise.
30907         (test-xfail-XPG3/stdio.h/conform): Likewise.
30908         (test-xfail-XPG3/stdlib.h/conform): Likewise.
30909         (test-xfail-XPG3/string.h/conform): Likewise.
30910         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
30911         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
30912         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
30913         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30914         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
30915         (test-xfail-XPG3/sys/types.h/conform): Likewise.
30916         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
30917         (test-xfail-XPG3/termios.h/conform): Likewise.
30918         (test-xfail-XPG3/time.h/conform): Likewise.
30919         (test-xfail-XPG3/unistd.h/conform): Likewise.
30920         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
30921         (test-xfail-XPG4/fcntl.h/conform): Likewise.
30922         (test-xfail-XPG4/langinfo.h/conform): Likewise.
30923         (test-xfail-XPG4/netdb.h/conform): Likewise.
30924         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
30925         (test-xfail-XPG4/signal.h/conform): Likewise.
30926         (test-xfail-XPG4/stdio.h/conform): Likewise.
30927         (test-xfail-XPG4/stdlib.h/conform): Likewise.
30928         (test-xfail-XPG4/stropts.h/conform): Likewise.
30929         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
30930         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30931         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
30932         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30933         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
30934         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
30935         (test-xfail-XPG4/sys/time.h/conform): Likewise.
30936         (test-xfail-XPG4/sys/types.h/conform): Likewise.
30937         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
30938         (test-xfail-XPG4/termios.h/conform): Likewise.
30939         (test-xfail-XPG4/ucontext.h/conform): Likewise.
30940         (test-xfail-XPG4/unistd.h/conform): Likewise.
30941         (test-xfail-XPG4/utmpx.h/conform): Likewise.
30942         (test-xfail-POSIX/sched.h/conform): Likewise.
30943         (test-xfail-POSIX/signal.h/conform): Likewise.
30944         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30945         (test-xfail-POSIX/tar.h/conform): Likewise.
30946         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
30947         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
30948         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
30949         (test-xfail-UNIX98/netdb.h/conform): Likewise.
30950         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
30951         (test-xfail-UNIX98/sched.h/conform): Likewise.
30952         (test-xfail-UNIX98/signal.h/conform): Likewise.
30953         (test-xfail-UNIX98/stdio.h/conform): Likewise.
30954         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
30955         (test-xfail-UNIX98/stropts.h/conform): Likewise.
30956         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
30957         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
30958         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
30959         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
30960         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
30961         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
30962         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30963         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30964         (test-xfail-UNIX98/unistd.h/conform): Likewise.
30965         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
30966         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
30967         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
30968         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
30969         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
30970         (test-xfail-XOPEN2K/math.h/conform): Likewise.
30971         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
30972         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
30973         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
30974         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
30975         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30976         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
30977         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
30978         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
30979         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
30980         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
30981         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
30982         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
30983         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
30984         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30985         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
30986         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
30987         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30988         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
30989         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
30990         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
30991         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
30992         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
30993         (test-xfail-POSIX2008/signal.h/conform): Likewise.
30994         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
30995         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
30996         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30997         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
30998         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
30999         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
31000         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31001         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31002         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31003         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31004         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
31005         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31006         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31007         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31008         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
31009         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31010         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31011         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31012         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31013         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31014         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
31015         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31016         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
31017         (conformtest-cc-flags): Likewise.
31018         ($(conformtest-header-tests): New target.
31019         * conform/check-header-lists.sh: New file.
31020         * conform/run-conformtest.sh: Remove.
31022         * conform/conformtest.pl: Allow ' and \ in values given for
31023         constants.
31024         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
31025         inclusion.
31026         [POSIX] (sys/types.h): Likewise.
31027         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
31028         inclusion.
31029         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
31030         inclusion.
31031         * conform/data/signal.h-data (SIGIO): Remove expectation.
31032         [XPG3] (SIGBUS): Do not expect.
31033         [POSIX || XPG3] (SIGPOLL): Likewise.
31034         [POSIX || XPG3] (SIGPROF): Likewise.
31035         [POSIX || XPG3] (SIGSYS): Likewise.
31036         [XPG3] (SIGTRAP): Likewise.
31037         [POSIX || XPG3] (SIGURG): Likewise.
31038         [POSIX || XPG3] (SIGVTALRM): Likewise.
31039         [POSIX || XPG3] (SIGXCPU): Likewise.
31040         [POSIX || XPG3] (SIGXFSZ): Likewise.
31041         [POSIX] (SA_SIGINFO): Expect.
31042         [XPG3] (siginfo_t): Do not expect type or contents.
31043         [POSIX] (si_pid): Do not expect element.
31044         [POSIX] (si_uid): Likewise.
31045         [POSIX] (si_addr): Likewise.
31046         [POSIX] (si_status): Likewise.
31047         [POSIX] (si_band): Likewise.
31048         [XPG4] (si_value): Likewise.
31049         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
31050         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
31051         [POSIX || XPG3] (ILL_ILLADR): Likewise.
31052         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
31053         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
31054         [POSIX || XPG3] (ILL_PRVREG): Likewise.
31055         [POSIX || XPG3] (ILL_COPROC): Likewise.
31056         [POSIX || XPG3] (ILL_BADSTK): Likewise.
31057         [POSIX || XPG3] (FPE_INTDIV): Likewise.
31058         [POSIX || XPG3] (FPE_INTOVF): Likewise.
31059         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
31060         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
31061         [POSIX || XPG3] (FPE_FLTUND): Likewise.
31062         [POSIX || XPG3] (FPE_FLTRES): Likewise.
31063         [POSIX || XPG3] (FPE_FLTINV): Likewise.
31064         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
31065         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
31066         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
31067         [POSIX || XPG3] (BUS_ADRALN): Likewise.
31068         [POSIX || XPG3] (BUS_ADRERR): Likewise.
31069         [POSIX || XPG3] (BUS_OBJERR): Likewise.
31070         [POSIX || XPG3] (CLD_EXITED): Likewise.
31071         [POSIX || XPG3] (CLD_KILLED): Likewise.
31072         [POSIX || XPG3] (CLD_DUMPED): Likewise.
31073         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
31074         [POSIX || XPG3] (CLD_STOPPED): Likewise.
31075         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
31076         [POSIX || XPG3] (POLL_IN): Likewise.
31077         [POSIX || XPG3] (POLL_OUT): Likewise.
31078         [POSIX || XPG3] (POLL_MSG): Likewise.
31079         [POSIX || XPG3] (POLL_ERR): Likewise.
31080         [POSIX || XPG3] (POLL_PRI): Likewise.
31081         [POSIX || XPG3] (POLL_HUP): Likewise.
31082         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
31083         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
31084         (SIG*): Do not allow.
31085         [XPG3] (si_*): Likewise.
31086         [XPG3] (SI_*): Likewise.
31087         [XPG3 || XPG4] (sigev_*): Likewise.
31088         [XPG3 || XPG4] (SIGEV_*): Likewise.
31089         [XPG3 || XPG4] (sival_*): Likewise.
31090         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
31091         [POSIX || XPG3] (BUS_*): Likewise.
31092         [POSIX || XPG3] (CLD_*): Likewise.
31093         [POSIX || XPG3] (FPE_*): Likewise.
31094         [POSIX || XPG3] (ILL_*): Likewise.
31095         [POSIX || XPG3] (POLL_*): Likewise.
31096         [POSIX || XPG3] (SEGV_*): Likewise.
31097         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
31098         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
31099         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
31100         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
31101         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
31102         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
31103         Specify type and value.
31104         (TVERSLEN): Likewise.
31105         (REGTYPE): Likewise.
31106         (AREGTYPE): Likewise.
31107         (LNKTYPE): Likewise.
31108         (SYMTYPE): Likewise.
31109         (CHRTYPE): Likewise.
31110         (BLKTYPE): Likewise.
31111         (DIRTYPE): Likewise.
31112         (FIFOTYPE): Likewise.
31113         (CONTTYPE): Likewise.
31114         (TSUID): Likewise.
31115         (TSGID): Likewise.
31116         (TSVTX): Likewise.
31117         (TUREAD): Likewise.
31118         (TUWRITE): Likewise.
31119         (TUEXEC): Likewise.
31120         (TGREAD): Likewise.
31121         (TGWRITE): Likewise.
31122         (TGEXEC): Likewise.
31123         (TOREAD): Likewise.
31124         (TOWRITE): Likewise.
31125         (TOEXEC): Likewise.
31126         [POSIX] (TSVTX): Expect constant.
31128 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
31130         * Makefile (tests): Change dependencies to ....
31131         (tests-special): ... additions to this variable.
31132         (tests): Depend on $(tests-special).
31133         * Makerules (check-abi-list): New variable.
31134         (check-abi): Depend on $(check-abi-list).
31135         [$(subdir) = elf] (tests-special): Add
31136         $(objpfx)check-abi-libc.out.
31137         [$(build-shared) = yes && subdir] (tests-special): Add
31138         $(check-abi-list).
31139         [$(build-shared) = yes && subdir] (tests): Do not depend on
31140         check-abi.
31141         * Rules (tests): Depend on $(tests-special).
31142         (xtests): Depend on $(xtests-special).
31143         * catgets/Makefile (tests): Change dependencies to ....
31144         (tests-special): ... additions to this variable.
31145         * conform/Makefile (tests): Change dependencies to ....
31146         (tests-special): ... additions to this variable.
31147         * elf/Makefile (tests): Change dependencies to ....
31148         (tests-special): ... additions to this variable.
31149         * grp/Makefile (tests): Change dependencies to ....
31150         (tests-special): ... additions to this variable.
31151         * iconv/Makefile (xtests): Change dependencies to ....
31152         (xtests-special): ... additions to this variable.
31153         * iconvdata/Makefile (tests): Change dependencies to ....
31154         (tests-special): ... additions to this variable.
31155         * intl/Makefile (tests): Change dependencies to ....
31156         (tests-special): ... additions to this variable.  Also add
31157         $(objpfx)tst-gettext.out.
31158         * io/Makefile (tests): Change dependencies to ....
31159         (tests-special): ... additions to this variable.
31160         * libio/Makefile (tests): Change dependencies to ....
31161         (tests-special): ... additions to this variable.
31162         * malloc/Makefile (tests): Change dependencies to ....
31163         (tests-special): ... additions to this variable.
31164         * misc/Makefile (tests): Change dependencies to ....
31165         (tests-special): ... additions to this variable.
31166         * nptl/Makefile (tests): Change dependencies to ....
31167         (tests-special): ... additions to this variable.
31168         * nptl_db/Makefile (tests): Change dependencies to ....
31169         (tests-special): ... additions to this variable.
31170         * posix/Makefile (tests): Change dependencies to ....
31171         (tests-special): ... additions to this variable.
31172         (xtests): Change dependencies to ....
31173         (xtests-special): ... additions to this variable.
31174         * resolv/Makefile (tests): Change dependencies to ....
31175         (tests-special): ... additions to this variable.
31176         (xtests): Change dependencies to ....
31177         (xtests-special): ... additions to this variable.
31178         * stdio-common/Makefile (tests): Change dependencies to ....
31179         (tests-special): ... additions to this variable.
31180         (do-tst-unbputc): Remove target.
31181         (do-tst-printf): Likewise.
31182         * stdlib/Makefile (tests): Change dependencies to ....
31183         (tests-special): ... additions to this variable.
31184         * string/Makefile (tests): Change dependencies to ....
31185         (tests-special): ... additions to this variable.
31186         * sysdeps/x86/Makefile (tests): Change dependencies to ....
31187         (tests-special): ... additions to this variable.
31189         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
31190         whole file.
31191         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
31192         whole file.
31193         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
31194         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
31196         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
31197         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
31198         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
31199         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
31200         * conform/data/libgen.h-data [XPG3]: Likewise.
31201         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
31202         * conform/data/ndbm.h-data [XPG3]: Likewise.
31203         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31204         * conform/data/netdb.h-data [XPG3]: Likewise.
31205         * conform/data/netinet/in.h-data [XPG3]: Likewise.
31206         * conform/data/poll.h-data [XPG3]: Likewise.
31207         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31208         * conform/data/strings.h-data [XPG3]: Likewise.
31209         * conform/data/stropts.h-data [XPG3]: Likewise.
31210         * conform/data/sys/mman.h-data [XPG3]: Likewise.
31211         * conform/data/sys/resource.h-data [XPG3]: Likewise.
31212         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
31213         Likewise.
31214         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
31215         * conform/data/sys/time.h-data [XPG3]: Likewise.
31216         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
31217         * conform/data/sys/uio.h-data [XPG3]: Likewise.
31218         * conform/data/sys/un.h-data [XPG3]: Likewise.
31219         * conform/data/syslog.h-data [XPG3]: Likewise.
31220         * conform/data/ucontext.h-data [XPG3]: Likewise.
31221         * conform/data/utmpx.h-data [XPG3]: Likewise.
31222         * conform/data/varargs.h-data [UNIX98]: Enable file.
31224         * manual/Makefile (INSTALL_INFO): Remove variable setting.
31226         * math/libm-test.inc (struct test_f_f_data): Move expected results
31227         into structure for each rounding mode.
31228         (struct test_ff_f_data): Likewise.
31229         (struct test_ff_f_data_nexttoward): Likewise.
31230         (struct test_fi_f_data): Likewise.
31231         (struct test_fl_f_data): Likewise.
31232         (struct test_if_f_data): Likewise.
31233         (struct test_fff_f_data): Likewise.
31234         (struct test_c_f_data): Likewise.
31235         (struct test_f_f1_data): Likewise.
31236         (struct test_fF_f1_data): Likewise.
31237         (struct test_ffI_f1_data): Likewise.
31238         (struct test_c_c_data): Likewise.
31239         (struct test_cc_c_data): Likewise.
31240         (struct test_f_i_data): Likewise.
31241         (struct test_ff_i_data): Likewise.
31242         (struct test_f_l_data): Likewise.
31243         (struct test_f_L_data): Likewise.
31244         (struct test_fFF_11_data): Likewise.
31245         (RM_): New macro.
31246         (RM_FE_DOWNWARD): Likewise.
31247         (RM_FE_TONEAREST): Likewise.
31248         (RM_FE_TOWARDZERO): Likewise.
31249         (RM_FE_UPWARD): Likewise.
31250         (RUN_TEST_LOOP_f_f): Update references to expected results.
31251         (RUN_TEST_LOOP_2_f): Likewise.
31252         (RUN_TEST_LOOP_fff_f): Likewise.
31253         (RUN_TEST_LOOP_c_f): Likewise.
31254         (RUN_TEST_LOOP_f_f1): Likewise.
31255         (RUN_TEST_LOOP_fF_f1): Likewise.
31256         (RUN_TEST_LOOP_fI_f1): Likewise.
31257         (RUN_TEST_LOOP_ffI_f1): Likewise.
31258         (RUN_TEST_LOOP_c_c): Likewise.
31259         (RUN_TEST_LOOP_cc_c): Likewise.
31260         (RUN_TEST_LOOP_f_i): Likewise.
31261         (RUN_TEST_LOOP_f_i_tg): Likewise.
31262         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31263         (RUN_TEST_LOOP_f_b): Likewise.
31264         (RUN_TEST_LOOP_f_b_tg): Likewise.
31265         (RUN_TEST_LOOP_f_l): Likewise.
31266         (RUN_TEST_LOOP_f_L): Likewise.
31267         (RUN_TEST_LOOP_fFF_11): Likewise.
31268         * math/gen-libm-test.pl (parse_args): Output four copies of
31269         expected results for each test.
31271         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31272         (__ASSUME_UTIMES): Remove.
31273         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31274         (__ASSUME_UTIMES): Likewise.
31276         * math/gen-auto-libm-tests.c: Update comment on output format.
31277         (output_for_one_input_case): Generate before-rounding and
31278         after-rounding information as conditions on output flags not
31279         floating-point format.
31280         * math/auto-libm-test-out: Regenerated.
31281         * math/gen-libm-test.pl (cond_value): New function.
31282         (or_cond_value): Use cond_value.
31283         (generate_testfile): Handle conditional exceptions.
31285 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
31287         * math/libm-test.inc (max_valid_error): New variable.
31288         (init_max_error): Take new argument specifying whether function
31289         results are exactly determined.  Set max_valid_error and bound
31290         other variables for errors based on this argument.
31291         (set_max_error): Do not record results above max_valid_error.
31292         (check_float_internal): Only accept errors of up to 0.5ulps if
31293         also at most max_valid_error.
31294         (START): Take new argument EXACT and pass it to init_max_error.
31295         (acos_test): Update call to START.
31296         (acos_test_tonearest): Likewise.
31297         (acos_test_towardzero): Likewise.
31298         (acos_test_downward): Likewise.
31299         (acos_test_upward): Likewise.
31300         (acosh_test): Likewise.
31301         (asin_test): Likewise.
31302         (asin_test_tonearest): Likewise.
31303         (asin_test_towardzero): Likewise.
31304         (asin_test_downward): Likewise.
31305         (asin_test_upward): Likewise.
31306         (asinh_test): Likewise.
31307         (atan_test): Likewise.
31308         (atanh_test): Likewise.
31309         (atan2_test): Likewise.
31310         (cabs_test): Likewise.
31311         (cacos_test): Likewise.
31312         (cacosh_test): Likewise.
31313         (carg_test): Likewise.
31314         (casin_test): Likewise.
31315         (casinh_test): Likewise.
31316         (catan_test): Likewise.
31317         (catanh_test): Likewise.
31318         (cbrt_test): Likewise.
31319         (ccos_test): Likewise.
31320         (ccosh_test): Likewise.
31321         (ceil_test): Likewise.
31322         (cexp_test): Likewise.
31323         (cimag_test): Likewise.
31324         (clog_test): Likewise.
31325         (clog10_test): Likewise.
31326         (conj_test): Likewise.
31327         (copysign_test): Likewise.
31328         (cos_test): Likewise.
31329         (cos_test_tonearest): Likewise.
31330         (cos_test_towardzero): Likewise.
31331         (cos_test_downward): Likewise.
31332         (cos_test_upward): Likewise.
31333         (cosh_test): Likewise.
31334         (cosh_test_tonearest): Likewise.
31335         (cosh_test_towardzero): Likewise.
31336         (cosh_test_downward): Likewise.
31337         (cosh_test_upward): Likewise.
31338         (cpow_test): Likewise.
31339         (cproj_test): Likewise.
31340         (creal_test): Likewise.
31341         (csin_test): Likewise.
31342         (csinh_test): Likewise.
31343         (csqrt_test): Likewise.
31344         (ctan_test): Likewise.
31345         (ctan_test_tonearest): Likewise.
31346         (ctan_test_towardzero): Likewise.
31347         (ctan_test_downward): Likewise.
31348         (ctan_test_upward): Likewise.
31349         (ctanh_test): Likewise.
31350         (ctanh_test_tonearest): Likewise.
31351         (ctanh_test_towardzero): Likewise.
31352         (ctanh_test_downward): Likewise.
31353         (ctanh_test_upward): Likewise.
31354         (erf_test): Likewise.
31355         (erfc_test): Likewise.
31356         (exp_test): Likewise.
31357         (exp_test_tonearest): Likewise.
31358         (exp_test_towardzero): Likewise.
31359         (exp_test_downward): Likewise.
31360         (exp_test_upward): Likewise.
31361         (exp10_test): Likewise.
31362         (exp10_test_tonearest): Likewise.
31363         (exp10_test_towardzero): Likewise.
31364         (exp10_test_downward): Likewise.
31365         (exp10_test_upward): Likewise.
31366         (pow10_test): Likewise.
31367         (exp2_test): Likewise.
31368         (expm1_test): Likewise.
31369         (expm1_test_tonearest): Likewise.
31370         (expm1_test_towardzero): Likewise.
31371         (expm1_test_downward): Likewise.
31372         (expm1_test_upward): Likewise.
31373         (fabs_test): Likewise.
31374         (fdim_test): Likewise.
31375         (floor_test): Likewise.
31376         (fma_test): Likewise.
31377         (fma_test_towardzero): Likewise.
31378         (fma_test_downward): Likewise.
31379         (fma_test_upward): Likewise.
31380         (fmax_test): Likewise.
31381         (fmin_test): Likewise.
31382         (fmod_test): Likewise.
31383         (fpclassify_test): Likewise.
31384         (frexp_test): Likewise.
31385         (hypot_test): Likewise.
31386         (ilogb_test): Likewise.
31387         (isfinite_test): Likewise.
31388         (finite_test): Likewise.
31389         (isgreater_test): Likewise.
31390         (isgreaterequal_test): Likewise.
31391         (isinf_test): Likewise.
31392         (isless_test): Likewise.
31393         (islessequal_test): Likewise.
31394         (islessgreater_test): Likewise.
31395         (isnan_test): Likewise.
31396         (isnormal_test): Likewise.
31397         (issignaling_test): Likewise.
31398         (isunordered_test): Likewise.
31399         (j0_test): Likewise.
31400         (j1_test): Likewise.
31401         (jn_test): Likewise.
31402         (ldexp_test): Likewise.
31403         (lgamma_test): Likewise.
31404         (gamma_test): Likewise.
31405         (lrint_test): Likewise.
31406         (lrint_test_tonearest): Likewise.
31407         (lrint_test_towardzero): Likewise.
31408         (lrint_test_downward): Likewise.
31409         (lrint_test_upward): Likewise.
31410         (llrint_test): Likewise.
31411         (llrint_test_tonearest): Likewise.
31412         (llrint_test_towardzero): Likewise.
31413         (llrint_test_downward): Likewise.
31414         (llrint_test_upward): Likewise.
31415         (log_test): Likewise.
31416         (log10_test): Likewise.
31417         (log1p_test): Likewise.
31418         (log2_test): Likewise.
31419         (logb_test): Likewise.
31420         (logb_test_downward): Likewise.
31421         (lround_test): Likewise.
31422         (llround_test): Likewise.
31423         (modf_test): Likewise.
31424         (nearbyint_test): Likewise.
31425         (nextafter_test): Likewise.
31426         (nexttoward_test): Likewise.
31427         (pow_test): Likewise.
31428         (pow_test_tonearest): Likewise.
31429         (pow_test_towardzero): Likewise.
31430         (pow_test_downward): Likewise.
31431         (pow_test_upward): Likewise.
31432         (remainder_test): Likewise.
31433         (drem_test): Likewise.
31434         (remainder_test_tonearest): Likewise.
31435         (drem_test_tonearest): Likewise.
31436         (remainder_test_towardzero): Likewise.
31437         (drem_test_towardzero): Likewise.
31438         (remainder_test_downward): Likewise.
31439         (drem_test_downward): Likewise.
31440         (remainder_test_upward): Likewise.
31441         (drem_test_upward): Likewise.
31442         (remquo_test): Likewise.
31443         (rint_test): Likewise.
31444         (rint_test_tonearest): Likewise.
31445         (rint_test_towardzero): Likewise.
31446         (rint_test_downward): Likewise.
31447         (rint_test_upward): Likewise.
31448         (round_test): Likewise.
31449         (scalb_test): Likewise.
31450         (scalbn_test): Likewise.
31451         (scalbln_test): Likewise.
31452         (signbit_test): Likewise.
31453         (sin_test): Likewise.
31454         (sin_test_tonearest): Likewise.
31455         (sin_test_towardzero): Likewise.
31456         (sin_test_downward): Likewise.
31457         (sin_test_upward): Likewise.
31458         (sincos_test): Likewise.
31459         (sinh_test): Likewise.
31460         (sinh_test_tonearest): Likewise.
31461         (sinh_test_towardzero): Likewise.
31462         (sinh_test_downward): Likewise.
31463         (sinh_test_upward): Likewise.
31464         (sqrt_test): Likewise.
31465         (sqrt_test_tonearest): Likewise.
31466         (sqrt_test_towardzero): Likewise.
31467         (sqrt_test_downward): Likewise.
31468         (sqrt_test_upward): Likewise.
31469         (tan_test): Likewise.
31470         (tan_test_tonearest): Likewise.
31471         (tan_test_towardzero): Likewise.
31472         (tan_test_downward): Likewise.
31473         (tan_test_upward): Likewise.
31474         (tanh_test): Likewise.
31475         (tgamma_test): Likewise.
31476         (trunc_test): Likewise.
31477         (y0_test): Likewise.
31478         (y1_test): Likewise.
31479         (yn_test): Likewise.
31480         (significand_test): Likewise.
31482         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
31483         individual tests in comment.
31484         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
31485         (prev_max_error): New variable.
31486         (prev_real_max_error): Likewise.
31487         (prev_imag_max_error): Likewise.
31488         (compare_ulp_data): Don't refer to test names in comment.
31489         (find_test_ulps): Remove function.
31490         (find_function_ulps): Likewise.
31491         (find_complex_function_ulps): Likewise.
31492         (init_max_error): Take function name as argument.  Look up ulps
31493         for that function.
31494         (print_ulps): Remove function.
31495         (print_max_error): Use prev_max_error instead of calling
31496         find_function_ulps.
31497         (print_complex_max_error): Use prev_real_max_error and
31498         prev_imag_max_error instead of calling find_complex_function_ulps.
31499         (check_float_internal): Take max_ulp parameter instead of calling
31500         find_test_ulps.  Don't call print_ulps.
31501         (check_float): Update call to check_float_internal.
31502         (check_complex): Update calls to check_float_internal.
31503         (START): Pass argument to init_max_error.
31504         * math/gen-libm-test.pl (%results): Don't include "kind"
31505         information.
31506         (parse_ulps): Don't handle ulps of individual tests.
31507         (print_ulps_file): Likewise.
31508         (output_ulps): Likewise.
31509         * math/README.libm-test: Update.
31510         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
31511         individual tests.
31512         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
31513         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31514         * sysdeps/arm/libm-test-ulps: Likewise.
31515         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31516         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
31517         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
31518         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
31519         * sysdeps/microblaze/libm-test-ulps: Likewise.
31520         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31521         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31522         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31523         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31524         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31525         * sysdeps/sh/libm-test-ulps: Likewise.
31526         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31527         * sysdeps/tile/libm-test-ulps: Likewise.
31528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31530 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
31532         * math/libm-test.inc (print_complex_max_error): Check separately
31533         whether real and imaginary errors are within allowed range and
31534         pass 0 to print_complex_function_ulps instead of value within
31535         allowed range.
31537 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31539         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
31540         formatting.
31541         (get_handles_fopen): Likewise.
31542         (do_write_test): Likewise.
31544         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
31546         * libio/fileops.c (do_ftell): Use cached offset when
31547         available.
31548         * libio/iofwide.c (do_ftell_wide): Likewise.
31549         * libio/iofdopen.c (_IO_new_fdopen): Don't use
31550         _IO_file_attach.
31551         * libio/wfileops.c (_IO_fwide): Don't cache offset.
31553         [BZ #16532]
31554         * libio/libioP.h (get_file_offset): New function.
31555         * libio/fileops.c (get_file_offset): Likewise.
31556         (do_ftell): Likewise.
31557         (_IO_new_file_seekoff): Split out ftell logic.
31558         * libio/wfileops.c (do_ftell_wide): Likewise.
31559         (_IO_wfile_seekoff): Split out ftell logic.
31560         * libio/tst-ftell-active-handler.c: New test case.
31561         * libio/Makefile (tests): Add it.
31563 2014-03-03  Roland McGrath  <roland@hack.frob.com>
31565         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
31566         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
31568 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31570         [BZ #16639]
31571         * nscd/connections.c (nscd_init): Call do_exit.
31572         (start_threads): Call do_exit and notify_parent.
31573         (begin_drop_privileges): Call do_exit.
31574         (finish_drop_privileges): Likewise.
31575         * nscd/selinux.c (preserve_capabilities): Likewise.
31576         (install_real_capabilities): Likewise.
31577         (nscd_selinux_enabled): Likewise.
31578         (avc_create_thread): Likewise.
31579         (avc_alloc_lock): Likewise.
31580         (nscd_avc_init): Likewise.
31581         * nscd/nscd.c (parent_fd): New static variable.
31582         (main): Create a pipe between parent and child processes.
31583         Skip closing parent_fd.
31584         (monitor_child): New function.
31585         (do_exit): Likewise.
31586         (notify_parent): Likewise.
31587         * nscd/nscd.h (notify_parent): Likewise.
31588         (do_exit): Likewise.
31590 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
31592         * malloc/malloc.c (__libc_calloc): Revert last change.
31594 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31598 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31600         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
31601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
31602         implementation.
31603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31604         (__libc_ifunc_impl_list): Likewise.
31605         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
31606         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
31607         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
31608         * string/strrchr.c: Define STRRCHR.
31610 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
31612         * benchtest/bench-strtok.c (simple_strtok): Delete.
31613         (strtok_string): Use as benchmark.
31614         * string/strtok (STRTOK): New macro.
31616 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
31618         * manual/threads.texi: Add header and standard comments to all
31619         functions.
31621         * elf/dl-lookup.c (check_match): New function.
31622         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
31623         (do_lookup_x): Remove nested function check_match. Use non-nested
31624         function check_match.
31626 2014-02-28  Roland McGrath  <roland@hack.frob.com>
31628         * csu/Makefile (generated, before-compile): Use += rather than =.
31629         * catgets/Makefile (generated, generated-dirs): Likewise.
31630         * debug/Makefile (generated): Likewise.
31631         * dlfcn/Makefile (generated): Likewise.
31632         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
31633         * iconvdata/Makefile (before-compile, generated): Likewise.
31634         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
31635         * libio/Makefile (generated): Likewise.
31636         * malloc/Makefile (generated): Likewise.
31637         * manual/Makefile (generated, generated-dirs): Likewise.
31638         * misc/Makefile (generated): Likewise.
31639         * posix/Makefile (generated): Likewise.
31640         * resolv/Makefile (generated): Likewise.
31641         * sunrpc/Makefile (generated, generated-dirs): Likewise.
31642         * timezone/Makefile (generated, generated-dirs): Likewise.
31644         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
31646 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31648         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31649         power8 implementation.
31650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
31651         file: POWER8 llround ifunc implementation.
31652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
31653         (__lllround): Add POWER8 implementation.
31654         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
31655         POWER8 llround implementation.
31657         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
31658         power8 implementation.
31659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
31660         file: POWER8 llrint ifunc implementation.
31661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
31662         Add POWER8 implementation.
31663         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
31664         POWER8 llrint implementation.
31666         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
31667         power8 implementation.
31668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
31669         file: POWER8 finite ifunc implementation.
31670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
31671         Add POWER8 implementation.
31672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
31673         Likewise.
31674         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
31675         POWER8 finite implementation.
31676         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
31678         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
31679         power8 implementation.
31680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
31681         file: POWER8 isinf ifunc implementation.
31682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
31683         POWER8 implementation.
31684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
31685         Likewise.
31686         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
31687         isinf implementation.
31688         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
31690         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
31691         (INIT_ARCH): Add hwcap2 initialization.
31692         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31693         power8 implementation.
31694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
31695         file: POWER8 isnan ifunc implementation.
31696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
31697         POWER8 implementation.
31698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
31699         Likewise.
31700         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
31701         isnan implementation.
31702         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
31704 2014-02-27  Joey Ye  <joey.ye@arm.com>
31706         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31707         (_FP_NANFRAC_Q): Set to zero.
31709 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31711         [BZ #16623]
31712         * math/auto-libm-test-in: New test inputs.
31713         * math/auto-libm-test-out: Regenerate.
31714         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
31715         and DA.
31716         (__cos): Likewise.
31717         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31719 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
31721         * scripts/evaluate-test.sh: Take new argument indicating whether
31722         failure is expected.
31723         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
31724         indicating whether failure is expected.
31725         * conform/Makefile (test-xfail-run-conformtest): New variable.
31726         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
31727         level.
31728         * posix/Makefile (test-xfail-annexc): New variable.
31729         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
31731 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
31733         * argp/Makefile: Include Makeconfig immediately after defining
31734         subdir.
31735         * assert/Makefile: Likewise.
31736         * benchtests/Makefile: Likewise.
31737         * catgets/Makefile: Likewise.
31738         * conform/Makefile: Likewise.
31739         * crypt/Makefile: Likewise.
31740         * csu/Makefile: Likewise.
31741         (all): Remove target.
31742         * ctype/Makefile: Include Makeconfig immediately after defining
31743         subdir.
31744         * debug/Makefile: Likewise.
31745         * dirent/Makefile: Likewise.
31746         * dlfcn/Makefile: Likewise.
31747         * gmon/Makefile: Likewise.
31748         * gnulib/Makefile: Likewise.
31749         * grp/Makefile: Likewise.
31750         * gshadow/Makefile: Likewise.
31751         * hesiod/Makefile: Likewise.
31752         * hurd/Makefile: Likewise.
31753         (all): Remove target.
31754         * iconvdata/Makefile: Include Makeconfig immediately after
31755         defining subdir.
31756         * inet/Makefile: Likewise.
31757         * intl/Makefile: Likewise.
31758         * io/Makefile: Likewise.
31759         * libio/Makefile: Likewise.
31760         (all): Remove target.
31761         * locale/Makefile: Include Makeconfig immediately after defining
31762         subdir.
31763         * login/Makefile: Likewise.
31764         * mach/Makefile: Likewise.
31765         (all): Remove target.
31766         * malloc/Makefile: Include Makeconfig immediately after defining
31767         subdir.
31768         (all): Remove target.
31769         * manual/Makefile: Include Makeconfig immediately after defining
31770         subdir.
31771         * math/Makefile: Likewise.
31772         * misc/Makefile: Likewise.
31773         * nis/Makefile: Likewise.
31774         * nss/Makefile: Likewise.
31775         * po/Makefile: Likewise.
31776         (all): Remove target.
31777         * posix/Makefile: Include Makeconfig immediately after defining
31778         subdir.
31779         * pwd/Makefile: Likewise.
31780         * resolv/Makefile: Likewise.
31781         * resource/Makefile: Likewise.
31782         * rt/Makefile: Likewise.
31783         * setjmp/Makefile: Likewise.
31784         * shadow/Makefile: Likewise.
31785         * signal/Makefile: Likewise.
31786         * socket/Makefile: Likewise.
31787         * soft-fp/Makefile: Likewise.
31788         * stdio-common/Makefile: Likewise.
31789         * stdlib/Makefile: Likewise.
31790         * streams/Makefile: Likewise.
31791         * string/Makefile: Likewise.
31792         * sunrpc/Makefile: Likewise.
31793         (all): Remove target.
31794         * sysvipc/Makefile: Include Makeconfig immediately after defining
31795         subdir.
31796         * termios/Makefile: Likewise.
31797         * time/Makefile: Likewise.
31798         * timezone/Makefile: Likewise.
31799         (all): Remove target.
31800         * wcsmbs/Makefile: Include Makeconfig immediately after defining
31801         subdir.
31802         * wctype/Makefile: Likewise.
31804 2014-02-26  Steve Ellcey  <sellcey@mips.com>
31806         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
31807         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
31808         (libc_feholdexcept_setround_mips): Ditto.
31809         (libc_feholdsetround): New.
31810         (libc_feholdsetroundf): New.
31811         (libc_feholdsetroundl): New.
31812         (libc_feupdateenv_test_mips): New.
31813         (libc_feupdateenv_test): New.
31814         (libc_feupdateenv_testf): New.
31815         (libc_feupdateenv_testl): New.
31816         (libc_feresetround): New.
31817         (libc_feresetroundf): New.
31818         (libc_feresetroundl): New.
31819         (libc_fetestexcept_mips): New.
31820         (libc_fetestexcept): New.
31821         (libc_fetestexceptf): New.
31822         (libc_fetestexceptl): New.
31823         (HAVE_RM_CTX): New.
31824         (libc_feholdexcept_setround_mips_ctx): New.
31825         (libc_feholdexcept_setround_ctx): New.
31826         (libc_feholdexcept_setroundf_ctx): New.
31827         (libc_feholdexcept_setroundl_ctx): New.
31828         (libc_fesetenv_mips_ctx): New.
31829         (libc_fesetenv_ctx): New.
31830         (libc_fesetenv_ctxf): New.
31831         (libc_fesetenv_ctxl): New.
31832         (libc_feupdateenv_mips_ctx): New.
31833         (libc_feupdateenv_ctx): New.
31834         (libc_feupdateenvf_ctx): New.
31835         (libc_feupdateenvl_ctx): New.
31836         (libc_feholdsetround_mips_ctx): New.
31837         (libc_feholdsetround_ctx): New.
31838         (libc_feholdsetroundf_ctx): New.
31839         (libc_feholdsetroundl_ctx): New.
31840         (libc_feresetround_mips_ctx): New.
31841         (libc_feresetround_ctx): New.
31842         (libc_feresetroundf_ctx): New.
31843         (libc_feresetroundl_ctx): New.
31845 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
31847         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
31849         * manual/ipc.texi: New file.
31850         * manual/Makefile (chapters): Add ipc.
31851         * manual/job.texi: Add "Inter-Process Communication" to next.
31852         * manual/process.texi: Add "Inter-Process Communication" to prev.
31854 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31858 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
31860         * malloc/malloc.c (__libc_calloc): Simplify implementation.
31862         * manual/arith.texi: Fix spaces after sentences.
31863         * manual/charset.texi: Likewise.
31864         * manual/errno.texi: Likewise.
31865         * manual/install.texi: Likewise.
31866         * manual/llio.texi: Likewise.
31867         * manual/locale.texi: Likewise.
31868         * manual/maint.texi: Likewise.
31869         * manual/math.texi: Likewise.
31870         * manual/memory.texi: Likewise.
31871         * manual/message.texi: Likewise.
31872         * manual/probes.texi: Likewise.
31873         * manual/resource.texi: Likewise.
31874         * manual/signal.texi: Likewise.
31875         * manual/socket.texi: Likewise.
31876         * manual/stdio.texi: Likewise.
31877         * manual/string.texi: Likewise.
31878         * manual/time.texi: Likewise.
31879         * manual/users.texi: Likewise.
31881 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
31883         [BZ #16632]
31884         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
31885         _DEFAULT_SOURCE is defined.
31887 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
31888             Carlos O'Donell  <carlos@redhat.com>
31890         [BZ #16613]
31891         * elf/dl-tls.c (_dl_count_modids): New function.
31892         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
31893         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
31894         audit library and increment generation counter.
31895         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
31896         * elf/tst-audit9.c: New file.
31897         * elf/tst-auditmod9a.c: New file.
31898         * elf/tst-auditmod9b.c: New file.
31899         * elf/Makefile: Add rules to build and run tst-audit9.
31901 2014-02-25  Florian Weimer  <fweimer@redhat.com>
31903         [BZ #15347]
31904         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
31906 2014-02-25  Will Newton  <will.newton@linaro.org>
31908         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
31909         (__longjmp): Restore sp and lr before restoring callee
31910         saved registers.  Add longjmp and longjmp_target
31911         SystemTap probe point.
31912         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
31913         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
31914         Define to zero to match jmpbuf layout.
31915         * sysdeps/arm/setjmp.S: Include stap-probe.h.
31916         (__sigsetjmp): Save sp and lr before saving callee
31917         saved registers.  Add setjmp SystemTap probe point.
31919 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31921         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31923 2014-02-24  Andreas Schwab  <schwab@suse.de>
31925         [BZ #15804]
31926         * elf/pldd.c (wait_for_ptrace_stop): New function.
31927         (main): Call it after attaching.
31929 2014-02-22  Roland McGrath  <roland@hack.frob.com>
31931         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
31932         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
31933         Versions files is now verboten.
31934         * hurd/Versions (libc: GLIBC_2.0):
31935         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
31936         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
31937         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
31938         * mach/Versions: Likewise.
31940         * csu/Versions: Remove unused %include.
31941         * resolv/Versions: Likewise.
31943 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
31945         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
31946         ($(objpfx)check-local-headers.out): Likewise.
31947         ($(objpfx)begin-end-check.out): Likewise.
31948         * Makerules (check-abi-%.out): Likewise.
31949         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
31950         ($(objpfx)test2.cat): Likewise.
31951         ($(objpfx)de/libc.cat): Likewise.
31952         ($(objpfx)test-gencat.out): Likewise.
31953         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
31954         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
31955         ($(objpfx)noload-mem): Likewise.
31956         ($(objpfx)tst-pathopt.out): Likewise.
31957         ($(objpfx)tst-rtld-load-self.out): Likewise.
31958         ($(objpfx)tst-array1-cmp.out): Likewise.
31959         ($(objpfx)tst-array1-static-cmp.out): Likewise.
31960         ($(objpfx)tst-array2-cmp.out): Likewise.
31961         ($(objpfx)tst-array3-cmp.out): Likewise.
31962         ($(objpfx)tst-array4-cmp.out): Likewise.
31963         ($(objpfx)tst-array5-cmp.out): Likewise.
31964         ($(objpfx)tst-array5-static-cmp.out): Likewise.
31965         ($(objpfx)check-textrel.out): Likewise.
31966         ($(objpfx)check-execstack.out): Likewise.
31967         ($(objpfx)check-localplt.out): Likewise.
31968         ($(objpfx)order2-cmp.out): Likewise.
31969         ($(objpfx)tst-leaks1-mem): Likewise.
31970         ($(objpfx)tst-leaks1-static-mem): Likewise.
31971         ($(objpfx)tst-initorder-cmp.out): Likewise.
31972         ($(objpfx)tst-initorder2-cmp.out): Likewise.
31973         ($(objpfx)tst-unused-dep.out): Likewise.
31974         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
31975         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31976         * iconv/Makefile (test-iconvconfig): Likewise.
31977         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
31978         ($(objpfx)iconv-test.out): Likewise.
31979         ($(objpfx)tst-tables.out): Likewise.
31980         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
31981         ($(objpfx)tst-gettext.out): Likewise.
31982         ($(objpfx)tst-translit.out): Likewise.
31983         ($(objpfx)tst-gettext2.out): Likewise.
31984         ($(objpfx)tst-gettext4.out): Likewise.
31985         ($(objpfx)tst-gettext6.out): Likewise.
31986         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
31987         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31988         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
31989         ($(objpfx)tst-fopenloc-mem.out): Likewise.
31990         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31991         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
31992         * posix/Makefile ($(objpfx)globtest.out): Likewise.
31993         ($(objpfx)wordexp-tst.out): Likewise.
31994         ($(objpfx)annexc.out): Likewise.
31995         ($(objpfx)tst-fnmatch-mem): Likewise.
31996         ($(objpfx)bug-regex2-mem): Likewise.
31997         ($(objpfx)bug-regex14-mem): Likewise.
31998         ($(objpfx)bug-regex21-mem): Likewise.
31999         ($(objpfx)bug-regex31-mem): Likewise.
32000         ($(objpfx)tst-vfork3-mem): Likewise.
32001         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32002         ($(objpfx)tst-pcre-mem): Likewise.
32003         ($(objpfx)tst-boost-mem): Likewise.
32004         ($(objpfx)tst-getconf.out): Likewise.
32005         ($(objpfx)bug-ga2-mem): Likewise.
32006         ($(objpfx)bug-glob2-mem): Likewise.
32007         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
32008         ($(objpfx)mtrace-tst-leaks2): Likewise.
32009         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
32010         ($(objpfx)tst-printf.out): Likewise.
32011         ($(objpfx)tst-setvbuf1.out): Likewise.
32012         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
32013         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
32014         ($(objpfx)tst-fmtmsg.out): Likewise.
32015         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
32016         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
32018         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
32019         * bits/sigaction.h [__USE_MISC]: Likewise.
32020         * bits/waitstatus.h: Update #endif comments.
32021         * ctype/ctype.h: Likewise.
32022         * dirent/dirent.h: Likewise.
32023         [__USE_MISC]: Remove redundant conditionals.
32024         * grp/grp.h: Update #endif comments.
32025         [__USE_GNU]: Remove redundant conditionals.
32026         [__USE_MISC]: Likewise.
32027         * inet/netinet/in.h [__USE_GNU]: Likewise.
32028         * io/sys/stat.h [__USE_MISC]: Likewise.
32029         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
32030         * libio/bits/stdio.h: Update #endif comments.
32031         [__USE_MISC]: Remove redundant conditionals.
32032         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
32033         * libio/stdio.h: Update #endif comments.
32034         [__USE_MISC]: Remove redundant conditionals.
32035         * math/bits/math-finite.h [__USE_MISC]: Likewise.
32036         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
32037         * math/math.h: Update #else and #endif comments.
32038         [__USE_MISC]: Remove redundant conditionals.
32039         * misc/sys/uio.h: Update #endif comments.
32040         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
32041         * posix/glob.h [__USE_MISC]: Likewise.
32042         * posix/sys/types.h: Update #endif comments.
32043         [__USE_MISC]: Remove redundant conditionals.
32044         * posix/sys/wait.h: Update #endif comments.
32045         [__USE_MISC]: Remove redundant conditionals.
32046         * posix/unistd.h: Update #endif comments.
32047         [__USE_MISC]: Remove redundant conditionals.
32048         * pwd/pwd.h [__USE_GNU]: Likewise.
32049         [__USE_MISC]: Likewise.
32050         * resolv/netdb.h [__USE_GNU]: Likewise.
32051         * signal/signal.h: Update #endif comments.
32052         [__USE_MISC]: Remove redundant conditionals.
32053         * stdlib/stdlib.h: Update #else and #endif comments.
32054         [__USE_MISC]: Remove redundant conditionals.
32055         [__USE_GNU]: Likewise.
32056         * string/bits/string2.h [__USE_MISC]: Likewise.
32057         * string/string.h: Update #endif comments.
32058         [__USE_MISC]: Remove redundant conditionals.
32059         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
32060         Likewise.
32061         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
32062         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
32063         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
32064         Likewise.
32065         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
32066         Likewise.
32067         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
32068         comments.
32069         [__USE_MISC]: Remove redundant conditionals.
32070         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
32071         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
32072         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
32073         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
32074         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
32075         Likewise.
32076         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
32077         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
32078         Likewise.
32079         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
32080         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
32081         Likewise.
32082         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
32083         Likewise.
32084         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
32085         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
32086         Likewise.
32087         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
32088         Likewise.
32089         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
32090         * sysdeps/x86/bits/string.h: Update #endif comments.
32091         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
32092         conditionals.
32093         * time/sys/time.h: Update #endif comments.
32094         * time/time.h: Likewise.
32095         [__USE_MISC]: Remove redundant conditionals.
32097 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
32099         [BZ #16600]
32100         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
32102 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
32104         * Versions.def (librt): Add GLIBC_2.17.
32106 2014-02-21  Adam Conrad  <adconrad@0c3.net>
32108         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
32109         synonym for _SYS_AUXV_H to allow direct inclusion.
32110         * sysdeps/sparc/bits/hwcap.h: Likewise.
32111         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
32112         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
32113         * sysdeps/sparc/sysdep.h: Likewise.
32115 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32117         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
32119 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32121         * benchtests/bench-strrchr.c: Print length instead of position.
32123 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
32125         [BZ #16611]
32126         * sysdeps/unix/sysv/linux/kernel-features.h
32127         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
32128         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
32129         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
32130         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
32131         Likewise.
32132         [__i386__ || __powerpc__ || __sh__ || __sparc__]
32133         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32134         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
32135         (__ASSUME_SENDMMSG): Define instead of using previous
32136         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
32137         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32138         (__ASSUME_SENDMMSG_SYSCALL): Define.
32139         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32140         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
32141         Likewise.
32142         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32143         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32144         Likewise.
32145         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32146         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32147         Likewise.
32148         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
32149         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32150         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32151         [__ASSUME_SENDMMSG]: Change conditionals to
32152         [__ASSUME_SENDMMSG_SOCKETCALL].
32153         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32154         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
32155         Define.
32156         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32157         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
32158         Likewise.
32159         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
32160         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32161         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32162         [!__ASSUME_SENDMMSG]: Change conditional to
32163         [!__ASSUME_SENDMMSG_SOCKETCALL].
32164         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32165         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32166         Define.
32168         [BZ #16610]
32169         * sysdeps/unix/sysv/linux/kernel-features.h
32170         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
32171         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
32172         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
32173         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
32174         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32175         [__i386__ || __sparc__]
32176         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32177         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
32178         (__ASSUME_RECVMMSG): Define instead of using previous
32179         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
32180         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32181         (__ASSUME_RECVMMSG_SYSCALL): Define.
32182         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32183         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32184         Likewise.
32185         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32186         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32187         Likewise.
32188         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32189         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32190         Likewise.
32191         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
32192         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32193         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32194         [__ASSUME_RECVMMSG]: Change condition to
32195         [__ASSUME_RECVMMSG_SOCKETCALL].
32196         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32197         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32198         Define.
32199         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32200         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32201         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32202         Likewise.
32203         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
32204         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32205         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32206         [!__ASSUME_RECVMMSG]: Change condition to
32207         [!__ASSUME_RECVMMSG_SOCKETCALL].
32208         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32209         (__ASSUME_RECVMMSG_SYSCALL): Define.
32211         [BZ #16609]
32212         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
32213         __powerpc__ || __s390__ || __sh__ || __sparc__]
32214         (__ASSUME_SOCKETCALL): Define.
32215         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
32216         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
32217         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
32218         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
32219         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32220         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32221         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
32222         (__ASSUME_ACCEPT4): Define instead of using previous
32223         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
32224         __powerpc__ || __sparc__ || __s390__)] condition.
32225         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32226         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32227         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
32228         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32229         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32230         [!__ASSUME_ACCEPT4]: Change condition to
32231         [!__ASSUME_ACCEPT4_SOCKETCALL].
32232         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32233         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
32234         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
32235         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32236         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
32237         __ASSUME_ACCEPT4_SYSCALL.
32238         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
32239         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
32240         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32241         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
32242         __ASSUME_ACCEPT4_SYSCALL.
32243         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
32244         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32245         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32246         [__ASSUME_ACCEPT4]: Change condition to
32247         [__ASSUME_ACCEPT4_SOCKETCALL].
32248         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32249         (__ASSUME_SOCKETCALL): Define.
32250         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
32251         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32252         (__ASSUME_SOCKETCALL): Define.
32253         (__ASSUME_ACCEPT4): Remove.
32254         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
32255         Define.
32256         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32257         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
32258         Likewise.
32259         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32260         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32262         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
32263         macro.
32264         (HWCAP_ARM_LPAE): Likewise.
32265         (HWCAP_ARM_EVTSTRM): Likewise.
32266         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
32267         Add vpfd32, lpae and evtstrm.
32268         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
32269         Increase to 22.
32271 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
32273         * math/auto-libm-test-in: Add tests of clog10.
32274         * math/auto-libm-test-out: Regenerated.
32275         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
32276         * sysdeps/i386/fpu/libm-test-ulps: Update.
32277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32279 2014-02-18  Andreas Schwab  <schwab@suse.de>
32281         [BZ #16574]
32282         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
32283         Store non-zero if the second buffer was newly allocated.
32284         (send_dg): Likewise.
32285         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
32286         to send_vc and send_dg.
32287         (res_nsend): Pass NULL for ansp2_malloced.
32288         * resolv/res_query.c (__libc_res_nquery): Add parameter
32289         answerp2_malloced and pass it down to __libc_res_nsend.
32290         (res_nquery): Pass additional NULL to __libc_res_nquery.
32291         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
32292         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
32293         second answer buffer if answerp2_malloced was set.
32294         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
32295         (__libc_res_nquerydomain): Add parameter
32296         answerp2_malloced and pass it down to __libc_res_nquery.
32297         (res_nquerydomain): Pass additional NULL to
32298         __libc_res_nquerydomain.
32299         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
32300         additional NULL to __libc_res_nsend and __libc_res_nquery.
32301         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
32302         additional NULL to __libc_res_nsearch.
32303         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
32304         parameter of __libc_res_nsearch to check for separately allocated
32305         second buffer.
32306         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
32307         __libc_res_nquery.
32308         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
32309         additional NULL to __libc_res_nquery.
32310         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
32311         __libc_res_nsearch.
32312         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
32313         * include/resolv.h: Update prototypes of __libc_res_nquery,
32314         __libc_res_nsearch, __libc_res_nsend.
32316 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
32318         * math/auto-libm-test-in: Add tests of fma.
32319         * math/auto-libm-test-out: Regenerated.
32320         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
32321         (fma_towardzero_test_data): Likewise.
32322         (fma_downward_test_data): Likewise.
32323         (fma_upward_test_data): Likewise.
32324         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
32325         mpc_mode.
32326         (rounding_modes): Add values for new field.
32327         (func_calc_method): Add value mpfr_fff_f.
32328         (func_calc_desc): Add mpfr_fff_f union field.
32329         (test_function): Add field exact_args.
32330         (FUNC): Add macro argument EXACT_ARGS.
32331         (FUNC_mpfr_f_f): Update call to FUNC.
32332         (FUNC_mpfr_f_f): Likewise.
32333         (FUNC_mpfr_ff_f): Likewise.
32334         (FUNC_mpfr_if_f): Likewise.
32335         (FUNC_mpc_c_f): Likewise.
32336         (FUNC_mpc_c_c): Likewise.
32337         (test_functions): Add fma.  Update calls to FUNC.
32338         (handle_input_arg): Add argument exact_args.
32339         (add_test): Update call to handle_input_arg.
32340         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
32341         (output_for_one_input_case): Update call to calc_generic_results.
32342         Recalculate exact zero results in each rounding mode.
32344         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
32345         non-negative before setting low bit.
32346         * math/auto-libm-test-in: Mark one asin test possibly having
32347         spurious underflow.
32348         * math/auto-libm-test-out: Regenerated.
32349         * sysdeps/i386/fpu/libm-test-ulps: Update.
32350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32352 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
32354         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
32355         * sysdeps/unix/sysv/linux/microblaze: Move directory from
32356         ports/sysdeps/unix/sysv/linux/microblaze.
32357         * README: Add missing listing for microblaze*-*-linux-gnu.
32359 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
32361         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
32362         duplicate code
32364 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
32366         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
32367         * sysdeps/unix/sysv/linux/ia64: Move directory from
32368         ports/sysdeps/unix/sysv/linux/ia64.
32369         * README: Update listing for ia64-*-linux-gnu.
32371 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
32372             Joseph Myers  <joseph@codesourcery.com>
32374         * Makeconfig (test-name): New variable.
32375         (evaluate-test): Likewise.
32376         * Makerules (do-test-clean): Remove .test-result files.
32377         (common-mostlyclean): Likewise.
32378         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
32379         * scripts/evaluate-test.sh: New file.
32381 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
32383         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
32384         separate $(objpfx)tst-fopenloc-cmp.out and
32385         $(objpfx)tst-fopenloc-mem.out targets.
32386         (tests): Update dependencies.
32387         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
32388         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
32389         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
32390         (tst-rxspencer-no-utf8-ARGS): New variable.
32391         (tst-rxspencer-no-utf8-ENV): Likewise.
32392         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
32393         instead of $(objpfx)tst-rxspencer-mem.
32394         ($(objpfx)tst-rxspencer-mem): Change target to
32395         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
32396         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
32397         * posix/tst-rxspencer-no-utf8.c: New file.
32399         * elf/Makefile ($(objpfx)order.out): Remove rule.
32400         [$(run-built-tests) = yes] (tests): Depend on
32401         $(objpfx)order-cmp.out.
32402         ($(objpfx)order-cmp.out): New rule.
32403         [$(run-built-tests) = yes] (tests): Depend on
32404         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
32405         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
32406         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
32407         $(objpfx)tst-array5-static-cmp.out.
32408         ($(objpfx)tst-array1.out): Remove rule.
32409         ($(objpfx)tst-array1-cmp.out): New rule.
32410         ($(objpfx)tst-array1-static.out): Remove rule.
32411         ($(objpfx)tst-array1-static-cmp.out): New rule.
32412         ($(objpfx)tst-array2.out): Remove rule.
32413         ($(objpfx)tst-array2-cmp.out): New rule.
32414         ($(objpfx)tst-array3.out): Remove rule.
32415         ($(objpfx)tst-array3-cmp.out): New rule.
32416         ($(objpfx)tst-array4.out): Remove rule.
32417         ($(objpfx)tst-array4-cmp.out): New rule.
32418         ($(objpfx)tst-array5.out): Remove rule.
32419         ($(objpfx)tst-array5-cmp.out): New rule.
32420         ($(objpfx)tst-array5-static.out): Remove rule.
32421         ($(objpfx)tst-array5-static-cmp.out): New rule.
32422         [$(run-built-tests) = yes] (tests): Depend on
32423         $(objpfx)order2-cmp.out.
32424         ($(objpfx)order2.out): Remove rule.
32425         ($(objpfx)order2-cmp.out): New rule.
32426         ($(objpfx)tst-initorder.out): Remove rule.
32427         [$(run-built-tests) = yes] (tests): Depend on
32428         $(objpfx)tst-initorder-cmp.out.
32429         ($(objpfx)tst-initorder-cmp.out): New rule.
32430         ($(objpfx)tst-initorder2.out): Remove rule.
32431         [$(run-built-tests) = yes] (tests): Depend on
32432         $(objpfx)tst-initorder2-cmp.out.
32433         ($(objpfx)tst-initorder2-cmp.out): New rule.
32434         [$(run-built-tests) = yes] (tests): Depend on
32435         $(objpfx)tst-unused-dep-cmp.out.
32436         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
32437         ($(objpfx)tst-unused-dep-cmp.out): New rule.
32438         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
32439         on $(objpfx)tst-setvbuf1-cmp.out.
32440         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
32441         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
32442         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
32443         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
32444         ($(objpfx)tst-svc.out): Remove rule.
32445         ($(objpfx)tst-svc-cmp.out): New rule.
32447 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
32449         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
32450         * ctype/ctype.h [__USE_MISC]: Likewise.
32451         * dirent/dirent.h [__USE_MISC]: Likewise.
32452         * grp/grp.h [__USE_MISC]: Likewise.
32453         * io/fcntl.h [__USE_MISC]: Likewise.
32454         * io/sys/stat.h [__USE_MISC]: Likewise.
32455         * libio/stdio.h [__USE_MISC]: Likewise.
32456         * posix/unistd.h [__USE_MISC]: Likewise.
32457         * pwd/pwd.h [__USE_MISC]: Likewise.
32458         * stdlib.h [__USE_MISC]: Likewise.
32459         * string/bits/string2.h [__USE_MISC]: Likewise.
32460         * string/string.h [__USE_MISC]: Likewise.
32461         * time/time.h [__USE_MISC]: Likewise.
32463 2014-02-13  Andreas Schwab  <schwab@suse.de>
32465         [BZ #16574]
32466         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
32467         second answer buffer if it was separately allocated.
32469 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
32471         * sysdeps/mips/math-tests.h: Include <features.h>.
32472         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32473         (ROUNDING_TESTS_long_double): Do not define.
32474         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32475         (EXCEPTION_TESTS_long_double): Likewise.
32476         * sysdeps/mips/mips64/libm-test-ulps: Update.
32478         * include/features.h (__USE_BSD): Remove macro definitions.
32479         (__USE_SVID): Likewise.
32480         (_BSD_SOURCE): Likewise.
32481         (_SVID_SOURCE): Likewise.
32482         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
32483         from definition of _DEFAULT_SOURCE.
32484         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
32485         [_DEFAULT_SOURCE].
32486         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
32487         * bits/mman.h [__USE_BSD]: Likewise.
32488         * bits/termios.h [__USE_BSD]: Likewise.
32489         * bits/waitstatus.h [__USE_BSD]: Likewise.
32490         * ctype/ctype.h [__USE_SVID]: Likewise.
32491         * dirent/dirent.h [__USE_BSD]: Likewise.
32492         * grp/grp.h [__USE_SVID]: Likewise.
32493         [__USE_BSD]: Likewise.
32494         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
32495         * io/fcntl.h [__USE_BSD]: Likewise.
32496         * io/ftw.h [__USE_BSD]: Likewise.
32497         * io/sys/stat.h [__USE_BSD]: Likewise.
32498         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
32499         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
32500         * libio/stdio.h [__USE_SVID]: Likewise.
32501         [__USE_BSD]: Likewise.
32502         * math/math.h [__USE_SVID]: Likewise.
32503         [__USE_BSD]: Likewise.
32504         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
32505         * misc/bits/syslog.h [__USE_BSD]: Likewise.
32506         * misc/search.h [__USE_SVID]: Likewise.
32507         * misc/sys/mman.h [__USE_BSD]: Likewise.
32508         * misc/sys/syslog.h [__USE_BSD]: Likewise.
32509         * misc/sys/uio.h [__USE_BSD]: Likewise.
32510         * posix/bits/unistd.h [__USE_BSD]: Likewise.
32511         * posix/glob.h [__USE_BSD]: Likewise.
32512         * posix/regex.h [__USE_BSD]: Likewise.
32513         * posix/sys/types.h [__USE_BSD]: Likewise.
32514         [__USE_SVID]: Likewise.
32515         * posix/sys/utsname.h [__USE_SVID]: Likewise.
32516         * posix/sys/wait.h [__USE_BSD]: Likewise.
32517         [__USE_SVID]: Likewise.
32518         * posix/unistd.h [__USE_BSD]: Likewise.
32519         [__USE_SVID]: Likewise.
32520         * pwd/pwd.h [__USE_SVID]: Likewise.
32521         * resolv/netdb.h [__USE_BSD]: Likewise.
32522         * setjmp/setjmp.h [__USE_BSD]: Likewise.
32523         * signal/signal.h [__USE_BSD]: Likewise.
32524         [__USE_SVID]: Likewise.
32525         * socket/sys/socket.h [__USE_BSD]: Likewise.
32526         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
32527         * stdlib/stdlib.h [__USE_BSD]: Likewise.
32528         [__USE_SVID]: Likewise.
32529         * string/bits/string2.h [__USE_BSD]: Likewise.
32530         [__USE_SVID]: Likewise.
32531         * string/bits/string3.h [__USE_BSD]: Likewise.
32532         * string/endian.h [__USE_BSD]: Likewise.
32533         * string/string.h [__USE_SVID]: Likewise.
32534         [__USE_BSD]: Likewise.
32535         * string/strings.h [__USE_BSD]: Likewise.
32536         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
32537         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
32538         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
32539         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
32540         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
32541         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
32542         Likewise.
32543         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
32544         Likewise.
32545         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
32546         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
32547         Likewise.
32548         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
32549         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
32550         Likewise.
32551         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
32552         Likewise.
32553         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
32554         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
32555         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
32556         Likewise.
32557         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
32558         Likewise.
32559         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
32560         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
32561         * termios/termios.h [__USE_BSD]: Likewise.
32562         * time/sys/time.h [__USE_BSD]: Likewise.
32563         * time/time.h [__USE_BSD]: Likewise.
32564         [__USE_SVID]: Likewise.
32566         * Makefile (subdir_targets): Remove subdir_lint.out.
32568         * stdio-common/Makefile (do-tst-unbputc): Remove target.
32569         (do-tst-printf): Likewise.
32570         (tests): Depend directly on $(objpfx)tst-unbputc.out and
32571         $(objpfx)tst-printf.out.
32573         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
32575         * Makerules (check-abi-%): Change target to
32576         $(objpfx)check-abi-%.out.
32577         (check-abi target): Update dependencies.
32578         (check-abi-pattern variable): Redirect output of diff to $@.
32579         (check-abi variable): Likewise.
32580         * elf/Makefile (check-abi): Update dependencies.
32582         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
32583         unused.
32584         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
32585         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
32586         subnormal range.
32587         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
32588         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
32589         value has largest subnormal exponent.
32590         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
32591         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
32592         * sysdeps/aarch64/soft-fp/sfp-machine.h
32593         (_FP_TININESS_AFTER_ROUNDING): New macro.
32594         * sysdeps/alpha/soft-fp/sfp-machine.h
32595         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32596         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32597         Likewise.
32598         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
32599         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32600         * sysdeps/mips/soft-fp/sfp-machine.h
32601         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32602         * sysdeps/powerpc/soft-fp/sfp-machine.h
32603         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32604         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32605         Likewise.
32606         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32607         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32608         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32609         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32610         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32611         Likewise.
32613 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
32615         [BZ #16545]
32616         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
32617         model 1.
32619 2014-02-12  Richard Henderson  <rth@redhat.com>
32621         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
32622         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
32623         * sysdeps/unix/sysv/linux/alpha: Move directory from
32624         ports/sysdeps/unix/sysv/linux/alpha.
32625         * README: Update listing for alpha-*-linux-gnu.
32627 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
32629         * include/features.h: Update comment documenting feature test
32630         macros.
32631         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
32632         _DEFAULT_SOURCE.
32633         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
32634         (_SVID_SOURCE): Likewise.
32635         (_DEFAULT_SOURCE): Update description of default features.
32636         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
32637         with _GNU_SOURCE.
32638         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
32639         (S_ISVTX): Likewise.
32640         * manual/math.texi (Mathematical Constants): Likewise.
32641         * manual/signal.texi (Interrupted Primitives): Likewise.
32642         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
32643         * math/test-matherr.c (_SVID_SOURCE): Do not define.
32644         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
32645         Don't refer to _SVID_SOURCE in warning text.
32647         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32649         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
32650         already defined.
32651         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
32652         * sysdeps/mips/dl-lookup.c: Remove.
32653         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
32655 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32657         [BZ #16447]
32658         * math/auto-libm-test-in: Add testcase for expl.
32659         * math/auto-libm-test-out: Regenerate.
32660         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
32661         calculation of unsafe.
32662         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
32664 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32666         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
32667         * sysdeps/unix/sysv/linux/aarch64: Move directory from
32668         ports/sysdeps/unix/sysv/linux/aarch64.
32669         * README: Update listing for aarch64*-*-linux-gnu.
32671 2014-02-11  Will Newton  <will.newton@linaro.org>
32673         * manual/probes.texi (Mathematical Function Probes): Use
32674         "triggered" instead of "hit".
32676         * manual/probes.texi (Internal Probes): Add documentation
32677         of setjmp, longjmp and longjmp_target probes.
32679         * include/stap-probe.h: Add comment about probe argument
32680         format.
32682         * malloc/mtrace.c (attribute_hidden): Remove unused macro
32683         definition.  (tr_where, tr_freehook, tr_mallochook,
32684         tr_reallochook, tr_memalignhook): Use ANSI protoype.
32686 2014-02-11  David S. Miller  <davem@davemloft.net>
32688         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
32689         processing int_tests.
32691 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
32693         * sysdeps/mips: Move directory from ports/sysdeps/mips.
32694         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
32695         * sysdeps/unix/sysv/linux/mips: Move directory from
32696         ports/sysdeps/unix/sysv/linux/mips.
32697         * README: Update listing for mips-*-linux-gnu and
32698         mips64-*-linux-gnu.
32700 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
32702         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
32703         * sysdeps/unix/sysv/linux/m68k: Move directory from
32704         ports/sysdeps/unix/sysv/linux/m68k.
32705         * README: Update listing for m68k-*-linux-gnu.
32707 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
32709         * sysdeps/tile: Move directory from ports/sysdeps/tile.
32710         * sysdeps/unix/sysv/linux/generic: Move directory from
32711         ports/sysdeps/unix/sysv/linux/generic.
32712         * sysdeps/unix/sysv/linux/tile: Move directory from
32713         ports/sysdeps/unix/sysv/linux/tile.
32714         * README: Update listing for tile*-*-linux-gnu.
32716 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
32718         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
32719         __builtin_expect.
32720         * benchtests/bench-memmem.c (simple_memmem): Likewise.
32721         * catgets/open_catalog.c (__open_catalog): Likewise.
32722         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
32723         * debug/confstr_chk.c: Likewise.
32724         * debug/fread_chk.c (__fread_chk): Likewise.
32725         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
32726         * debug/getgroups_chk.c: Likewise.
32727         * debug/mbsnrtowcs_chk.c: Likewise.
32728         * debug/mbsrtowcs_chk.c: Likewise.
32729         * debug/mbstowcs_chk.c: Likewise.
32730         * debug/memcpy_chk.c: Likewise.
32731         * debug/memmove_chk.c: Likewise.
32732         * debug/mempcpy_chk.c: Likewise.
32733         * debug/memset_chk.c: Likewise.
32734         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32735         * debug/strcat_chk.c (__strcat_chk): Likewise.
32736         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
32737         * debug/strncat_chk.c (__strncat_chk): Likewise.
32738         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
32739         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
32740         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
32741         * debug/wcpncpy_chk.c: Likewise.
32742         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32743         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
32744         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
32745         * debug/wcsncpy_chk.c: Likewise.
32746         * debug/wcsnrtombs_chk.c: Likewise.
32747         * debug/wcsrtombs_chk.c: Likewise.
32748         * debug/wcstombs_chk.c: Likewise.
32749         * debug/wmemcpy_chk.c: Likewise.
32750         * debug/wmemmove_chk.c: Likewise.
32751         * debug/wmempcpy_chk.c: Likewise.
32752         * debug/wmemset_chk.c: Likewise.
32753         * dirent/scandirat.c (SCANDIRAT): Likewise.
32754         * dlfcn/dladdr1.c (dladdr1): Likewise.
32755         * dlfcn/dladdr.c (dladdr): Likewise.
32756         * dlfcn/dlclose.c (dlclose_doit): Likewise.
32757         * dlfcn/dlerror.c (__dlerror): Likewise.
32758         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
32759         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
32760         * dlfcn/dlopen.c (dlopen_doit): Likewise.
32761         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
32762         * dlfcn/dlsym.c (dlsym_doit): Likewise.
32763         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
32764         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
32765         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
32766         Likewise.
32767         * elf/dl-conflict.c: Likewise.
32768         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32769         * elf/dl-dst.h: Likewise.
32770         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
32771         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
32772         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32773         * elf/dl-init.c (call_init, _dl_init): Likewise.
32774         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
32775         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
32776         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
32777         Likewise.
32778         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
32779         Likewise.
32780         * elf/dl-minimal.c (__libc_memalign): Likewise.
32781         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
32782         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32783         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
32784         * elf/dl-sym.c (do_sym): Likewise.
32785         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
32786         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
32787         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
32788         * elf/dl-writev.h (_dl_writev): Likewise.
32789         * elf/ldconfig.c (search_dir): Likewise.
32790         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
32791         (dl_main): Likewise.
32792         * elf/setup-vdso.h (setup_vdso): Likewise.
32793         * grp/compat-initgroups.c (compat_call): Likewise.
32794         * grp/fgetgrent.c (fgetgrent): Likewise.
32795         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
32796         * grp/putgrent.c (putgrent): Likewise.
32797         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32798         Likewise.
32799         * hurd/hurdinit.c: Likewise.
32800         * iconvdata/8bit-gap.c (struct): Likewise.
32801         * iconvdata/ansi_x3.110.c : Likewise.
32802         * iconvdata/big5.c : Likewise.
32803         * iconvdata/big5hkscs.c : Likewise.
32804         * iconvdata/cp1255.c: Likewise.
32805         * iconvdata/cp1258.c : Likewise.
32806         * iconvdata/cp932.c : Likewise.
32807         * iconvdata/euc-cn.c: Likewise.
32808         * iconvdata/euc-jisx0213.c : Likewise.
32809         * iconvdata/euc-jp.c: Likewise.
32810         * iconvdata/euc-jp-ms.c : Likewise.
32811         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
32812         * iconvdata/gb18030.c : Likewise.
32813         * iconvdata/gbbig5.c (const): Likewise.
32814         * iconvdata/gbgbk.c: Likewise.
32815         * iconvdata/gbk.c : Likewise.
32816         * iconvdata/ibm1364.c : Likewise.
32817         * iconvdata/ibm930.c : Likewise.
32818         * iconvdata/ibm932.c: Likewise.
32819         * iconvdata/ibm933.c : Likewise.
32820         * iconvdata/ibm935.c : Likewise.
32821         * iconvdata/ibm937.c : Likewise.
32822         * iconvdata/ibm939.c : Likewise.
32823         * iconvdata/ibm943.c: Likewise.
32824         * iconvdata/iso_11548-1.c: Likewise.
32825         * iconvdata/iso-2022-cn.c : Likewise.
32826         * iconvdata/iso-2022-cn-ext.c : Likewise.
32827         * iconvdata/iso-2022-jp-3.c: Likewise.
32828         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
32829         * iconvdata/iso-2022-kr.c : Likewise.
32830         * iconvdata/iso646.c (gconv_end): Likewise.
32831         * iconvdata/iso_6937-2.c : Likewise.
32832         * iconvdata/iso_6937.c : Likewise.
32833         * iconvdata/iso8859-1.c: Likewise.
32834         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
32835         * iconvdata/shift_jisx0213.c : Likewise.
32836         * iconvdata/sjis.c : Likewise.
32837         * iconvdata/t.61.c : Likewise.
32838         * iconvdata/tcvn5712-1.c : Likewise.
32839         * iconvdata/tscii.c: Likewise.
32840         * iconvdata/uhc.c : Likewise.
32841         * iconvdata/unicode.c (gconv_end): Likewise.
32842         * iconvdata/utf-16.c (gconv_end): Likewise.
32843         * iconvdata/utf-32.c (gconv_end): Likewise.
32844         * iconvdata/utf-7.c (base64): Likewise.
32845         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32846         * iconv/gconv_close.c (__gconv_close): Likewise.
32847         * iconv/gconv_open.c (__gconv_open): Likewise.
32848         * iconv/gconv_simple.c (internal_ucs4_loop_single)
32849         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
32850         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
32851         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
32852         (ucs4le_internal_loop_single): Likewise.
32853         * iconv/iconv.c (iconv): Likewise.
32854         * iconv/iconv_close.c: Likewise.
32855         * iconv/loop.c (SINGLE): Likewise.
32856         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
32857         * include/atomic.h: Likewise.
32858         * inet/inet6_option.c (option_alloc): Likewise.
32859         * intl/bindtextdom.c (set_binding_values): Likewise.
32860         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
32861         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
32862         * intl/localealias.c (read_alias_file): Likewise.
32863         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32864         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
32865         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
32866         * libio/fmemopen.c (fmemopen): Likewise.
32867         * libio/iofgets.c (_IO_fgets): Likewise.
32868         * libio/iofgets_u.c (fgets_unlocked): Likewise.
32869         * libio/iofgetws.c (fgetws): Likewise.
32870         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
32871         * libio/iogetdelim.c (_IO_getdelim): Likewise.
32872         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
32873         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
32874         * locale/findlocale.c (_nl_find_locale): Likewise.
32875         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32876         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
32877         Likewise.
32878         * locale/setlocale.c (setlocale): Likewise.
32879         * login/programs/pt_chown.c (main): Likewise.
32880         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
32881         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
32882         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
32883         (mmap, mmap64, mremap, munmap): Likewise.
32884         * math/e_exp2l.c: Likewise.
32885         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
32886         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
32887         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
32888         * math/s_catan.c (__catan): Likewise.
32889         * math/s_catanf.c (__catanf): Likewise.
32890         * math/s_catanh.c (__catanh): Likewise.
32891         * math/s_catanhf.c (__catanhf): Likewise.
32892         * math/s_catanhl.c (__catanhl): Likewise.
32893         * math/s_catanl.c (__catanl): Likewise.
32894         * math/s_ccosh.c (__ccosh): Likewise.
32895         * math/s_ccoshf.c (__ccoshf): Likewise.
32896         * math/s_ccoshl.c (__ccoshl): Likewise.
32897         * math/s_cexp.c (__cexp): Likewise.
32898         * math/s_cexpf.c (__cexpf): Likewise.
32899         * math/s_cexpl.c (__cexpl): Likewise.
32900         * math/s_clog10.c (__clog10): Likewise.
32901         * math/s_clog10f.c (__clog10f): Likewise.
32902         * math/s_clog10l.c (__clog10l): Likewise.
32903         * math/s_clog.c (__clog): Likewise.
32904         * math/s_clogf.c (__clogf): Likewise.
32905         * math/s_clogl.c (__clogl): Likewise.
32906         * math/s_csin.c (__csin): Likewise.
32907         * math/s_csinf.c (__csinf): Likewise.
32908         * math/s_csinh.c (__csinh): Likewise.
32909         * math/s_csinhf.c (__csinhf): Likewise.
32910         * math/s_csinhl.c (__csinhl): Likewise.
32911         * math/s_csinl.c (__csinl): Likewise.
32912         * math/s_csqrt.c (__csqrt): Likewise.
32913         * math/s_csqrtf.c (__csqrtf): Likewise.
32914         * math/s_csqrtl.c (__csqrtl): Likewise.
32915         * math/s_ctan.c (__ctan): Likewise.
32916         * math/s_ctanf.c (__ctanf): Likewise.
32917         * math/s_ctanh.c (__ctanh): Likewise.
32918         * math/s_ctanhf.c (__ctanhf): Likewise.
32919         * math/s_ctanhl.c (__ctanhl): Likewise.
32920         * math/s_ctanl.c (__ctanl): Likewise.
32921         * math/w_pow.c: Likewise.
32922         * math/w_powf.c: Likewise.
32923         * math/w_powl.c: Likewise.
32924         * math/w_scalb.c (sysv_scalb): Likewise.
32925         * math/w_scalbf.c (sysv_scalbf): Likewise.
32926         * math/w_scalbl.c (sysv_scalbl): Likewise.
32927         * misc/error.c (error_tail): Likewise.
32928         * misc/pselect.c (__pselect): Likewise.
32929         * nis/nis_callback.c (__nis_create_callback): Likewise.
32930         * nis/nis_call.c (__nisfind_server): Likewise.
32931         * nis/nis_creategroup.c (nis_creategroup): Likewise.
32932         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
32933         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
32934         * nis/nis_getservlist.c (nis_getservlist): Likewise.
32935         * nis/nis_lookup.c (nis_lookup): Likewise.
32936         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
32937         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
32938         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
32939         * nis/nis_xdr.c (xdr_endpoint): Likewise.
32940         * nis/nss_compat/compat-grp.c (getgrent_next_file)
32941         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
32942         * nis/nss_compat/compat-initgroups.c (add_group)
32943         (internal_getgrent_r): Likewise.
32944         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
32945         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
32946         * nis/nss_compat/compat-spwd.c (getspent_next_file)
32947         (internal_getspnam_r): Likewise.
32948         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
32949         (_nss_nis_getaliasbyname_r): Likewise.
32950         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
32951         (_nss_nis_getntohost_r): Likewise.
32952         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
32953         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
32954         (_nss_nis_getgrgid_r): Likewise.
32955         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
32956         (internal_nis_gethostent_r, internal_gethostbyname2_r)
32957         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
32958         (_nss_nis_gethostbyname4_r): Likewise.
32959         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
32960         (initgroups_netid): Likewise.
32961         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
32962         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
32963         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
32964         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
32965         (_nss_nis_getprotobynumber_r): Likewise.
32966         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
32967         (_nss_nis_getsecretkey): Likewise.
32968         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
32969         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
32970         (_nss_nis_getpwuid_r): Likewise.
32971         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
32972         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
32973         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
32974         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
32975         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
32976         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
32977         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
32978         Likewise.
32979         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
32980         (_nss_nisplus_getntohost_r): Likewise.
32981         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
32982         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
32983         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
32984         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
32985         Likewise.
32986         * nis/nss_nisplus/nisplus-initgroups.c
32987         (_nss_nisplus_initgroups_dyn): Likewise.
32988         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
32989         (_nss_nisplus_getnetbyaddr_r): Likewise.
32990         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
32991         (_nss_nisplus_getprotobynumber_r): Likewise.
32992         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
32993         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
32994         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
32995         Likewise.
32996         * nis/nss_nisplus/nisplus-service.c
32997         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
32998         (_nss_nisplus_getservbyport_r): Likewise.
32999         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
33000         (_nss_nisplus_getspnam_r): Likewise.
33001         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
33002         Likewise.
33003         * nscd/aicache.c (addhstaiX): Likewise.
33004         * nscd/cache.c (cache_search, prune_cache): Likewise.
33005         * nscd/connections.c (register_traced_file, send_ro_fd)
33006         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
33007         (main_loop_epoll): Likewise.
33008         * nscd/grpcache.c (addgrbyX): Likewise.
33009         * nscd/hstcache.c (addhstbyX): Likewise.
33010         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33011         * nscd/mem.c (gc, mempool_alloc): Likewise.
33012         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
33013         (addinnetgrX): Likewise.
33014         * nscd/nscd-client.h (__nscd_acquire_maplock)
33015         (__nscd_drop_map_ref): Likewise.
33016         * nscd/nscd_getai.c (__nscd_getai): Likewise.
33017         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33018         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
33019         Likewise.
33020         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33021         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33022         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
33023         (__nscd_get_map_ref): Likewise.
33024         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33025         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
33026         Likewise.
33027         * nscd/pwdcache.c (addpwbyX): Likewise.
33028         * nscd/selinux.c (preserve_capabilities): Likewise.
33029         * nscd/servicescache.c (addservbyX): Likewise.
33030         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
33031         * posix/fnmatch.c (fnmatch): Likewise.
33032         * posix/getopt.c (_getopt_internal_r): Likewise.
33033         * posix/glob.c (glob, glob_in_dir): Likewise.
33034         * posix/wordexp.c (exec_comm_child): Likewise.
33035         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
33036         (getanswer_r, gaih_getanswer_slice): Likewise.
33037         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
33038         * resolv/res_init.c: Likewise.
33039         * resolv/res_mkquery.c (res_nmkquery): Likewise.
33040         * resolv/res_query.c (__libc_res_nquery): Likewise.
33041         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
33042         Likewise.
33043         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
33044         * stdio-common/perror.c (perror): Likewise.
33045         * stdio-common/printf_fp.c (___printf_fp): Likewise.
33046         * stdio-common/tmpnam.c (tmpnam): Likewise.
33047         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33048         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33049         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33050         Likewise.
33051         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
33052         * stdlib/putenv.c (putenv): Likewise.
33053         * stdlib/setenv.c (__add_to_environ): Likewise.
33054         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33055         * stdlib/strtol_l.c (INTERNAL): Likewise.
33056         * string/memmem.c (memmem): Likewise.
33057         * string/strerror.c (strerror): Likewise.
33058         * string/strnlen.c (__strnlen): Likewise.
33059         * string/test-memmem.c (simple_memmem): Likewise.
33060         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
33061         * sunrpc/pm_getport.c (__get_socket): Likewise.
33062         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
33063         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
33064         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
33065         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
33066         Likewise.
33067         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
33068         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33069         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33070         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
33071         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33072         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
33073         Likewise.
33074         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
33075         Likewise.
33076         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33077         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33078         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33079         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33080         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
33081         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
33082         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33083         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
33084         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33085         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
33086         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33087         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
33088         Likewise.
33089         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
33090         Likewise.
33091         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
33092         Likewise.
33093         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
33094         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33095         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
33096         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
33097         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
33098         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
33099         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33100         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
33101         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
33102         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
33103         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
33104         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33105         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33106         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
33107         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33108         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33109         Likewise.
33110         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
33111         Likewise.
33112         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
33113         Likewise.
33114         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
33115         Likewise.
33116         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33117         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33118         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
33119         Likewise.
33120         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
33121         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
33122         * sysdeps/posix/opendir.c (__opendirat): Likewise.
33123         * sysdeps/posix/sleep.c: Likewise.
33124         * sysdeps/posix/tempname.c: Likewise.
33125         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
33126         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33127         Likewise.
33128         * sysdeps/powerpc/powerpc32/dl-machine.h
33129         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
33130         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33131         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33132         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
33133         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
33134         Likewise.
33135         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
33136         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
33137         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33138         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
33139         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33140         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
33141         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
33142         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
33143         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33144         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
33145         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
33146         (elf_machine_lazy_rel): Likewise.
33147         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33148         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
33149         (elf_machine_lazy_rel): Likewise.
33150         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
33151         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
33152         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
33153         * sysdeps/unix/grantpt.c (grantpt): Likewise.
33154         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
33155         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
33156         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33157         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33158         Likewise.
33159         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
33160         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
33161         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
33162         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
33163         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33164         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33165         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
33166         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
33167         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
33168         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33169         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33170         Likewise.
33171         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
33172         (__posix_fallocate64_l64): Likewise.
33173         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
33174         (posix_fallocate): Likewise.
33175         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
33176         Likewise.
33177         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33178         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
33179         (getifaddrs_internal): Likewise.
33180         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
33181         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
33182         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
33183         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33184         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33185         (__posix_fallocate64_l64): Likewise.
33186         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33187         Likewise.
33188         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
33189         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
33190         (__get_clockfreq): Likewise.
33191         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
33192         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33193         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
33194         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33195         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33196         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
33197         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
33198         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
33199         Likewise.
33200         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
33201         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
33202         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
33203         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
33204         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33205         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
33206         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
33207         Likewise.
33208         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33209         (posix_fallocate): Likewise.
33210         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33211         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
33212         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
33213         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
33214         (elf_machine_rela, elf_machine_rela_relative)
33215         (elf_machine_lazy_rel): Likewise.
33216         * time/asctime.c (asctime_internal): Likewise.
33217         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
33218         * time/tzset.c (__tzset_parse_tz): Likewise.
33219         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33220         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33221         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
33222         * wcsmbs/wcsmbsload.h: Likewise.
33224         [BZ #15894]
33225         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
33227         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
33228         (arena_get2): Remove THREAD_STATS conditionals.
33229         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
33230         (__malloc_stats, int): Likewise.
33232 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
33234         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
33235         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
33237         * manual/setjmp.texi: Fix typos/grammar errors.
33239         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
33240         Only return early when n is <= 0.  Delete unused return statement.
33242         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
33243         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
33244         * debug/tst-longjmp_chk3.c: New file.
33246         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
33247         (test_main): Replace code with set_fortify_handler call.
33248         * debug/test-strcpy_chk.c: Likewise.
33249         * debug/tst-chk1.c: Likewise.
33250         * debug/tst-longjmp_chk.c: Likewise.
33251         * test-skeleton.c: Include fcntl.h & paths.h
33252         (set_fortify_handler): Define.
33254         * debug/tst-longjmp_chk.c: Add header comment and include
33255         ../test-skeleton.c.
33256         (do_test): Mark static.
33257         (TEST_FUNCTION): Define.
33259         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
33260         (IP_PMTUDISC_INTERFACE): Likewise.
33261         (IP_MULTICAST_IF): Likewise.
33262         (IP_MULTICAST_TTL): Likewise.
33263         (IP_MULTICAST_LOOP): Likewise.
33264         (IP_ADD_MEMBERSHIP): Likewise.
33265         (IP_DROP_MEMBERSHIP): Likewise.
33266         (IP_UNBLOCK_SOURCE): Likewise.
33267         (IP_BLOCK_SOURCE): Likewise.
33268         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
33269         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
33270         (IP_MSFILTER): Likewise.
33271         (MCAST_JOIN_GROUP): Likewise.
33272         (MCAST_BLOCK_SOURCE): Likewise.
33273         (MCAST_UNBLOCK_SOURCE): Likewise.
33274         (MCAST_LEAVE_GROUP): Likewise.
33275         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33276         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33277         (MCAST_MSFILTER): Likewise.
33278         (IP_MULTICAST_ALL): Likewise.
33279         (IP_UNICAST_IF): Likewise.
33281         * timezone/Makefile: Delete $(have-ksh) check.
33282         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
33283         * timezone/tzselect.ksh: Add +x mode bits.
33285         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
33286         (ANON_INODE_FS_MAGIC): Likewise.
33287         (BDEVFS_MAGIC): Likewise.
33288         (BINFMTFS_MAGIC): Likewise.
33289         (BTRFS_TEST_MAGIC): Likewise.
33290         (CRAMFS_MAGIC_WEND): Likewise.
33291         (DEBUGFS_MAGIC): Likewise.
33292         (ECRYPTFS_SUPER_MAGIC): Likewise.
33293         (EXT3_SUPER_MAGIC): Likewise.
33294         (EXT4_SUPER_MAGIC): Likewise.
33295         (FUTEXFS_SUPER_MAGIC): Likewise.
33296         (HOSTFS_SUPER_MAGIC): Likewise.
33297         (HUGETLBFS_MAGIC): Likewise.
33298         (MINIX3_SUPER_MAGIC): Likewise.
33299         (MTD_INODE_FS_MAGIC): Likewise.
33300         (NILFS_SUPER_MAGIC): Likewise.
33301         (OPENPROM_SUPER_MAGIC): Likewise.
33302         (PIPEFS_MAGIC): Likewise.
33303         (PSTOREFS_MAGIC): Likewise.
33304         (QNX6_SUPER_MAGIC): Likewise.
33305         (RAMFS_MAGIC): Likewise.
33306         (REISERFS_SUPER_MAGIC_STRING): Likewise.
33307         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
33308         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
33309         (SECURITYFS_MAGIC): Likewise.
33310         (SELINUX_MAGIC): Likewise.
33311         (SMACK_MAGIC): Likewise.
33312         (SOCKFS_MAGIC): Likewise.
33313         (SQUASHFS_MAGIC): Likewise.
33314         (STACK_END_MAGIC): Likewise.
33315         (TMPFS_MAGIC): Likewise.
33316         (USBDEVICE_SUPER_MAGIC): Likewise.
33317         (V9FS_MAGIC): Likewise.
33318         (XENFS_SUPER_MAGIC): Likewise.
33319         (CRAMFS_MAGIC): Fix typo in comment.
33320         (EXT2_SUPER_MAGIC): Update comment.
33321         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
33323 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
33325         * sysdeps/arm: Move directory from ports/sysdeps/arm.
33326         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
33327         * sysdeps/unix/sysv/linux/arm: Move directory from
33328         ports/sysdeps/unix/sysv/linux/arm.
33329         * README: Update listing for arm-*-linux-gnueabi.
33331         * README: Remove mention of am33.
33333 2014-02-07  Roland McGrath  <roland@hack.frob.com>
33335         * bits/sigset.h (__sigemptyset): Use a statement expression rather
33336         than the comma operator, to avoid "rhs of comma has no effect"
33337         compiler warnings.
33338         (__sigfillset, __sigandset, __sigorset): Likewise.
33339         * include/signal.h (__sigemptyset): Likewise.
33340         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
33342 2014-02-07  Allan McRae  <allan@archlinux.org>
33344         * version.h (RELEASE): Set to "development".
33345         (VERSION): Set to "2.19.90"
33346         * NEWS: Add 2.20 section.
33348 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
33350         [BZ #16529]
33351         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
33353 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33355         * manual/contrib.texi: Update entry for Carlos O'Donell,
33356         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
33358 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
33360         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
33362         * sysdeps/unix/sysv/linux/kernel-features.h
33363         [__LINUX_KERNEL_VERSION >= 0x020621]
33364         (__ASSUME_PROC_PID_TASK_COMM): Define.
33366 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33368         [BZ #16398]
33369         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
33370         conversion when destination buffer does not have enough space.
33371         * libio/tst-ftell-partial-wide.c: New test case.
33372         * libio/Makefile (tests): Add tst-ftell-partial-wide.
33374         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
33375         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
33376         Leonard and Allan McRae.
33378 2014-02-04  David S. Miller  <davem@davemloft.net>
33380         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
33381         32-bit.
33383 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33386         New file
33387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33388         New file
33389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33390         New file.
33391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33392         New file.
33393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33394         New file.
33395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33396         New file.
33397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33398         New file.
33399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33400         New file.
33401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33402         New file.
33403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33404         New file.
33405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33406         New file.
33407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33408         New file.
33409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33410         New file.
33412 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33414         * nptl/shlib-versions: Change powerpc*le start to 2.17.
33415         * shlib-versions: Likewise.
33417 2014-02-04  Roland McGrath  <roland@hack.frob.com>
33418             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33420         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
33421         (abilist-pattern): New variable, set to %-le.abilist.
33423         * Makerules (abilist-pattern): New variable.
33424         (vpath): Use $(abilist-pattern) in place of %.abilist.
33425         (check-abi-% pattern rule): Likewise.
33426         (check-abi, update-abi): Likewise.
33428 2014-02-04  Eric Wong  <normalperson@yhbt.net>
33430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33432 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
33434         * manual/startup.texi: Add next, previous, and top entries for
33435         the `Program Arguments' and `Environment Variables' nodes.
33437 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
33439         * manual/macros.texi: Add comments before MTASC-safety macros.
33441         * manual/users.texi: Document MTASC-safety properties.
33443         * manual/threads.texi (pthread_key_create, pthread_key_delete)
33444         (pthread_getspecific, pthread_setspecific): Format with
33445         @deftypefun, and add @safety note.
33446         * manual/signal.texi: Move comments that analyze the above
33447         functions to their home place.
33449 2014-02-03  Allan McRae  <allan@archlinux.org>
33451         * po/sl.po: Update Slovenian translation from translation project.
33453 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
33455         * manual/time.texi (timegm): Add missing blank after @c.
33456         Reported by Joseph Myers <joseph@codesourcery.com>.
33458 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
33460         * manual/check-safety.sh: New.
33461         * manual/Makefile ($(objpfx)stamp-summary): Run it.
33463         * manual/terminal.texi: Document MTASC-safety properties.
33465         * manual/filesys.texi: Document MTASC-safety properties.
33467         * manual/errno.texi: Document MTASC-safety properties.
33469         * manual/intro.texi: Document safety identifiers and
33470         conditionals.
33472         * manual/string.texi (wcstok): Fix prototype.
33473         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
33475         * manual/time.texi: Document MTASC-safety properties.
33477         * manual/string.texi: Document MTASC-safety properties.
33479         * manual/threads.texi: Document MTASC-safety properties.
33481         * manual/stdio.texi: Document MTASC-safety properties.
33483         * manual/syslog.texi: Document MTASC-safety properties.
33485         * manual/sysinfo.texi: Document MTASC-safety properties.
33487         * manual/startup.texi: Document MTASC-safety properties.
33489         * manual/socket.texi: Document MTASC-safety properties.
33491         * manual/signal.texi: Document MTASC-safety properties.
33493 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
33495         * manual/setjmp.texi: Document MTASC-safety properties.
33497         * manual/search.texi: Document MTASC-safety properties.
33499         * manual/resource.texi: Document MTASC-safety properties.
33501         * manual/process.texi: Document MTASC-safety properties.
33503         * manual/platform.texi: Document MTASC-safety properties.
33505         * manual/pipe.texi: Document MTASC-safety properties.
33507         * manual/pattern.texi: Document MTASC-safety properties.
33509         * manual/message.texi: Document MTASC-safety properties.
33511         [BZ #12751]
33512         * manual/memory.texi: Document MTASC-safety properties.
33514         * manual/math.texi: Document MTASC-safety properties.
33516         * manual/locale.texi: Document MTASC-safety properties.
33518         * manual/llio.texi: Document MTASC-safety properties.
33520         * manual/libdl.texi: New.
33522         * manual/lang.texi: Document MTASC-safety properties.
33524         * manual/job.texi: Document MTASC-safety properties.
33526         * manual/getopt.texi: Document MTASC-safety properties.
33528         * manual/ctype.texi: Document MTASC-safety properties.
33530 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
33532         [BZ #16046]
33533         * csu/libc-tls.c (static_map): Remove variable.
33534         (__libc_setup_tls): Use main executable's link map for TLS data.
33535         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
33536         casing for LM_ID_BASE and GL(dl_nns).
33537         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
33538         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
33539         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
33540         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
33541         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
33542         member.
33543         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
33544         l_phnum members.
33546 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
33548         * manual/debug.texi: Document MTASC-safety properties.
33550 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
33552         [BZ #16510]
33553         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
33554         of __x86_64__ when disabling x87 inline functions.
33556 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
33558         * manual/charset.texi: Document MTASC-safety properties.
33560         * manual/crypt.texi: Document MTASC-safety properties.
33562         * manual/conf.texi: Document MTASC-safety properties.
33564         * manual/arith.texi: Document MTASC-safety properties.
33566         * manual/argp.texi: Document MTASC-safety properties.
33568         * manual/macros.texi: Introduce macros to document multi
33569         thread, asynchronous signal and asynchronous cancellation
33570         safety properties.
33571         * manual/intro.texi: Introduce the properties themselves.
33573 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33575         * sysdeps/sh/sh4/Makefile: New file.
33577 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
33579         * math/gen-libm-test.pl ($srcdir): New variable.
33580         ($auto_input): Use it.
33582 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33584         [BZ #16506]
33585         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
33586         access beyond array bounds when parsing netgroups file.
33588         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
33589         the old buffer before realloc.
33591 2014-01-27  Allan McRae  <allan@archlinux.org>
33593         * po/fr.po: Update French translation from translation project.
33595 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33597         * sysdeps/sh/libm-test-ulps: Regenerate.
33599 2014-01-24  David S. Miller  <davem@davemloft.net>
33601         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
33603 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33605         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
33606         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
33608 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33610         [BZ #16474]
33611         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
33612         string pointers after reallocation.
33614 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33616         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
33617         __SH4A__ instead of __SH_FPU_ANY__.
33619 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33621         * sysdeps/sh/fpu_control.h: New file.
33622         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
33623         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
33624         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
33625         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
33626         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
33627         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
33628         * sysdeps/sh/sys/ucontext.h: Remove.
33629         * sysdeps/sh/sys: Remove directory.
33631 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33633         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
33634         s390/sys/ucontext.h.
33635         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
33636         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
33638 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
33640         [BZ #15605]
33641         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
33643 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33645         [BZ#16431]
33646         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33647         Adjust the vDSO correctly for internal calls.
33648         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
33650 2014-01-20  Allan McRae  <allan@archlinux.org>
33652         * po/ca.po: Update Catalan translation from translation project.
33654 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
33656         * sysdeps/s390/sotruss-lib.c: New file.
33658 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33660         [BZ#16430]
33661         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
33662         (__GI___gettimeofday): Alias for a different internal symbol to avoid
33663         local calls issues by not having a PLT stub required for IFUNC calls.
33664         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
33666 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
33668         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
33669         * math/test-fpucw-static.c: Likewise.
33671 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33673         [BZ #16453]
33674         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
33676 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33678         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
33679         implementation for powerpc.
33681 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
33683         [BZ #14782]
33684         * sysdeps/posix/system.c (__libc_system): Do not enable
33685         asynchronous cancellation.
33687 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33689         [BZ #16427]
33690         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
33691         handling only for numbers special also in the IEEE case.
33693 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33695         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33697 2014-01-11  Allan McRae  <allan@archlinux.org>
33699         * po/bg.po: Update Bulgarian translation from translation project.
33701         * po/de.po: Update German translation from translation project.
33703 2014-01-10  Roland McGrath  <roland@hack.frob.com>
33705         * sysdeps/generic/gcc-compat.h: New file.
33707 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33709         * benchtests/asin-inputs: Correct slow inputs.
33710         * benchtests/acos-inputs: Likewise.
33712 2014-01-10  Allan McRae  <allan@archlinux.org>
33714         * po:sv.po: Update Swedish translation from translation project.
33716         * po/vi.po: Update Vietnamese translation from translation project.
33718         * po/eo.po: Update Esperanto translation from translation project.
33720         * po/cs.po: Update Czech translation from translation project.
33722         * po/nl.po: Update Dutch translation from translation project.
33724         * po/pl.po: Update Polish translation from translation project.
33726         * po/ru.po: Update Russian translation from translation project.
33728         * po/uk.po: Update Ukrainian translation from translation project.
33730 2014-01-08  Brooks Moses  <bmoses@google.com>
33732         * elf/dl-load.c: Fix comment typo.
33734 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
33736         * po/header.pot: Rename to...
33737         * po/pot.header: ... this.
33738         * po/Makefile: Use pot.header.
33740 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
33741             Maxim Kuvyrkov  <maxim@kugelworks.com>
33743         [BZ #16394]
33744         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
33745         SRC and DEST against LEN.
33747 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33749         [BZ #16414]
33750         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
33751         implementation.
33752         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
33754 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33758 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
33760         [BZ #16408]
33761         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
33762         for large positive arguments.
33764 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
33766         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33768         * math/auto-libm-test-in: Mark various tests with
33769         xfail-rounding:ldbl-128ibm.
33770         * math/auto-libm-test-out: Regenerated.
33772         [BZ #16407]
33773         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33774         Increase overflow threshold.
33776 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
33778         [BZ #14286]
33779         * stdio-common/vfprintf.c: Check for integer overflow.
33781 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33783         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
33784         the first argument and return value of __tls_get_addr_internal.
33786 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33788         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
33789         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
33791 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33793         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
33794         * sysdeps/s390/rtld-global-offsets.sym: New file.
33795         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
33796         GLIBC_2.19 symbol.
33797         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
33798         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
33799         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33800         ... this.
33801         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
33802         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33803         ... this.
33804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33805         Regenerate.
33806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33807         Regenerate.
33808         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
33809         halfs of GPRs for high_gprs contexts.
33810         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
33811         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
33812         field.
33813         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
33814         uc_flags field.
33815         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
33816         64 bit versions:
33817         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
33818         for high GPRs (uc_high_gprs) and for future extensions
33819         (__reserved).
33820         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
33821         for future extensions (__reserved).
33822         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
33823         64 bit versions:
33824         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
33825         SC_HIGHGPRS offset definition.
33826         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
33827         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
33829         * Versions.def: Add GLIBC_2.19 for libpthread.
33830         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
33831         siglongjmp for libpthread with GLIBC_2.19 symver.
33832         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
33833         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
33834         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
33835         * sysdeps/s390/__longjmp.c: New file.
33836         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
33837         * sysdeps/s390/longjmp.c: New file.
33838         * sysdeps/s390/setjmp.S: New file.
33839         * sysdeps/s390/sigjmp.S: New file.
33840         * sysdeps/s390/v1-longjmp.c: New file.
33841         * sysdeps/s390/v1-setjmp.h: New file.
33842         * sysdeps/s390/v1-sigjmp.c: New file.
33843         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
33844         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
33845         GLIBC_2.19 version.
33846         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
33847         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
33848         versioned symbols for ____longjmp_chk.
33849         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33850         Likewise.
33851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33852         Regenerate.
33853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33854         Regenerate.
33855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33856         Regenerate.
33857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33858         Regenerate.
33859         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
33860         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
33861         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
33862         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
33863         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
33864         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
33865         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
33866         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
33867         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
33868         * sysdeps/s390/rtld-__longjmp.c: New file.
33869         * sysdeps/s390/rtld-setjmp.S: New file.
33871 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
33873         [BZ #16400]
33874         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33875         Return -__logl (x) for small positive arguments without evaluating
33876         a polynomial.
33878 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
33880         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
33881         Rename to ...
33882         (__ptrace_peeksiginfo_args): ... this.
33883         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33884         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33885         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33887 2014-01-06  Allan McRae  <allan@archlinux.org>
33889         * inet/netinet/in.h: Fix typo in comment.
33891 2014-01-05  Andreas Jaeger  <aj@suse.de>
33893         * sysdeps/i386/fpu/libm-test-ulps: Update.
33895 2014-01-05  Allan McRae  <allan@archlinux.org>
33897         * po/libc.pot: Regenerated.
33899         * malloc/memusagestat.c: Fix gettext call formatting.
33901 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
33903         * nscd/nscd.c: Improve usage() output.
33905 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
33907         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
33908         * sysdeps/unix/sysv/linux/configure: Regenerated.
33909         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
33910         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
33912 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33914         [BZ #16390]
33915         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
33916         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
33918 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33920         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
33921         extra tokens at end of #undef directive.
33922         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
33923         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
33924         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33926 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33928         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33930         * math/auto-libm-test-in: Mark various tests with
33931         xfail-rounding:ldbl-128ibm.
33932         * math/auto-libm-test-out: Regenerated.
33934 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
33936         [BZ #16386]
33937         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
33938         numbers with subnormal high part when calculating exponent.
33940         [BZ #16385]
33941         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
33942         fabs.
33944         [BZ #16384]
33945         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
33946         M_LN2l.
33947         (__ieee754_acoshl): Use __log1pl not __log1p.
33949 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
33951         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
33952         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
33953         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
33954         (grow_heap, heap_trim, _int_new_arena, get_free_list)
33955         (reused_arena, arena_get2): Convert to GNU style.
33956         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
33957         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
33958         (memalign_check, __malloc_set_state): Likewise.
33959         * malloc/mallocbug.c (main): Likewise.
33960         * malloc/malloc.c (__malloc_assert, malloc_init_state)
33961         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
33962         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
33963         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
33964         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
33965         (__posix_memalign, malloc_info): Likewise.
33966         * malloc/malloc.h: Likewise.
33967         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
33968         (mallochook, memalignhook, reallochook, mabort): Likewise.
33969         * malloc/mcheck.h: Likewise.
33970         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
33971         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
33972         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
33973         * malloc/morecore.c (__default_morecore): Likewise.
33974         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
33975         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
33976         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
33977         (print_and_abort): Likewise.
33978         * malloc/obstack.h: Likewise.
33979         * malloc/set-freeres.c (__libc_freeres): Likewise.
33980         * malloc/tst-mallocstate.c (main): Likewise.
33981         * malloc/tst-mtrace.c (main): Likewise.
33982         * malloc/tst-realloc.c (do_test): Likewise.
33984 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33986         [BZ #16366]
33987         * nscd/netgroupcache.c (do_notfound): New function.
33988         (addgetnetgrentX): Use it.
33990         [BZ # 16365]
33991         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
33992         NSS_STATUS_NOTFOUND.
33994 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
33996         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33999 2014-01-01  Allan McRae  <allan@archlinux.org>
34001         * scripts/update-copyrights: Update configure input file suffix.
34003         * NEWS: Update copyright year.
34004         * catgets/gencat.c: Likewise.
34005         * csu/version.c: Likewise.
34006         * debug/catchsegv.sh: Likewise.
34007         * debug/pcprofiledump.c: Likewise.
34008         * debug/xtrace.sh: Likewise.
34009         * elf/ldconfig.c: Likewise.
34010         * elf/ldd.bash.in: Likewise.
34011         * elf/pldd.c: Likewise.
34012         * elf/sotruss.ksh: Likewise.
34013         * elf/sprof.c: Likewise.
34014         * iconv/iconv_prog.c: Likewise.
34015         * iconv/iconvconfig.c: Likewise.
34016         * locale/programs/locale.c: Likewise.
34017         * locale/programs/localedef.c: Likewise.
34018         * login/programs/pt_chown.c: Likewise.
34019         * malloc/memusage.sh: Likewise.
34020         * malloc/memusagestat.c: Likewise.
34021         * malloc/mtrace.pl: Likewise.
34022         * manual/libc.texinfo: Likewise.
34023         * nscd/nscd.c: Likewise.
34024         * nss/getent.c: Likewise.
34025         * nss/makedb.c: Likewise.
34026         * posix/getconf.c: Likewise.
34027         * scripts/test-installation.pl: Likewise.
34029         * All files with FSF copyright notices: Update copyright dates
34030         using scripts/update-copyrights.
34031         * intl/plural.c: Regenerated.
34032         * locale/programs/charmap-kw.h: Likewise.
34033         * locale/programs/locfile-kw.h: Likewise.
34035 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
34037         * sysdeps/unix/sysv/linux/configure: Regenerated.
34038         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
34039         the linux/fanotify.h header.
34040         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
34041         HAVE_LINUX_FANOTIFY_H is defined.
34043 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34045         * benchtests/cos-inputs: New inputs.
34046         * benchtests/sin-inputs: Likewise.
34048         * benchtests/atan-inputs: New inputs. Fix name of multiple
34049         precision fallback inputs.
34051         * benchtests/atanh-inputs: New inputs.
34052         * benchtests/tanh-inputs: Likewise.
34054         * benchtests/acosh-inputs: New inputs.
34055         * benchtests/asinh-inputs: Likewise.
34057         * benchtests/cosh-inputs: New inputs.
34058         * benchtests/sinh-inputs: Likewise.
34060         * benchtests/acos-inputs: Add more inputs.
34061         * benchtests/asin-inputs: Likewise.
34063 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
34065         [BZ #16375]
34066         * manual/arith.texi: Fix spelling.
34067         * manual/charset.texi: Likewise.
34068         * manual/errno.texi: Likewise.
34069         * manual/filesys.texi: Likewise.
34070         * manual/lang.texi: Likewise.
34071         * manual/llio.texi: Likewise.
34072         * manual/locale.texi: Likewise.
34073         * manual/message.texi: Likewise.
34074         * manual/resource.texi: Likewise.
34075         * manual/search.texi: Likewise.
34076         * manual/setjmp.texi: Likewise.
34077         * manual/stdio.texi: Likewise.
34078         * manual/string.texi: Likewise.
34079         * manual/sysinfo.texi: Likewise.
34080         * manual/time.texi: Likewise.
34082 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
34084         * po/sl.po: New file.
34086 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
34088         * .gitignore: Add core/.gdbinit/.gdb_history.
34090 2013-12-27  Allan McRae  <allan@archlinux.org>
34092         [BZ #16369]
34093         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
34094         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
34096 2013-12-24  Brooks Moses  <bmoses@google.com>
34098         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
34099         all compilers that claim C++98 compliance, not just GCC.
34100         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34101         Likewise.
34103 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34105         * NEWS: Restore accidentally deleted bug-fix entries.
34107 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
34108             Ondřej Bílka  <neleai@seznam.cz>
34110         [BZ #15073]
34111         * malloc/malloc.c (_int_free): Perform sanity check only if we
34112         have_lock.
34114 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
34116         [BZ #12986]
34117         * manual/stdio.texi (String Input Conversions): Clarify that character
34118         classes are not supported.
34120 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34124 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
34126         [BZ #16337]
34127         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34128         Calculate results for small negative arguments directly rather
34129         than using reflection formula with special underflow handling.
34131         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
34132         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
34133         sysdeps/unix/bsd/bsd4.4/syscalls.list.
34134         (fchflags): Likewise.
34135         (revoke): Likewise.
34136         (setlogin): Likewise.
34137         (sigaltstack): Likewise.
34138         (wait4): Likewise.
34139         (sigblock): Remove.
34140         (sigsetmask): Likewise.
34141         (wait3): Likewise.
34142         (waitpid): Likewise.
34143         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
34144         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
34145         file.
34146         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
34147         * sysdeps/unix/bsd/Makefile: ... here.
34148         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
34149         * sysdeps/unix/bsd/Versions: ... here.
34150         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
34151         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
34152         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
34153         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
34154         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
34155         * sysdeps/unix/bsd/sigblock.c: ... here.
34156         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
34157         * sysdeps/unix/bsd/sigsetmask.c: ... here.
34158         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
34159         * sysdeps/unix/bsd/sigvec.c: ... here.
34160         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
34161         * sysdeps/unix/bsd/tcdrain.c: ... here.
34162         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
34163         * sysdeps/unix/bsd/tcgetattr.c: ... here.
34164         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
34165         * sysdeps/unix/bsd/tcsetattr.c: ... here.
34166         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
34167         * sysdeps/unix/bsd/wait.c: ... here.
34168         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
34169         * sysdeps/unix/bsd/wait3.c: ... here.
34170         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
34171         * sysdeps/unix/bsd/waitpid.c: ... here.
34173 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
34175         [BZ #16356]
34176         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
34177         round-to-nearest for [!USE_AS_EXPM1L].
34178         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
34179         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
34180         more tests of exp and exp10.  Expect some exp10 tests to miss
34181         exceptions or fail in directed rounding modes.
34182         * math/auto-libm-test-out: Regenerated.
34183         * math/libm-test.inc (exp10_tonearest_test_data): New array.
34184         (exp10_test_tonearest): New function.
34185         (exp10_towardzero_test_data): New array.
34186         (exp10_test_towardzero): New function.
34187         (exp10_downward_test_data): New array.
34188         (exp10_test_downward): New function.
34189         (exp10_upward_test_data): New array.
34190         (exp10_test_upward): New function.
34191         (main): Call the new functions.
34192         * sysdeps/i386/fpu/libm-test-ulps: Update.
34193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34195 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
34197         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
34198         asinh, atan, atan2, atanh, cbrt, cos and cosh.
34199         * math/auto-libm-test-out: Regenerated.
34200         * math/libm-test.inc (acosh_test_data): Add more tests.
34201         (atanh_test_data): Likewise.
34202         (ceil_test_data): Likewise.
34203         (copysign_test_data): Likewise.
34204         * sysdeps/i386/fpu/libm-test-ulps: Update.
34205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34207         * timezone/checktab.awk: Update from tzcode 2013i.
34208         * timezone/private.h: Likewise.
34209         * timezone/scheck.c: Likewise.
34210         * timezone/tzfile.h: Likewise.
34211         * timezone/tzselect.ksh: Likewise.
34212         * timezone/zdump.c: Likewise.
34213         * timezone/zic.c: Likewise.
34215         * math/auto-libm-test-in: Add tests of cpow.
34216         * math/auto-libm-test-out: Regenerated.
34217         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
34218         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34219         mpc_cc_c.
34220         (func_calc_desc): Add mpc_cc_c union field.
34221         (test_functions): Add cpow.
34222         (special_fill_2pi): New function.
34223         (special_real_inputs): Add 2pi.
34224         (calc_generic_results): Handle mpc_cc_c.
34225         * sysdeps/i386/fpu/libm-test-ulps: Update.
34226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34228         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
34229         csqrt, ctan and ctanh.
34230         * math/auto-libm-test-out: Regenerated.
34231         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34232         (TEST_COND_x86): Likewise.
34233         (ccos_test_data): Use AUTO_TESTS_c_c.
34234         (ccosh_test_data): Likewise.
34235         (cexp_test_data): Likewise.
34236         (clog_test_data): Likewise.
34237         (csqrt_test_data): Likewise.
34238         (ctan_test_data): Likewise.
34239         (ctan_tonearest_test_data): Likewise.
34240         (ctan_towardzero_test_data): Likewise.
34241         (ctan_downward_test_data): Likewise.
34242         (ctan_upward_test_data): Likewise.
34243         (ctanh_test_data): Likewise.
34244         (ctanh_tonearest_test_data): Likewise.
34245         (ctanh_towardzero_test_data): Likewise.
34246         (ctanh_downward_test_data): Likewise.
34247         (ctanh_upward_test_data): Likewise.
34248         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34249         mpc_c_c.
34250         (func_calc_desc): Add mpc_c_c union field.
34251         (FUNC_mpc_c_c): New macro.
34252         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
34253         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
34254         ctanh.
34255         (special_fill_min_subnorm_p120): New function.
34256         (special_real_inputs): Add min_subnorm_p120.
34257         (calc_generic_results): Handle mpc_c_c.
34258         * sysdeps/i386/fpu/libm-test-ulps: Update.
34259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34261 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34263         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
34264         (do_sin_slow): New functions.
34265         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
34266         (cslow2, csloww1, csloww2): Use the new functions.
34268         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
34269         Use M to change sign of result instead of X.  Assume X is
34270         positive.
34271         (csloww1): Likewise.
34272         (__sin): Adjust.
34273         (__cos): Adjust.
34275         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
34276         arguments A and DA.
34277         (__sin): Adjust.
34278         (__cos): Likewise.
34280         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
34281         (__cos): Likewise.
34282         (sloww1): Don't adjust sign of DX.
34283         (csloww1): Likewise.
34284         (sloww2): Use X directly and don't adjust sign of DX.
34285         (csloww2): Likewise.
34287 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34289         * math/auto-libm-test-in: Add tests of cabs and carg.
34290         * math/auto-libm-test-out: Regenerated.
34291         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
34292         (carg_test_data): Likewise.
34293         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34294         mpc_c_f.
34295         (func_calc_desc): Add mpc_c_f union field.
34296         (test_functions): Add cabs and carg.
34297         (calc_generic_results): Handle mpc_c_f.
34299         * sysdeps/powerpc/powerpc32/libgcc-compat.S
34300         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
34301         as a macro and a compat symbol.
34302         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34303         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34304         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34305         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34306         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
34307         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
34308         not use .hidden.
34309         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
34310         Likewise.
34311         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
34312         Likewise.
34313         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
34314         Likewise.
34315         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
34316         Likewise.
34317         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
34318         Likewise.
34319         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
34320         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
34321         from GLIBC_2.3.2.
34323 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34327 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34329         * manual/texinfo.tex: Update to version 2013-11-26.10 with
34330         trailing whitespace removed.
34331         * scripts/config.guess: Update to version 2013-11-29.
34332         * scripts/config.sub: Update to version 2013-10-01.
34334         * math/auto-libm-test-in: Add tests of sincos.
34335         * math/auto-libm-test-out: Regenerated.
34336         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
34337         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34338         mpfr_f_11.
34339         (func_calc_desc): Add mpfr_f_11 union field.
34340         (test_functions): Add sincos.
34341         (calc_generic_results): Handle mpfr_f_11.
34342         * sysdeps/i386/fpu/libm-test-ulps: Update.
34343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34345 2013-12-19  Andreas Schwab  <schwab@suse.de>
34347         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
34348         CALL_MCOUNT.
34349         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34350         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
34351         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
34353 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34355         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
34356         * sysdeps/i386/fpu/libm-test-ulps: Update.
34357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34359         [BZ #16293]
34360         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
34361         round-to-nearest mode when using frndint.
34362         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
34363         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34364         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34365         Likewise.
34366         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
34367         sinh test to fail.
34368         * math/auto-libm-test-out: Regenerated.
34369         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
34370         (TEST_COND_x86): Likewise.
34371         (expm1_tonearest_test_data): New array.
34372         (expm1_test_tonearest): New function.
34373         (expm1_towardzero_test_data): New array.
34374         (expm1_test_towardzero): New function.
34375         (expm1_downward_test_data): New array.
34376         (expm1_test_downward): New function.
34377         (expm1_upward_test_data): New array.
34378         (expm1_test_upward): New function.
34379         (main): Run the new test functions.
34380         * sysdeps/i386/fpu/libm-test-ulps: Update.
34381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34383         * include/features.h: Update comment documenting feature test
34384         macros.  Mention _DEFAULT_SOURCE in comment.
34385         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
34386         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
34387         _BSD_SOURCE and _SVID_SOURCE.
34388         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
34389         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
34390         !_SVID_SOURCE]: Likewise.
34391         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34392         (__USE_POSIX_IMPLICITLY): Define.
34393         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34394         (_POSIX_SOURCE): Undefine and redefine.
34395         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34396         (_POSIX_C_SOURCE): Likewise.
34397         * manual/creature.texi (_DEFAULT_SOURCE): Document.
34398         (Feature Test Macros): Update documentation of default features.
34400 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34402         * benchtests/Makefile: Add bench-strtok.
34403         * benchtests/bench-strtok.c: New file: strtok benchtest.
34405 2013-12-19  Allan McRae  <allan@archlinux.org>
34407         * manual/install.texi: Suppress menu for plain text output.
34408         * INSTALL: Regenerated.
34410 2013-12-18  Brooks Moses  <bmoses@google.com>
34412         [BZ #15846]
34413         * misc/getauxval.c: Include errno.h.
34414         (__getauxval): Set errno to ENOENT if the requested type is not
34415         found.
34416         * misc/sys/auxv.h (getauxval): Document that it may set errno;
34417         don't declare with __attribute_const__.
34418         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
34419         * manual/startup.texi: Document that getauxval sets errno.
34421 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34423         * math/auto-libm-test-in: Add tests of jn and yn.
34424         * math/auto-libm-test-out: Regenerated.
34425         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
34426         (yn_test_data): Likewise.
34427         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34428         mpfr_if_f.
34429         (func_calc_desc): Add mpfr_if_f union field.
34430         (FUNC_mpfr_if_f): New macro.
34431         (test_functions): Add jn and yn.
34432         (calc_generic_results): Assert type of second input for
34433         mpfr_ff_f.  Handle mpfr_if_f.
34434         (output_for_one_input_case): Disable all checking for arguments
34435         fitting floating-point types in case of an integer argument.
34436         * sysdeps/i386/fpu/libm-test-ulps: Update.
34437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34440         Don't expect fegetround reference in libm.so.
34442 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34444         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
34445         $(config-cflags-nofma).
34447 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34449         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
34450         * math/auto-libm-test-out: Regenerated.
34452         [BZ #16338]
34453         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
34454         to determine exponent and adjust argument to have exponent of -1.
34455         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
34456         log2.
34457         * math/auto-libm-test-out: Regenerated.
34458         * sysdeps/i386/fpu/libm-test-ulps: Update.
34459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34461 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
34463         * manual/probes.texi: Remove cases when per-thread arenas are
34464         disabled.
34466 2013-12-18  Andreas Schwab  <schwab@suse.de>
34468         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
34469         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
34470         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
34471         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
34472         * sysdeps/i386/i686/multiarch/Makefile: Update.
34473         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
34475 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34477         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
34478         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
34480 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
34482         [BZ #15968]
34483         Support TZ transition times < 00:00:00.
34484         This is needed for version-3 tz-format files; it supports time
34485         stamps past 2037 for America/Godthab (the only entry in the tz
34486         database for which this change is relevant).
34487         * manual/time.texi (TZ Variable): Document transition times
34488         from -167:59:59 through -00:00:01.
34489         * time/tzset.c (tz_rule): Time of day is now signed.
34490         (__tzset_parse_tz): Parse negative time of day.
34492         Document TZ transition times >= 25:00:00.
34493         * manual/time.texi (TZ Variable): Document transition times from
34494         25:00:00 through 167:59:59.  These are already supported, and this
34495         support will help with version-3 tz-format files.
34497         * manual/time.texi (TZ Variable): Modernize North America example
34498         to reflect current (i.e., 2007-and-later) daylight saving rules.
34500         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
34502 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34504         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
34505         * sysdeps/unix/bsd/bits/stat.h: Likewise.
34506         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
34507         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34508         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
34509         * sysdeps/unix/bsd/bsdstat.h: Likewise.
34510         * sysdeps/unix/bsd/clock.c: Likewise.
34511         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
34512         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
34513         * sysdeps/unix/bsd/init-posix.c: Likewise.
34514         * sysdeps/unix/bsd/poll.c: Likewise.
34515         * sysdeps/unix/bsd/ptsname.c: Likewise.
34516         * sysdeps/unix/bsd/seekdir.c: Likewise.
34517         * sysdeps/unix/bsd/setegid.c: Likewise.
34518         * sysdeps/unix/bsd/seteuid.c: Likewise.
34519         * sysdeps/unix/bsd/setgid.c: Likewise.
34520         * sysdeps/unix/bsd/setrgid.c: Likewise.
34521         * sysdeps/unix/bsd/setruid.c: Likewise.
34522         * sysdeps/unix/bsd/setsid.c: Likewise.
34523         * sysdeps/unix/bsd/setuid.c: Likewise.
34524         * sysdeps/unix/bsd/sigaction.c: Likewise.
34525         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
34526         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
34527         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
34528         * sysdeps/unix/bsd/telldir.c: Likewise.
34529         * sysdeps/unix/bsd/times.c: Likewise.
34530         * sysdeps/unix/bsd/usleep.c: Likewise.
34532         * misc/Makefile (install-lib): Remove libbsd-compat.a.
34533         ($(objpfx)libbsd-compat.a): Remove rule.
34535         * include/features.h (__FAVOR_BSD): Do not define.
34536         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
34537         features conflicting with POSIX.
34538         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
34539         (_BSD_SOURCE): Remove description of not being a subset of other
34540         feature test macros.
34541         * manual/job.texi (getpgrp): Do not document BSD version.
34542         (getpgid): Do not document by reference to BSD getpgrp.
34543         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
34544         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
34545         * signal/signal.h [__FAVOR_BSD]: Likewise.
34546         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
34547         instead of making contents conditional on [__FAVOR_BSD].
34548         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
34550 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34554 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34556         [BZ #16314]
34557         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
34558         values below 2**-450, not 2**-500.
34559         * math/auto-libm-test-in: Don't allow spurious underflow from
34560         hypot.
34561         * math/auto-libm-test-out: Regenerated.
34563         [BZ #16316]
34564         [BZ #16330]
34565         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
34566         values of ha and hb and sort them after adjusting subnormal
34567         arguments.
34568         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34569         Likewise.
34570         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
34571         values of ea and eb and sort them after adjusting subnormal
34572         arguments.
34573         * math/auto-libm-test-in: Do not expect some hypot tests of
34574         subnormals to fail.  Add more hypot tests.
34575         * math/auto-libm-test-out: Regenerated.
34577 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34579         [BZ #13304]
34580         * sysdeps/sh/s_fma.c: New file.
34581         * sysdeps/sh/s_fmaf.c: New file.
34582         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
34583         version.
34584         * sysdeps/sh/Implies: Add sh/soft-fp.
34586 2013-12-16  Roland McGrath  <roland@hack.frob.com>
34588         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
34589         level of indirection to members `objname', `errstring', `malloced'.
34590         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
34591         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
34592         it as the __longjmp argument (just pass 1 instead).
34593         (_dl_catch_error): Initialize C with argument pointers and address of
34594         volatile local ERRCODE rather than copying values out of C at return.
34596 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
34598         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
34599         * math/auto-libm-test-out: Regenerated.
34600         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
34601         (hypot_test_data): Likewise.
34602         (pow_test_data): Likewise.
34603         (pow_tonearest_test_data): Likewise.
34604         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34605         mpfr_ff_f.
34606         (func_calc_desc): Add mpfr_ff_f union field.
34607         (FUNC_mpfr_ff_f): New macro.
34608         (test_functions): Add atan2, hypot and pow.
34609         (special_fill_min): New function.
34610         (special_fill_minus_min): Likewise.
34611         (special_fill_min_subnorm): Likewise.
34612         (special_fill_minus_min_subnorm): Likewise.
34613         (special_real_inputs): Add min, -min, min_subnorm and
34614         -min_subnorm.
34615         (calc_generic_results): Handle mpfr_ff_f.
34616         * sysdeps/i386/fpu/libm-test-ulps: Update.
34617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34619 2013-12-16  Will Newton  <will.newton@linaro.org>
34621         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
34622         (Aligned Memory Blocks): Add documentation for aligned_alloc
34623         and suggest it as an alternative to posix_memalign.
34624         (Hooks for Malloc): Document __memalign_hook is also called
34625         for aligned_alloc.  (Summary of Malloc): Add summary for
34626         aligned alloc.  Document __memalign_hook is also called
34627         for aligned_alloc.
34629 2013-12-16  Will Newton  <will.newton@linaro.org>
34631         * manual/memory.texi (Malloc Examples): Clarify default
34632         alignment documentation.  Suggest posix_memalign rather
34633         than memalign or valloc.
34634         (Aligned Memory Blocks): Remove suggestion to use memalign
34635         or valloc.  Remove obsolete comment about BSD.
34636         Document memalign errno values and mark the function obsolete.
34637         Document posix_memalign returned error codes.  Mark valloc
34638         as obsolete.  (Hooks for Malloc): __memalign_hook is also
34639         called for posix_memalign and valloc.
34640         (Summary of Malloc): Add posix_memalign to function summary.
34641         __memalign_hook is also called for posix_memalign and valloc.
34643 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34645         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
34646         TAYLOR_SIN.
34647         (__sin): Adjust.
34648         (__cos): Likewise.
34649         (sloww): Use mynumber union.  Expand ternary operator into
34650         if-else statements.
34651         (cslow): use mynumber union.
34653 2013-12-16  Allan McRae  <allan@archlinux.org>
34655         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
34656         * configure: Regenerated.
34658         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
34660         [BZ #14120]
34661         * configure.ac: Added --enable-maintainer-mode. Check for
34662         autoconf when enabled.
34663         * configure: Regenerated.
34665         * nscd/nscd.service: New file.
34666         * nscd/nscd.tmpfiles: New file.
34668 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
34670         [BZ #12100]
34671         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
34672         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
34673         * sysdeps/x86_64/multiarch/strstr.c: ... here.
34674         (strstr): Add __strstr_sse2_unaligned ifunc.
34675         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
34676         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
34677         (strcasestr): Remove __strcasestr_sse42 ifunc.
34678         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
34679         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34680         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
34682 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34684         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
34685         * sysdeps/sh/bits/fenv.h: ... here.
34686         * sysdeps/sh/sh4/fpu/bits: Remove directory.
34688 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34690         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
34692         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
34693         hypotf multiarch implementations.
34694         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
34695         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
34696         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
34697         multiarch hypot for PPC64.
34698         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
34699         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
34700         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
34701         multiarch hypotf for PPC64.
34703         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
34704         modff multiarch implementations.
34705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
34706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
34707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
34708         multiarch modf for PPC64.
34709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
34710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
34711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
34712         multiarch modff for PPC64.
34714         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
34715         and logl multiarch implementations.
34716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
34717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
34718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
34719         multiarch logb for PPC64.
34720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
34721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
34722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
34723         multiarch logb for PPC64.
34724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
34725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
34726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
34727         multiarch logb for PPC64.
34729         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
34730         isinff multiarch implementation.
34731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
34732         file.
34733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
34734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
34735         multiarch isinf for PPC64.
34736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
34737         file.
34738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
34739         multiarch isinff for PPC64.
34741         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
34742         finitef multiarch implementation.
34743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
34744         file.
34745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
34746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
34747         multiarch finite for PPC64.
34748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
34749         file.
34750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
34751         multiarch finitef for PPC64.
34753         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
34754         lrint multiarch implementation.
34755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
34756         file.
34757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
34758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
34759         multiarch llrint for PPC64.
34760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
34761         multiarch lrint for PPC64.
34763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
34764         copysignf multiarch implementation.
34765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
34766         file.
34767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
34768         file.
34769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
34770         multiarch copysign for PPC64.
34771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
34772         multiarch copysignf for PPC64.
34774         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
34775         multiarch implementation.
34776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
34777         file.
34778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
34779         file.
34780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
34781         file.
34782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
34783         file.
34784         multiarch llround for PPC64.
34785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
34786         multiarch trunc for PPC64.
34787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
34788         multiarch truncf for PPC64.
34790         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
34791         multiarch implementation.
34792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
34793         file.
34794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
34795         file.
34796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
34797         file.
34798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
34799         file.
34800         multiarch llround for PPC64.
34801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
34802         multiarch round for PPC64.
34803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
34804         multiarch roundf for PPC64.
34806         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
34807         multiarch implementation.
34808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
34809         file.
34810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
34811         file.
34812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
34813         file.
34814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
34815         file.
34816         multiarch llround for PPC64.
34817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
34818         multiarch floor for PPC64.
34819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
34820         multiarch floorf for PPC64.
34822         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
34823         multiarch implementation.
34824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
34825         file.
34826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
34827         file.
34828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
34829         file.
34830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
34831         file.
34832         multiarch llround for PPC64.
34833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
34834         multiarch ceil for PPC64.
34835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
34836         multiarch ceilf for PPC64.
34838         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34839         multiarch implementation.
34840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
34841         file.
34842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
34843         file.
34844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
34845         file.
34846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
34847         multiarch llround for PPC64.
34848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
34849         multiarch lround for PPC64.
34851         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34852         multiarch implementation.
34853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
34854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
34855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
34856         file.
34857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
34858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
34859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
34860         multiarch isnan for PPC64.
34861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
34862         multiarch isnanf for PPC64.
34864         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
34865         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
34866         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
34867         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
34868         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
34869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
34871         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
34872         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34873         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34874         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34876         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
34877         multiarch implementations.
34878         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34879         (__libc_ifunc_impl_list): Likewise.
34880         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
34881         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
34882         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
34883         multiarch stpcpy for PPC64.
34885         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
34886         multiarch implementations.
34887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34888         (__libc_ifunc_impl_list): Likewise.
34889         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
34890         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
34891         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
34892         multiarch strcpy for PPC64.
34894         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
34895         redefine function name.
34896         (_wordcopy_fwd_dest_aligned): Likewise.
34897         (_wordcopy_bwd_aligned): Likewise.
34898         (_wordcopy_bwd_dest_aligned): Likewise.
34899         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
34900         multiarch implementations.
34901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34902         (__libc_ifunc_impl_list): Likewise.
34903         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
34904         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
34905         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
34906         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
34907         multiarch wcscpy for PPC64.
34909         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
34910         multiarch implementations.
34911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34912         (__libc_ifunc_impl_list): Likewise.
34913         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
34914         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
34915         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
34916         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
34917         multiarch wcscpy for PPC64.
34919         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
34920         multiarch implementations.
34921         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34922         (__libc_ifunc_impl_list): Likewise.
34923         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
34924         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
34925         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
34926         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
34927         multiarch wcsrchr for PPC64.
34929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
34930         multiarch implementations.
34931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34932         (__libc_ifunc_impl_list): Likewise.
34933         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
34934         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
34935         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
34936         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
34937         multiarch wcschr for PPC64.
34939         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
34940         multiarch implementations.
34941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34942         (__libc_ifunc_impl_list): Likewise.
34943         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
34944         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
34945         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
34946         multiarch strchrnul for PPC64.
34948         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
34949         implementations.
34950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34951         (__libc_ifunc_impl_list): Likewise.
34952         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
34953         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
34954         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
34955         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
34956         strchr for PPC64.
34958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
34959         implementations.
34960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34961         (__libc_ifunc_impl_list): Likewise.
34962         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
34963         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
34964         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
34965         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
34966         strncmp for PPC64.
34968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
34969         multiarch implementations.
34970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34971         (__libc_ifunc_impl_list): Likewise.
34972         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
34973         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
34974         strncasecmp for PPC64.
34975         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
34976         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
34977         multiarch strncasecmp_l for PPC64.
34979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
34980         multiarch implementations.
34981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34982         (__libc_ifunc_impl_list): Likewise.
34983         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
34984         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
34985         multiarch strcasecmp for PPC64.
34986         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
34987         file.
34988         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
34989         multiarch strcasecmp_l for PPC64.
34991         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
34992         implementations.
34993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34994         (__libc_ifunc_impl_list): Likewise.
34995         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
34996         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
34997         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
34998         strnlen for PPC64.
35000         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
35001         implementations.
35002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35003         (__libc_ifunc_impl_list): Likewise.
35004         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
35005         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
35006         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
35007         strlen for PPC64.
35009         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
35010         implementations.
35011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35012         (__libc_ifunc_impl_list): Likewise.
35013         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
35014         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
35015         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
35016         rawmemrchr for PPC64.
35018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
35019         implementation.
35020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35021         (__libc_ifunc_impl_list): Likewise.
35022         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
35023         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
35024         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
35025         memrchr for PPC64.
35027         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
35028         implementation.
35029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35030         (__libc_ifunc_impl_list): Likewise.
35031         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
35032         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
35033         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
35034         memchr for PPC64.
35036         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
35037         implementation.
35038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35039         (__libc_ifunc_impl_list): Likewise.
35040         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
35041         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
35042         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
35043         mempcpy for PPC64.
35045         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
35046         avoid cretion of __bzero symbol.
35047         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
35048         Likewise.
35049         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
35050         Likewise.
35051         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
35052         Likewise.
35053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
35054         multiarch implementations.
35055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35056         (__libc_ifunc_impl_list): Likewise.
35057         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
35058         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
35059         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
35060         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
35061         bzero for PPC32.
35062         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
35063         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
35064         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
35065         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
35066         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
35067         memset for PPC64.
35068         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
35070         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
35071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
35072         implementations.
35073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35074         (__libc_ifunc_impl_list): Likewise.
35075         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
35076         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
35077         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
35078         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
35079         memcmp for PPC64.
35081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
35082         multiarch for POWER/PPC64.
35083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
35084         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
35085         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
35086         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
35087         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
35088         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
35089         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
35090         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
35091         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
35092         memcpy for PPC64.
35094         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
35095         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
35096         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
35097         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
35098         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
35099         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
35100         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
35101         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
35102         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
35103         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
35104         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
35105         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
35106         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
35107         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
35108         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
35109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
35110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
35111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
35112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
35113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
35114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
35115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
35117 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35119         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
35121 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35123         * benchtests/Makefile (bench): Add exp2 and log2.
35124         (LDLIBS-bench-exp2): Add -lm.
35125         (LDLIBS-bench-log2): Likewise.
35126         * benchtests/exp2-inputs: New inputs file.
35127         * benchtests/log2-inputs: New inputs file.
35128         * benchtests/log-inputs: Add new inputs.
35129         * benchtests/tan-inputs: Likewise.
35131 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35133         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
35134         definition...
35135         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
35136         (csloww2): ... from here.
35138         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
35139         instead of structures.
35140         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
35141         (POLYNOMIAL): Likewise.
35142         (TAYLOR_SLOW): Likewise.
35143         (__sin): Likewise.
35144         (__cos): Likewise.
35145         (slow1): Likewise.
35146         (slow2): Likewise.
35147         (sloww): Likewise.
35148         (sloww1); Likewise.
35149         (sloww2): Likewise.
35150         (bsloww1): Likewise.
35151         (bsloww2): Likewise.
35152         (cslow2): Likewise.
35153         (csloww): Likewise.
35154         (csloww1): Likewise.
35155         (csloww2): Likewise.
35157 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
35159         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
35160         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
35161         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
35162         * malloc/hooks.c (realloc_check): Likewise.
35164         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
35165         * malloc/arena.c: Remove PER_THREAD conditional.
35166         [!PER_THREAD]: Remove code.
35167         (ptmalloc_unlock_all2): Likewise.
35168         (ptmalloc_init): Likewise.
35169         (_int_new_arena): Likewise.
35170         (arena_get2): Likewise.
35171         * malloc/hooks.c (__malloc_get_state): Likewise.
35172         (__malloc_set_state): Likewise.
35173         * malloc/malloc.c: Likewise.
35174         (struct malloc_state): Likewise.
35175         (struct malloc_par): Likewise.
35176         (__libc_realloc): Likewise.
35177         (__libc_mallopt): Likewise.
35179 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35181         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
35183 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
35185         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
35186         macro to a function.  Check for zero perturb_byte.
35187         (_int_malloc, _int_free): Remove zero perturb_byte checks.
35189         * malloc/malloc.c: (force_reg): Remove.
35190         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
35191         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
35192         force_reg by atomic_forced_read.
35193         * malloc/arena.c (ptmalloc_init): Likewise.
35194         * malloc/hooks.c (top_check): Likewise.
35196 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35200 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
35202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35204 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
35206         * math/auto-libm-test-in: Add tests of lgamma.
35207         * math/auto-libm-test-out: Regenerated.
35208         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
35209         (M_LOG_2_SQRT_PIl): Likewise.
35210         (lgamma_test_data): Use AUTO_TESTS_f_f1.
35211         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35212         mpfr_f_f1.
35213         (func_calc_desc): Add mpfr_f_f1 union field.
35214         (ARGS1): New macro.
35215         (ARGS2): Likewise.
35216         (ARGS3): Likewise.
35217         (ARGS4): Likewise.
35218         (RET1): Likewise.
35219         (RET2): Likewise.
35220         (CALC): Likewise.
35221         (FUNC): Likewise.
35222         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
35223         (test_functions): Add lgamma.
35224         (calc_generic_results): Handle mpfr_f_f1.
35225         * sysdeps/i386/fpu/libm-test-ulps: Update.
35226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35228 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35230         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
35231         __mpn_add_n for PowerPC64/POWER7.
35232         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
35233         __mpn_sub_n for PowerPC64/POWER7.
35235         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
35236         __mpn_addmul_1 for PowerPC64.
35237         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
35238         __mpn_submul_1 for PowerPC64.
35239         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
35240         for PowerPC64.
35241         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
35242         for PowerPC64.
35244 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
35246         [BZ #15089]
35247         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
35249 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35251         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
35253         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
35254         add multiarch folders.
35255         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
35256         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
35257         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
35258         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
35259         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
35260         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
35261         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
35262         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
35263         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
35264         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
35265         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
35266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
35267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
35268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
35269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
35270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
35271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
35273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35274         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
35275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
35276         New file.
35277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
35278         New file.
35279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
35280         multiarch __ieee754_hypot for PowerPC32.
35281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
35282         New file.
35283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
35284         New file.
35285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
35286         multiarch __ieee754_hypotf for PowerPC32.
35288         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
35289         long_double_symbol only if __logbl is defined.
35290         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
35291         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
35292         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
35293         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
35294         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
35295         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
35296         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
35297         path for implementation.
35298         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
35299         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
35300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
35301         logb, and logbl multiarch implementations for PowerPC32.
35302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
35303         file.
35304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
35305         file.
35306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
35307         multiarch logb for PowerPC32.
35308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
35309         file.
35310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
35311         file.
35312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
35313         multiarch logbf for PowerPC32.
35314         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
35315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
35316         file.
35317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
35318         multiarch logbl implementation for PowerPC32.
35320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
35321         and modff multiarch implementations.
35322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
35323         New file.
35324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
35325         New file.
35326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
35327         multiarch modf for PowerPC32.
35328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
35329         New file.
35330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
35331         New file.
35332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
35333         multiarch modff for PowerPC32.
35335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
35336         and lrintf multiarch implementations.
35337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
35338         New file.
35339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
35340         New file.
35341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
35342         multiarch lrint for PowerPC32.
35343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
35344         file: multiarch lrintf for PowerPC32.
35346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
35347         and lroundf multiarch implementations.
35348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
35349         New file.
35350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
35351         New file.
35352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
35353         New file.
35354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
35355         multiarch lround for PowerPC32.
35356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
35357         file: multiarch lroundf for PowerPC32.
35359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35360         copysign and copysignf multiarch implementations.
35361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
35362         New file.
35363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
35364         New file.
35365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
35366         file: multiarch copysign for PowerPC32.
35367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
35368         file: multiarch copysignf for PowerPC32.
35370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
35371         and truncf multiarch implementations.
35372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
35373         New file.
35374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
35375         file.
35376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
35377         multiarch trunc for PowerPC32.
35378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
35379         New file.
35380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
35381         New file.
35382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
35383         multiarch truncf for PowerPC32.
35385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
35386         and roundf multiarch implementations.
35387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
35388         New file.
35389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
35390         file.
35391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
35392         multiarch round for PowerPC32.
35393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
35394         New file.
35395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
35396         New file.
35397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
35398         multiarch roundf for PowerPC32.
35400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
35401         and floorf multiarch implementations.
35402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
35403         New file.
35404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
35405         file.
35406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
35407         multiarch floor for PowerPC32.
35408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
35409         New file.
35410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
35411         New file.
35412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
35413         multiarch floorf for PowerPC32.
35415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
35416         and ceilf multiarch implementations.
35417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
35418         New file.
35419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
35420         file.
35421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
35422         multiarch ceil for PowerPC32.
35423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
35424         New file.
35425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
35426         file.
35427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
35428         multiarch ceilf for PowerPC32.
35430         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
35431         is defined.
35432         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
35433         FINITEF is defined.
35434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
35435         and finitef multiarch implementations.
35436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
35437         New file.
35438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
35439         file.
35440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
35441         multiarch finite for PowerPC32.
35442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
35443         New file.
35444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
35445         file: multiarch finitef for PowerPC32.
35447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
35448         and isinff multiarch implementations.
35449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
35450         file.
35451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
35452         file.
35453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
35454         multiarch isinf for PowerPC32.
35455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
35456         New file.
35457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
35458         multiarch isinff for PowerPC32.
35460         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
35461         alias when __isnan is defined.
35462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
35463         and isnanf multiarch implementations.
35464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
35465         file.
35466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
35467         file.
35468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
35469         file.
35470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
35471         file.
35472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
35473         multiarch isnan for PowerPC32.
35474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
35475         New file.
35476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
35477         New file.
35478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
35479         multiarch isnanf for PowerPC32.
35481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
35482         and sqrtf multiarch implementations.
35483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
35484         file.
35485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
35486         file.
35487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
35488         multiarch sqrt for PowerPC32.
35489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
35490         file.
35491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
35492         file.
35493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
35494         multiarch sqrtf for PowerPC32.
35496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
35497         and llroundf multiarch implementations.
35498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
35499         New file.
35500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
35501         New file.
35502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
35503         New file.
35504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
35505         file: multiarch llround for PowerPC32.
35506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
35507         file: multiarch llroundf for PowerPC32.
35509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
35510         multiarch PowerPC32 fpu implementations.
35511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
35512         New file.
35513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
35514         New file.
35515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
35516         multiarch llrint for PowerPC32.
35517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
35518         New file.
35519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
35520         New file.
35521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
35522         file.
35524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
35526         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
35527         file.
35528         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
35529         file.
35530         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
35531         file.
35532         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
35533         multiarch wordcopy for PPC32.
35534         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35535         wordcopy objects.
35536         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35537         (__libc_ifunc_impl_list): Likewise.
35538         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
35539         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
35540         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
35541         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
35542         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
35543         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
35545         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
35546         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
35547         file.
35548         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
35549         file.
35550         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
35551         file.
35552         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
35553         multiarch wcscpy for PPC32.
35554         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35555         multiarch objects.
35556         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35557         (__libc_ifunc_impl_list): Likewise.
35558         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35559         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35560         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
35561         sysdeps/powerpc/power6/wcscpy.c.
35563         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
35564         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
35565         file.
35566         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
35567         file.
35568         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
35569         file.
35570         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
35571         multiarch wcsrchr for PPC32.
35572         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35573         multiarch objects.
35574         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35575         (__libc_ifunc_impl_list): Likewise.
35576         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35577         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35578         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
35579         sysdeps/powerpc/power6/wcsrchr.c.
35581         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
35582         file.
35583         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
35584         file.
35585         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
35586         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
35587         multiarch wcschr for PPc32.
35588         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35589         multiarch objects.
35590         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35591         (__libc_ifunc_impl_list): Likewise.
35592         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
35593         * sysdeps/powerpc/power6/wcschr.c: ... to here.
35594         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
35595         sysdeps/powerpc/power6/wcschr.c.
35597         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
35598         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
35599         file.
35600         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
35601         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
35602         file: multiarch strchr for PPC32.
35603         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
35604         multiarch objects.
35605         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35606         (__libc_ifunc_impl_list): Likewise.
35608         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
35609         name.
35610         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
35611         file.
35612         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
35613         file.
35614         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
35615         multiarch strchrnul for PPC32.
35616         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
35617         multiarch objects.
35618         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35619         (__libc_ifunc_impl_list): Likewise.
35621         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
35622         file.
35623         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
35624         multiarch strncasecmp for PPC32.
35625         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
35626         file.
35627         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
35628         multiarch strncasecmp_l for PPC32.
35629         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
35630         strncasecmp multiarch objects.
35631         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35632         (__libc_ifunc_impl_list): Likewise.
35634         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
35635         file.
35636         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
35637         multiarch strncasecmp for PPC32.
35638         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
35639         New file.
35640         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
35641         multiarch strcasecmp_l for PPC32.
35642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
35643         multiarch objects.
35644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35645         (__libc_ifunc_impl_list): Likewise.
35647         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
35648         file.
35649         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
35650         file.
35651         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
35652         multiarch strncmp for PPC32.
35653         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
35654         multiarch objects.
35655         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35656         (__libc_ifunc_impl_list): Likewise.
35658         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
35659         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
35660         file.
35661         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
35662         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
35663         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
35664         multiarch objects.
35665         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35666         (__libc_ifunc_impl_list): Likewise.
35668         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
35669         file.
35670         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
35671         file.
35672         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
35673         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
35674         multiarch objects.
35675         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35676         (__libc_ifunc_impl_list): Likewise.
35678         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
35679         file.
35680         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
35681         file.
35682         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
35683         multiarch rawmemchr for PPC32.
35684         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
35685         multiarch objects.
35686         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35687         (__libc_ifunc_impl_list): Likewise.
35689         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
35690         file.
35691         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
35692         file.
35693         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
35694         file: memrchr multiarch for PPC32.
35695         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
35696         multiarch objects.
35697         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35698         (__libc_ifunc_impl_list): Likewise.
35700         * string/memchr.c (__memchr): Using macro to redefine symbol name.
35701         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
35702         file.
35703         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
35704         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
35705         multiarch memchr for PPC32.
35706         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
35707         multiarch objects.
35708         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35709         (__libc_ifunc_impl_list): Likewise.
35711         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
35712         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
35713         file.
35714         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
35715         file.
35716         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
35717         file: multiarch mempcpy for PPC32.
35718         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
35719         multiarch objects.
35720         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35721         (__libc_ifunc_impl_list): Likewise.
35723         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
35724         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
35725         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
35726         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
35727         multiarch bzero for PPC32.
35728         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
35729         file.
35730         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
35731         file.
35732         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
35733         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
35734         file: multiarch memset for PPC32.
35735         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
35736         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
35737         memset multiarch objects.
35738         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35739         (__libc_ifunc_impl_list): Likewise.
35741         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
35742         file.
35743         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
35744         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
35745         memcmp for PPC32.
35746         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
35747         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
35748         multiarch objects.
35749         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35750         (__libc_ifunc_impl_list): Likewise.
35752         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
35753         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
35754         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
35755         file.
35756         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
35757         file.
35758         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
35759         file.
35760         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
35761         multiarch memcpy for PPC32.
35762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
35763         multiarch objects.
35764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35765         (__libc_ifunc_impl_list): Likewise.
35767         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
35768         support multiarch for POWER/PPC32.
35769         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
35770         Likewise.
35771         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
35773         Implies file to make multiarch folder appers before the fpu and
35774         default folder for power4 configuration.
35776 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35778         * scripts/bench.pl: Append volatile keyword to type.
35780 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35782         * sysdeps/sh/sotruss-lib.c: New file.
35783         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
35785 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35789 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
35791         [BZ #6810]
35792         * math/w_tgamma.c: Include <errno.h>.
35793         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
35794         * math/w_tgammaf.c: Include <errno.h>.
35795         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
35796         * math/w_tgammal.c: Include <errno.h>.
35797         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
35798         * math/auto-libm-test-in: Do not allow missing errno on tgamma
35799         underflow.  Add more tgamma tests.
35800         * math/auto-libm-test-out: Regenerated.
35801         * sysdeps/i386/fpu/libm-test-ulps: Update.
35802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35804         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
35805         sin, sinh, tan, tanh, tgamma, y0 and y1.
35806         * math/auto-libm-test-out: Regenerated.
35807         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35808         (TEST_COND_x86): Likewise.
35809         (M_E2l): Remove macro.
35810         (M_E3l): Likewise.
35811         (M_2_SQRT_PIl): Likewise.
35812         (M_SQRT_PIl): Likewise.
35813         (M_1_DIV_El): Likewise.
35814         (log_test_data): Use AUTO_TESTS_f_f.
35815         (log10_test_data): Likewise.
35816         (log1p_test_data): Likewise.
35817         (log2_test_data): Likewise.
35818         (sin_test_data): Likewise.
35819         (sin_tonearest_test_data): Likewise.
35820         (sin_towardzero_test_data): Likewise.
35821         (sin_downward_test_data): Likewise.
35822         (sin_upward_test_data): Likewise.
35823         (sinh_test_data): Likewise.
35824         (sinh_tonearest_test_data): Likewise.
35825         (sinh_towardzero_test_data): Likewise.
35826         (sinh_downward_test_data): Likewise.
35827         (sinh_upward_test_data): Likewise.
35828         (tan_test_data): Likewise.
35829         (tan_tonearest_test_data): Likewise.
35830         (tan_towardzero_test_data): Likewise.
35831         (tan_downward_test_data): Likewise.
35832         (tan_upward_test_data): Likewise.
35833         (tanh_test_data): Likewise.
35834         (tgamma_test_data): Likewise.
35835         (y0_test_data): Likewise.
35836         (y1_test_data): Likewise.
35837         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
35838         (special_real_inputs): Add pi/4.
35839         * sysdeps/i386/fpu/libm-test-ulps: Update.
35840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35842 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35844         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
35845         "longjmp_target" static probes.
35846         (__longjmp): Rename to __longjmp_symbol.
35847         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35848         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
35849         on which longjmp to generate.
35850         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35851         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
35852         probe.
35853         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35854         (__sigjmp_save): Rename to __sigjmp_save_symbol.
35855         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35856         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
35857         and __sigjmp_save_symbol based on which sigsetjmp to generated.
35858         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
35859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
35860         __longjmp_symbol based on which __longjmp to generate.
35861         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
35862         probe.
35863         (setjmp): Rename to setjmp_symbol.
35864         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35865         (_setjmp): Rename to _setjmp_symbol.
35866         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35867         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
35868         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
35869         which setjmp to generate.
35870         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
35871         "longjmp_target" static probes.
35873 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35875         * benchtests/README: Add note about output arguments.
35876         * benchtests/bench-sincos.c: Remove file.
35877         * benchtests/sincos-inputs: New file.
35878         * scripts/bench.pl: Identify output arguments and define
35879         static variables for them.
35881         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
35883         [BZ #15941]
35884         * Makefile (INSTALL): Add install-plain.texi as the primary
35885         dependency.
35886         * manual/install-plain.texi: New file.
35887         * manual/install.texi: Include node directive only for
35888         non-plaintext output.
35890 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
35892         * stdlib/longlong.h: Update from GCC.
35894         [BZ #6807]
35895         [BZ #15901]
35896         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
35897         * math/w_j0f.c (y0f): Likewise.
35898         * math/w_j0l.c (__y0l): Likewise.
35899         * math/w_j1.c (y1): Likewise.
35900         * math/w_j1f.c (y1f): Likewise.
35901         * math/w_j1l.c (__y1l): Likewise
35902         * math/w_jn.c (yn): Likewise.
35903         * math/w_jnf.c (ynf): Likewise.
35904         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
35905         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
35906         value for Bessel function domain errors outside _SVID_ mode.
35907         Adjust sign of return value for yn (negative integer, 0).
35908         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
35909         by zero in return for negative x and set sign appropriately for
35910         negative n.
35911         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
35912         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35913         * math/libm-test.inc (y0_test_data): Add more tests and adjust
35914         expectations in error cases.
35915         (y1_test_data): Likewise.
35916         (yn_test_data): Likewise.
35917         * sysdeps/i386/fpu/libm-test-ulps: Update.
35918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35920 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35922         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
35923         "64" to "64-v1".  Add "64-v2".
35924         (abi-64-options): Rename to ...
35925         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
35926         (abi-64-condition): Rename to ...
35927         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
35928         (abi-64-ld-soname): Rename to ...
35929         (abi-64-v1-ld-soname): ... this.
35930         (abi-64-v2-options): Define.
35931         (abi-64-v2-condition): Likewise.
35932         (abi-64-v2-ld-soname): Likewise.
35933         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
35934         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
35935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
35936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
35937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
35939 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35940             Alan Modra  <amodra@gmail.com>
35942         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
35943         New versions for use with the ELFv2 ABI.
35944         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
35945         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
35946         declaration.
35947         (struct La_ppc64v2_retval): Likewise.
35948         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
35949         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
35950         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
35951         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
35952         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
35953         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35954         Do not save or restore CR.
35955         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
35956         (_dl_profile_resolve): Do no save or restore CR.  Support extended
35957         return values for ELFv2 ABI.  Fix location of FPR return registers.
35958         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
35959         updated values for _CALL_ELF == 2.
35960         (La_regs, La_retval, int_retval): Likewise.
35962 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35964         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
35965         (FRAME_MIN_SIZE_PARM): Likewise.
35966         (FRAME_BACKCHAIN): Likewise.
35967         (FRAME_CR_SAVE): Likewise.
35968         (FRAME_LR_SAVE): Likewise.
35969         (FRAME_TOC_SAVE): Likewise.
35970         (FRAME_PARM_SAVE): Likewise.
35971         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
35972         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
35973         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35974         (call_mcount_parm_offset): New macro.
35975         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
35976         (PROF): Use symbolic stack frame offsets.
35977         (TAIL_CALL_SYSCALL_ERROR): Likewise.
35978         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
35979         Redefine in terms of FRAME_MIN_SIZE.
35980         (_dl_runtime_resolve): Use symbolic stack frame offsets.
35981         (_dl_profile_resolve): Likewise.  Update comment.
35982         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
35983         symbols stack frame offsets.
35984         (__sigsetjmp): Likewise.
35985         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
35986         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
35987         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
35988         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
35990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
35991         (FRAME_BACKCHAIN): Remove.
35992         (FRAME_CR_SAVE): Likewise.
35993         (FRAME_LR_SAVE): Likewise.
35994         (FRAME_COMPILER_DW): Likewise.
35995         (FRAME_LINKER_DW): Likewise.
35996         (FRAME_TOC_SAVE): Likewise.
35997         (FRAME_PARM_SAVE): Likewise.
35998         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
35999         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
36000         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
36002         (CHECK_SP): Use symbolic stack frame offsets.
36003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
36004         zone" instead of caller's parameter save area for temp storage.
36005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36006         Likewise.  Also, use symbolic stack frame offsets.
36007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
36008         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
36009         our own stack frame instead of the caller's.
36010         (__socket): Use symbolic stack frame offsets.
36012 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36013             Alan Modra  <amodra@gmail.com>
36015         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
36016         Define.
36017         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
36018         (PPC64_LOCAL_ENTRY_OFFSET): Define.
36019         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
36020         New function.
36021         (elf_machine_fixup_plt): Call it.
36022         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
36023         reloc arguments.
36024         (elf_machine_rela): Update call to elf_machine_plt_conflict.
36025         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36026         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
36027         r2 before calling target.
36029 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36030             Alan Modra  <amodra@gmail.com>
36032         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
36033         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
36034         versions of macros to support ELFv2 ABI.
36035         (LOCALENTRY): New macro.
36036         (ENTRY, EALIGN): Use it.
36037         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
36038         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
36039         fall through into ENTRY entry point.
36040         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
36041         Only define if _CALL_ELF != 2.
36043         (elf_machine_matches_host): Verify ABI version matches.
36044         (RTLD_START): Use LOCALENTRY.
36045         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
36046         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
36047         (PLT_ENTRY_WORDS): New macro.
36048         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
36049         (elf_machine_runtime_setup): Support ELFv2 ABI.
36050         (elf_machine_fixup_plt): Likewise.
36051         (elf_machine_plt_conflict): Likewise.
36052         (resolve_ifunc): Likewise.
36053         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36054         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36055         Likewise.
36056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
36057         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
36058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36059         (makecontext): Support ELFv2 ABI.
36060         * elf/elf.h (EF_PPC64_ABI): Define.
36062 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36064         * sysdeps/powerpc/powerpc64/sysdep.h
36065         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
36066         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
36067         (ENTRY) [ASSEMBLER]: ... but instead here ...
36068         (EALIGN) [ASSEMBLER]: ... and here.
36069         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
36070         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
36071         (ENTRY_2) [!ASSEMBLER]: Use it.
36072         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
36073         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
36074         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36075         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
36076         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
36077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
36078         Use PPC64_LOAD_FUNCPTR.
36080         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
36082 2013-12-04  Alan Modra  <amodra@gmail.com>
36084         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
36085         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
36086         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
36087         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
36089         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
36090         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
36091         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
36092         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
36093         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
36094         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
36096 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
36098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36099         (__makecontext): Fix incorrect CFI when backtracing out of
36100         context created via makecontext.
36101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
36102         (__setcontext): Fix incorrect CFI during switch to new context.
36103         (__novec_setcontext): Likewise.
36105 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36107         [BZ #4772]
36108         * time/strptime_l.c (__strptime_internal): Allow modifiers
36109         in strptime.
36110         * time/tst-strptime.c (day_tests): Add testcase.
36112 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36114         * scripts/bench.pl: Skip over blank lines.
36116 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
36118         [BZ #926]
36119         * manual/time.texi (Calendar Time): Clarify what timezone functions
36120         use.
36122 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36126 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
36128         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
36129         implementation.
36130         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
36131         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
36132         * debug/memset_chk.c (__memset_chk): Likewise.
36133         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
36134         * debug/strncpy_chk.c: Likewise.
36136 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36138         [BZ #15268]
36139         [BZ #15425]
36140         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
36141         (__ieee754_exp): For possibly underflowing results, check size of
36142         result and force underflow exception if required.
36143         * math/auto-libm-test-in: Add more tests of exp.
36144         * math/auto-libm-test-out: Regenerated.
36145         * sysdeps/i386/fpu/libm-test-ulps: Update.
36146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36148         [BZ #16283]
36149         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
36150         * math/w_exp2f.c (__exp2f): Likewise.
36151         * math/w_exp2l.c (__exp2l): Likewise.
36152         * math/auto-libm-test-in: Do not allow missing errno on exp2
36153         underflow.
36154         * math/auto-libm-test-out: Regenerated.
36156 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
36158         [BZ #16274]
36159         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
36160         handle filename validation.
36161         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
36162         (do_open): Delete.
36164 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
36166         [BZ #6786]
36167         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
36168         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
36169         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
36170         <float.h>.
36171         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
36172         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
36173         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36174         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
36175         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36176         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
36177         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36178         * math/auto-libm-test-in: Don't allow missing errno from erfc.
36179         Add more erfc tests.
36180         * math/auto-libm-test-out: Regenerated.
36181         * sysdeps/i386/fpu/libm-test-ulps: Update.
36182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36184         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
36185         exp2, expm1, j0 and j1.
36186         * math/auto-libm-test-out: Regenerated.
36187         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
36188         (erfc_test_data): Likewise.
36189         (exp_test_data): Likewise.
36190         (exp_tonearest_test_data): Likewise.
36191         (exp_towardzero_test_data): Likewise.
36192         (exp_downward_test_data): Likewise.
36193         (exp_upward_test_data): Likewise.
36194         (exp10_test_data): Likewise.
36195         (exp2_test_data): Likewise.
36196         (expm1_test_data): Likewise.
36197         (j0_test_data): Likewise.
36198         (j1_test_data): Likewise.
36199         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
36200         (input_flag_type): Add flag_xfail_rounding.
36201         (input_flags): Add xfail-rounding.
36202         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
36203         (output_for_one_input_case): Handle flag_xfail_rounding.
36204         * sysdeps/i386/fpu/libm-test-ulps: Update.
36205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36207 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
36209         [BZ #16289]
36210         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
36211         division by 0.
36213 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36215         [BZ #16195]
36216         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
36217         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
36218         (STAP_PROBE0): New macro.
36219         (STAP_PROBE1): Likewise.
36220         (STAP_PROBE2): Likewise.
36221         (STAP_PROBE3): Likewise.
36222         (STAP_PROBE4): Likewise.
36224 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
36226         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
36228 2013-12-02  Steve Ellcey  <sellcey@mips.com>
36230         * benchtests/Makefile (bench): Add sqrt.
36231         (LDLIBS-bench-sqrt): New.
36232         * benchtests/sqrt-input: New.
36234 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
36236         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
36237         (GAIH_EAI): Likewise.
36238         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
36239         (gaih_inet): Likewise.
36240         (getaddrinfo): Don't use GAIH_EAI.
36242         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
36243         (struct gaih): Remove definition.
36245 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36247         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
36248         Use HERRNOP directly.
36250 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36254 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
36256         * math/gen-auto-libm-tests.c (test_functions): Add more
36257         single-argument functions.
36258         (special_fill_pi_2): New function.
36259         (special_fill_minus_pi_2): Likewise.
36260         (special_fill_pi_6): Likewise.
36261         (special_fill_minus_pi_6): Likewise.
36262         (special_fill_pi_3): Likewise.
36263         (special_fill_2pi_3): Likewise.
36264         (special_fill_e): Likewise.
36265         (special_fill_1_e): Likewise.
36266         (special_fill_e_minus_1): Likewise.
36267         (special_real_inputs): Add more special inputs.
36268         (output_for_one_input_case): Do not require ERANGE on underflow to
36269         zero if round-to-nearest result does not underflow to zero, unless
36270         exact results required.
36271         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
36272         atan, atanh, cbrt, cos and cosh.
36273         * math/auto-libm-test-out: Regenerated.
36274         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
36275         (acos_tonearest_test_data): Likewise.
36276         (acos_towardzero_test_data): Likewise.
36277         (acos_downward_test_data): Likewise.
36278         (acos_upward_test_data): Likewise.
36279         (acosh_test_data): Likewise.
36280         (asin_test_data): Likewise.
36281         (asin_tonearest_test_data): Likewise.
36282         (asin_towardzero_test_data): Likewise.
36283         (asin_upward_test_data): Likewise.
36284         (asinh_test_data): Likewise.
36285         (atan_test_data): Likewise.
36286         (atanh_test_data): Likewise.
36287         (cbrt_test_data): Likewise.
36288         (cos_test_data): Likewise.
36289         (cos_tonearest_test_data): Likewise.
36290         (cos_towardzero_test_data): Likewise.
36291         (cos_downward_test_data): Likewise.
36292         (cos_upward_test_data): Likewise.
36293         (cosh_test_data): Likewise.
36294         (cosh_tonearest_test_data): Likewise.
36295         (cosh_towardzero_test_data): Likewise.
36296         (cosh_downward_test_data): Likewise.
36297         (cosh_upward_test_data): Likewise.
36298         * sysdeps/i386/fpu/libm-test-ulps: Update.
36299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36301 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
36303         [BZ #6787]
36304         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
36305         * math/w_exp10f.c (__exp10f): Likewise.
36306         * math/w_exp10l.c (__exp10l): Likewise.
36307         * math/libm-test.inc (exp10_test_data): Add more tests and expect
36308         errno settings in existing tests.
36310         [BZ #14032]
36311         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
36312         precision control set to double precision.
36313         * sysdeps/i386/fpu/w_sqrt.c: New file.
36314         * math/auto-libm-test-in: Add more tests.
36315         * math/auto-libm-test-out: Update.
36317         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
36318         (sqrt_test_tonearest): New function.
36319         (sqrt_towardzero_test_data): New variable.
36320         (sqrt_test_towardzero): New function.
36321         (sqrt_downward_test_data): New variable.
36322         (sqrt_test_downward): New function.
36323         (sqrt_upward_test_data): New variable.
36324         (sqrt_test_upward): New function.
36325         (main): Call the new functions.
36327         * math/gen-auto-libm-tests.c: New file.
36328         * math/auto-libm-test-in: Likewise.
36329         * math/auto-libm-test-out: New generated file.
36330         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
36331         variables.
36332         (%beautify): Add generated representations of zero.
36333         (top level): Set $auto_input and call parse_auto_input.
36334         (beautify): Remove trailing "f" from hex float constants.
36335         (parse_args): Handle XFAIL_TEST.
36336         (convert_condition): New function.
36337         (or_value): Likewise.
36338         (or_cond_value): Likewise.
36339         (generate_testfile): Handle AUTO_TESTS_* lines.
36340         (parse_auto_input): New function.
36341         * math/libm-test.inc (XFAIL_TEST): New macro.
36342         (ERRNO_UNCHANGED): Update value.
36343         (ERRNO_EDOM): Likewise.
36344         (ERRNO_ERANGE): Likewise.
36345         (IGNORE_RESULT): Likewise.
36346         (TEST_COND_flt_32): New macro.
36347         (TEST_COND_dbl_64): Likewise.
36348         (TEST_COND_ldbl_96_intel): Likewise.
36349         (TEST_COND_ldbl_96_m68k): Likewise.
36350         (TEST_COND_ldbl_128): Likewise.
36351         (TEST_COND_ldbl_128ibm): Likewise.
36352         (TEST_COND_long32): Likewise.
36353         (TEST_COND_long64): Likewise.
36354         (TEST_COND_before_rounding): Likewise.
36355         (TEST_COND_after_rounding): Likewise.
36356         (enable_test): Handle XFAIL_TEST flag.
36357         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
36358         with finite results.
36359         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
36360         auto-libm-test-out.
36362 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36363             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36365         [BZ #16214]
36366         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
36367         __tls_get_addr_internal instead of __tls_get_offset in order to
36368         avoid GOT pointer dependency.  Make rtld export
36369         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
36370         __tls_get_addr since we are a __tls_get_offset platform.
36371         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
36372         GOT pointer being set up before.
36373         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
36375 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
36377         * manual/math.texi (Errors in Math Functions): Document accuracy
36378         goals.
36380         [BZ #15004]
36381         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
36382         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
36383         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36384         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36385         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36386         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36387         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36388         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36389         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36390         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36391         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36392         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36393         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36394         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36395         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36396         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36398         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
36399         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
36400         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
36401         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
36402         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
36403         Likewise.
36404         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
36405         Likewise.
36406         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
36407         Likewise.
36408         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
36409         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
36410         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
36411         atomic-feupdateenv and flt-rounds.
36412         * sysdeps/powerpc/nofpu/Versions (libc): Add
36413         __atomic_feholdexcept, __atomic_feclearexcept,
36414         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
36415         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
36416         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
36417         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
36418         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
36419         here.
36420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36421         Update.
36423         * manual/arith.texi (FP Exceptions): Document that exceptions may
36424         not be raised when matherr is used.
36425         (Math Error Reporting): Document overflow in directed rounding
36426         modes.  Document that errno may not be set when finite values are
36427         returned on overflow.  Document intent to set errno on underflow
36428         only for underflow to zero.
36430         [BZ #16271]
36431         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
36432         round-to-nearest then adjust result for other rounding modes.
36433         * include/fenv.h (fegetround): Use libm_hidden_proto.
36434         * math/fegetround.c (fegetround): Use libm_hidden_def.
36435         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36436         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36437         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36438         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36439         Likewise.
36440         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
36441         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36442         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36443         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
36445 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36447         [BZ #16077]
36448         * nss/Versions (libnss_files): Add
36449         _nss_files_gethostbyname3_r.
36450         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
36451         New function.
36452         (HOST_DB_LOOKUP): Remove macro.
36453         (_nss_files_gethostbyname_r): Implement function without the
36454         HOST_DB_LOOKUP macro.
36455         (_nss_files_gethostbyname2_r): Likewise.
36457 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
36459         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
36461 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
36463         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
36464         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
36465         warning.
36467 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36469         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
36470         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
36471         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36472         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36473         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
36474         __fe_nomask_env_priv and attribute_hidden.
36475         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
36476         (libc_feupdateenv_test_ppc): Likewise.
36477         (libc_feresetround_ppc): Likewise.
36478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36479         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
36480         compat_symbol macro.
36481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36482         (__fe_nomask_env): Likewise.
36483         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
36485 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36487         * string/Makefile: Remove ifunc tests.
36488         * string/test-string.h: Define TEST_IFUNC.
36489         * string/test-bcopy-ifunc.c: Remove.
36490         * string/test-bzero-ifunc.c: Likewise.
36491         * string/test-memccpy-ifunc.c: Likewise.
36492         * string/test-memchr-ifunc.c: Likewise.
36493         * string/test-memcmp-ifunc.c: Likewise.
36494         * string/test-memcpy-ifunc.c: Likewise.
36495         * string/test-memmem-ifunc.c: Likewise.
36496         * string/test-memmove-ifunc.c: Likewise.
36497         * string/test-mempcpy-ifunc.c: Likewise.
36498         * string/test-memrchr-ifunc.c: Likewise.
36499         * string/test-memset-ifunc.c: Likewise.
36500         * string/test-rawmemchr-ifunc.c: Likewise.
36501         * string/test-stpcpy-ifunc.c: Likewise.
36502         * string/test-stpncpy-ifunc.c: Likewise.
36503         * string/test-strcasecmp-ifunc.c: Likewise.
36504         * string/test-strcasestr-ifunc.c: Likewise.
36505         * string/test-strcat-ifunc.c: Likewise.
36506         * string/test-strchr-ifunc.c: Likewise.
36507         * string/test-strchrnul-ifunc.c: Likewise.
36508         * string/test-strcmp-ifunc.c: Likewise.
36509         * string/test-strcpy-ifunc.c: Likewise.
36510         * string/test-strcspn-ifunc.c: Likewise.
36511         * string/test-strlen-ifunc.c: Likewise.
36512         * string/test-strncasecmp-ifunc.c: Likewise.
36513         * string/test-strncat-ifunc.c: Likewise.
36514         * string/test-strncmp-ifunc.c: Likewise.
36515         * string/test-strncpy-ifunc.c: Likewise.
36516         * string/test-strnlen-ifunc.c: Likewise.
36517         * string/test-strpbrk-ifunc.c: Likewise.
36518         * string/test-strrchr-ifunc.c: Likewise.
36519         * string/test-strspn-ifunc.c: Likewise.
36520         * string/test-strstr-ifunc.c: Likewise.
36522 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36524         * benchtests/Makefile: Remove ifunc tests.
36525         * benchtests/bench-string.h: Define TEST_IFUNC.
36526         * benchtests/bench-bcopy-ifunc.c: Remove.
36527         * benchtests/bench-bzero-ifunc.c: Likewise.
36528         * benchtests/bench-memccpy-ifunc.c: Likewise.
36529         * benchtests/bench-memchr-ifunc.c: Likewise.
36530         * benchtests/bench-memcmp-ifunc.c: Likewise.
36531         * benchtests/bench-memcpy-ifunc.c: Likewise.
36532         * benchtests/bench-memmem-ifunc.c: Likewise.
36533         * benchtests/bench-memmove-ifunc.c: Likewise.
36534         * benchtests/bench-mempcpy-ifunc.c: Likewise.
36535         * benchtests/bench-memrchr-ifunc.c: Likewise.
36536         * benchtests/bench-memset-ifunc.c: Likewise.
36537         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
36538         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
36539         * benchtests/bench-stpcpy-ifunc.c: Likewise.
36540         * benchtests/bench-stpncpy-ifunc.c: Likewise.
36541         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
36542         * benchtests/bench-strcasestr-ifunc.c: Likewise.
36543         * benchtests/bench-strcat-ifunc.c: Likewise.
36544         * benchtests/bench-strchr-ifunc.c: Likewise.
36545         * benchtests/bench-strchrnul-ifunc.c: Likewise.
36546         * benchtests/bench-strcmp-ifunc.c: Likewise.
36547         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
36548         * benchtests/bench-strcpy-ifunc.c: Likewise.
36549         * benchtests/bench-strcspn-ifunc.c: Likewise.
36550         * benchtests/bench-strlen-ifunc.c: Likewise.
36551         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
36552         * benchtests/bench-strncat-ifunc.c: Likewise.
36553         * benchtests/bench-strncmp-ifunc.c: Likewise.
36554         * benchtests/bench-strncpy-ifunc.c: Likewise.
36555         * benchtests/bench-strnlen-ifunc.c: Likewise.
36556         * benchtests/bench-strpbrk-ifunc.c: Likewise.
36557         * benchtests/bench-strrchr-ifunc.c: Likewise.
36558         * benchtests/bench-strsep-ifunc.c: Likewise.
36559         * benchtests/bench-strspn-ifunc.c: Likewise.
36560         * benchtests/bench-strstr-ifunc.c: Likewise.
36562 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36564         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
36566 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36568         * resolv/netdb.h: Use __glibc_reserved instead __unused.
36569         * rt/aio.h: Likewise.
36570         * sysdeps/gnu/bits/utmp.h: Likewise.
36571         * sysdeps/gnu/bits/utmpx.h: Likewise.
36572         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36573         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
36574         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
36575         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
36576         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
36577         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
36578         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
36579         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
36580         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
36581         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
36582         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
36583         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
36584         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
36585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
36586         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36587         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
36588         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
36589         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
36590         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
36591         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
36592         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
36593         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
36594         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
36595         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36596         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
36597         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36598         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
36599         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
36600         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
36601         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
36602         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
36603         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
36604         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
36605         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36606         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
36607         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
36608         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
36609         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
36610         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
36611         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
36612         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
36613         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36615 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
36617         [BZ #16245]
36618         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
36619         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
36621 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
36623         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
36624         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36625         Likewise.
36627 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36629         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
36630         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
36631         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
36632         (__fesetround): Remove define.
36633         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
36634         rounding and exceptions handling.
36635         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
36636         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
36637         (__fe_nomask_env): Likewise.
36638         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
36639         __fegetround instead of fegetround.
36640         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36641         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
36643 2013-11-21  Roland McGrath  <roland@hack.frob.com>
36645         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
36646         it's there.
36648         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
36650 2013-11-21  Meador Inge  <meadori@codesourcery.com>
36652         [BZ #11157]
36653         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
36654         (encrypt_r): Likewise.
36655         * malloc/obstack.h (obstack_free): Likewise.
36656         * posix/unistd.h (encrypt): Likewise.
36658 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
36660         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
36661         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
36662         DL_CALL_DT_FINI() that call the functions directly.
36663         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
36664         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
36665         * elf/dl-fini.c: Likewise.
36667 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
36669         * malloc/hooks.c (memalign_check): Add alignment rounding.
36670         * malloc/malloc.c (_mid_memalign): New function.
36671         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
36672         Implement by calling _mid_memalign.
36673         * manual/probes.texi (Memory Allocation Probes): Remove
36674         memory_valloc_retry and memory_pvalloc_retry.
36676 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36678         * locale/programs/locarchive.c (open_archive): Add const
36679         qualifier to ARCHIVEFNAME and copy default fname to
36680         DEFAULT_FNAME.
36682         [BZ #15601]
36683         * libio/tst-widetext.input: Rename Oriya to Odia.
36684         * locale/iso-639.def: Likewise.
36686         * manual/probes.texi (Mathematical Function Probes): Add
36687         documentation for sin, cos, asin and acos probes.
36688         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
36689         (__sin32): Add slowasin probe.
36690         (__cos32): Add slowacos probe.
36691         (__mpsin): Add slowsin probe.
36692         (__mpcos): Add slowcos probe.
36694 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
36696         [BZ #15483]
36697         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
36698         thread-local __sim_exceptions_thread and global
36699         __sim_exceptions_global.
36700         (__sim_disabled_exceptions): Change to thread-local
36701         __sim_disabled_exceptions_thread and global
36702         __sim_disabled_exceptions_global.
36703         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36704         and global __sim_round_mode_global.
36705         (__simulate_exceptions): Use thread-local floating-point state and
36706         set global state from it as needed.
36707         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
36708         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
36709         __sim_round_mode_thread.
36710         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
36711         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
36712         and global __sim_exceptions_global.
36713         (__sim_disabled_exceptions): Change to thread-local
36714         __sim_disabled_exceptions_thread and global
36715         __sim_disabled_exceptions_global.
36716         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36717         and global __sim_round_mode_global.
36718         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
36719         (SIM_SET_GLOBAL): Likewise.
36720         * sysdeps/powerpc/soft-fp/sfp-machine.h
36721         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
36722         __sim_round_mode_thread.
36723         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
36724         __sim_disabled_exceptions_thread.
36725         (__sim_exceptions): Change to __sim_exceptions_thread.
36726         (__sim_disabled_exceptions): Change to
36727         __sim_disabled_exceptions_thread.
36728         (__sim_round_mode): Change to __sim_round_mode_thread.
36729         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
36730         thread-local floating-point state and set global state from it as
36731         needed.
36732         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
36733         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
36734         (__sim_disabled_exceptions): Remove extern declaration.
36735         (feenableexcept): Use thread-local floating-point state and set
36736         global state from it as needed.
36737         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
36738         extern declaration.
36739         (__sim_disabled_exceptions): Likewise.
36740         (__sim_round_mode): Likewise.
36741         (__fegetenv): Use thread-local floating-point state.
36742         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
36743         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36744         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
36745         floating-point state and set global state from it as needed.
36746         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
36747         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36748         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
36749         Likewise.
36750         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36751         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
36752         Likewise.
36753         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
36754         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
36755         Use __sim_round_mode_thread.
36756         * math/test-fenv-tls.c: New file.
36757         * math/Makefile (tests): Add test-fenv-tls.
36758         ($(objpfx)test-fenv-tls): Depend on
36759         $(common-objpfx)nptl/libpthread.so.
36761 2013-11-19  Andreas Schwab  <schwab@suse.de>
36763         * locale/programs/locale.c (show_info): Decode wordarray elements.
36764         * locale/categories.def (LC_MONETARY): Add element for
36765         _NL_MONETARY_CRNCYSTR.
36766         * locale/C-monetary.c (conversion_rate): New variable.
36767         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
36768         element.
36770 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
36772         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
36773         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
36775 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
36777         * elf/Makefile (tst-auxv): New test.
36778         * elf/tst-auxv.c: New
36779         * elf/rtld.c (dl_main): Adjust AT_EXECFN
36781 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
36783         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
36784         (hidden_proto): Caller changed.
36785         (hidden_tls_proto): New macro.
36786         (libc_hidden_tls_proto): Likewise.
36787         (rtld_hidden_tls_proto): Likewise.
36788         (libm_hidden_tls_proto): Likewise.
36789         (libresolv_hidden_tls_proto): Likewise.
36790         (librt_hidden_tls_proto): Likewise.
36791         (libdl_hidden_tls_proto): Likewise.
36792         (libnss_files_hidden_tls_proto): Likewise.
36793         (libnsl_hidden_tls_proto): Likewise.
36794         (libnss_nisplus_hidden_tls_proto): Likewise.
36795         (libutil_hidden_tls_proto): Likewise.
36797 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
36799         [BZ #10253]
36800         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
36801         (decompose_rpath): Defer expansion to fillin_rpath.
36802         (_dl_init_paths): Pass linkmap to fillin_rpath.
36804 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36806         * benchtests/Makefile: Add strsep.
36807         * benchtests/bench-strsep.c: New file: strsep benchtest.
36808         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
36810 2013-11-18  Andreas Schwab  <schwab@suse.de>
36812         * locale/programs/locale.c (show_info) [case byte]: Check for
36813         '\377' instead of '\177'.
36814         * locale/C-monetary.c (not_available): Always use "\377".
36815         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
36816         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
36817         detect unavailable sign_posn locale elements.
36818         * locale/localeconv.c (__localeconv): For grouping and
36819         mon_grouping handle "\177" and "\377" like no grouping.
36820         (INT_ELEM): New macro.  Use it to set all numeric members.
36821         * locale/programs/ld-monetary.c (monetary_read)
36822         <tok_mon_grouping>: Normalize single -1 to the empty string.
36823         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
36824         Likewise.
36826 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36828         [BZ #16055]
36829         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
36830         when we match (nil).
36831         * stdio-common/tst-sscanf.c (struct test): Add testcase.
36833 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
36835         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
36836         (NO_TEST_INLINE): Update value.
36837         (ERRNO_UNCHANGED): Likewise.
36838         (ERRNO_EDOM): Likewise.
36839         (ERRNO_ERANGE): Likewise.
36840         (IGNORE_RESULT): Likewise.
36841         (check_float_internal): Check signs of NaN results if
36842         TEST_NAN_SIGN used.
36843         (check_complex): Pass TEST_NAN_SIGN flag through to second
36844         check_float_internal call.
36845         (copysign_test_data): Add tests with quiet NaNs as second
36846         argument.  Use TEST_NAN_SIGN.
36847         (fabs_test_data): Add test of negative quiet NaN argument.  Use
36848         TEST_NAN_SIGN.
36849         (signbit_test_data): Add tests of quiet NaN argument.
36850         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
36852         * math/gen-libm-test.pl (show_exceptions): Take extra argument
36853         $ignore_result.
36854         (parse_args): Handle function results specified as IGNORE.
36855         * math/libm-test.inc (IGNORE_RESULT): New macro.
36856         (check_float_internal): Do not check numerical result if flag
36857         IGNORE_RESULT set.
36858         (check_complex): Pass through IGNORE_RESULT to second
36859         check_float_internal call.
36860         (check_int): Do not check numerical result if flag IGNORE_RESULT
36861         set.
36862         (check_long): Likewise.
36863         (check_bool): Likewise.
36864         (check_longlong): Likewise.
36865         (lrint_test_data): Add tests of infinite and NaN arguments.
36866         (lrint_tonearest_test_data): Likewise.
36867         (lrint_towardzero_test_data): Likewise.
36868         (lrint_downward_test_data): Likewise.
36869         (lrint_upward_test_data): Likewise.
36870         (llrint_test_data): Likewise.
36871         (llrint_tonearest_test_data): Likewise.
36872         (llrint_towardzero_test_data): Likewise.
36873         (llrint_downward_test_data): Likewise.
36874         (llrint_upward_test_data): Likewise.
36875         (lround_test_data): Likewise.
36876         (llround_test_data): Likewise.
36878         * math/libm-test.inc (NO_TEST_INLINE): New macro.
36879         (ERRNO_UNCHANGED): Update value.
36880         (ERRNO_EDOM): Likewise.
36881         (ERRNO_ERANGE): Likewise.
36882         (NO_TEST_INLINE_FLOAT): New macro.
36883         (NO_TEST_INLINE_DOUBLE): Likewise.
36884         (enable_test): New function.
36885         (RUN_TEST_f_f): Check enable_test before running test.
36886         (RUN_TEST_2_f): Likewise.
36887         (RUN_TEST_fff_f): Likewise.
36888         (RUN_TEST_c_f): Likewise.
36889         (RUN_TEST_f_f1): Likewise.
36890         (RUN_TEST_fF_f1): Likewise.
36891         (RUN_TEST_fI_f1): Likewise.
36892         (RUN_TEST_ffI_f1): Likewise.
36893         (RUN_TEST_c_c): Likewise.
36894         (RUN_TEST_cc_c): Likewise.
36895         (RUN_TEST_f_i): Likewise.
36896         (RUN_TEST_f_i_tg): Likewise.
36897         (RUN_TEST_ff_i_tg): Likewise.
36898         (RUN_TEST_f_b): Likewise.
36899         (RUN_TEST_f_b_tg): Likewise.
36900         (RUN_TEST_f_l): Likewise.
36901         (RUN_TEST_f_L): Likewise.
36902         (RUN_TEST_fFF_11): Likewise.
36903         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
36904         conditionals.
36905         (cosh_test_data): Likewise.
36906         (exp_test_data): Likewise.
36907         (expm1_test_data): Likewise.
36908         (hypot_test_data): Likewise.
36909         (pow_test_data): Likewise.
36910         (sinh_test_data): Likewise.
36911         (tanh_test_data): Likewise.
36912         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
36913         flags argument.
36915         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
36916         tests with quiet NaN input and output.
36917         (acosh_test_data): Likewise.
36918         (asin_test_data): Likewise.
36919         (asinh_test_data): Likewise.
36920         (atan_test_data): Likewise.
36921         (atanh_test_data): Likewise.
36922         (atan2_test_data): Likewise.
36923         (cbrt_test_data): Likewise.
36924         (cos_test_data): Likewise.
36925         (cosh_test_data): Likewise.
36926         (erf_test_data): Likewise.
36927         (erfc_test_data): Likewise.
36928         (exp_test_data): Likewise.
36929         (exp10_test_data): Likewise.
36930         (exp2_test_data): Likewise.
36931         (expm1_test_data): Likewise.
36932         (hypot_test_data): Likewise.
36933         (j0_test_data): Likewise.
36934         (j1_test_data): Likewise.
36935         (jn_test_data): Likewise.
36936         (lgamma_test_data): Likewise.
36937         (log_test_data): Likewise.
36938         (log10_test_data): Likewise.
36939         (log1p_test_data): Likewise.
36940         (log2_test_data): Likewise.
36941         (pow_test_data): Likewise.
36942         (scalb_test_data): Likewise.
36943         (sin_test_data): Likewise.
36944         (sincos_test_data): Likewise.
36945         (sinh_test_data): Likewise.
36946         (tan_test_data): Likewise.
36947         (tanh_test_data): Likewise.
36948         (tgamma_test_data): Likewise.
36949         (y0_test_data): Likewise.
36950         (y1_test_data): Likewise.
36951         (yn_test_data): Likewise.
36953         [BZ #16167]
36954         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
36955         argument being NaN and avoid computations with second argument in
36956         that case.
36957         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36958         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36959         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36961 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
36963         * locale/iso-639.def: Add Chitwani Tharu (the).
36965 2013-11-14  Andreas Schwab  <schwab@suse.de>
36967         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
36968         word instead of empty string.
36970 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36973         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
36974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36975         (__fe_nomask_env): Likewise.
36977 2013-11-13  Steve Ellcey  <sellcey@mips.com>
36979         * benchtests/bench-timing.h: Include time.h.
36981 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
36983         [BZ #15997]
36984         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
36985         to 3.4.0 for x32.
36986         * sysdeps/unix/sysv/linux/configure: Regenerated.
36988 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
36990         [BZ #16151]
36991         * stdlib/strtod_l.c (round_and_return): Do not consider
36992         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
36993         exponent one less than half the least subnormal exponent.
36994         * stdlib/test-strtod-round-data: Add more tests.
36995         * stdlib/tst-strtod-round.c (tests): Regenerated.
36997 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36999         [BZ #14143]
37000         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
37001         (__fe_mask_env): Likewise.
37002         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
37003         libm_hidden_proto and add function prototype.
37004         (__fe_mask_env): Add function prototype.
37005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37006         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
37007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37008         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
37009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37010         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
37012 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37014         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
37015         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
37017 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37019         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
37020         of htab_find_slot().
37022 2013-11-11  David S. Miller  <davem@davemloft.net>
37024         [BZ #16150]
37025         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
37026         symbol in the non-vis3 case in static builds.
37027         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
37028         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
37029         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
37030         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
37032 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
37034         [BZ #387]
37035         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
37036         it is empty.
37038 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37040         * benchtests/Makefile: Add bench-strtod.
37041         * benchtests/bench-strtod.c: New file: strtod benchtest
37043 2013-11-11  Andreas Schwab  <schwab@suse.de>
37045         [BZ #16153]
37046         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
37047         terminating NUL in key length.
37049 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37051         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37052         Add artificial ODP entry for vDSO symbol for PPC64.
37053         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
37054         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37056 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37058         [BZ #15374]
37059         * nss/getent.c (services_keys): Recognize services starting with digit.
37061 2013-11-06  David S. Miller  <davem@davemloft.net>
37063         [BZ #15985]
37064         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
37065         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
37067 2013-11-06  Will Newton  <will.newton@linaro.org>
37069         * manual/memory.texi (Malloc Examples): Remove register
37070         keyword from examples.
37072 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
37074         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
37076 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
37078         [BZ #6981]
37079         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
37080         depending on [__GCC_IEC_559 > 0].
37081         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
37082         depending on [__GCC_IEC_559_COMPLEX > 0].
37084 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
37086         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
37087         to iso-639.def.
37089 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
37091         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
37093 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
37095         [BZ #16112]
37096         * malloc/malloc (malloc_info): Do not handle first bin as
37097         special case.
37099 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
37101         * locale/iso-639.def: Add Central Nahuatl (nhn).
37103 2013-11-01  Bruno Haible  <bruno@clisp.org>
37105         [BZ #7003]
37106         * manual/math.texi (BSD Random): Specify range upper bound as
37107         in POSIX.
37109 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
37111         * locale/iso-639.def: Add Meadow Mari (mhr).
37113 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
37115         [BZ #14752], [BZ #15763]
37116         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
37117         Validate name.
37118         * rt/tst_shm.c: Add test for escaping directory.
37120 2013-10-31  Andreas Schwab  <schwab@suse.de>
37122         [BZ #15917]
37123         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
37124         followed by 'x' as part of digit sequence.
37125         * stdio-common/tst-sscanf.c (double_tests2): New tests.
37127 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
37129         [BZ #16037]
37130         * configure.ac: allow GNU Make 4.0 and greater.
37131         * configure: Regenerated.
37133 2013-10-30  Will Newton  <will.newton@linaro.org>
37135         [BZ #16038]
37136         * malloc/hooks.c (memalign_check): Limit alignment to the
37137         maximum representable power of two.
37138         * malloc/malloc.c (__libc_memalign): Likewise.
37139         * malloc/tst-memalign.c (do_test): Add test for very
37140         large alignment values.
37141         * malloc/tst-posix_memalign.c (do_test): Likewise.
37143 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37145         [BZ #11087]
37146         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
37147         (munmap_chunk): Likewise.
37148         (mremap_chunk): Likewise.
37150 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
37152         [BZ #15799]
37153         * stdlib/div.c (div): Remove obsolete code.
37154         * stdlib/ldiv.c (ldiv): Likewise.
37155         * stdlib/lldiv.c (lldiv): Likewise.
37157 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37159         [BZ #16071]
37160         * nss/nss_files/files-XXX.c (get_contents_ret): New
37161         enumerator.
37162         (get_contents): New function.
37163         (internal_getent): Use it.  Expand size of LINEBUFLEN.
37165 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
37167         * configure.in: Moved to ...
37168         * configure.ac: ... here. Change reference to configure.in
37169         to configure.ac.
37170         * sysdeps/arm/preconfigure.ac: ... here.
37171         configure.in to configure.ac.
37172         * sysdeps/gnu/configure.in: Moved to ...
37173         * sysdeps/gnu/configure.ac: ... here.
37174         * sysdeps/i386/configure.in: Moved to ...
37175         * sysdeps/i386/configure.ac: ... here.
37176         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
37177         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
37178         * sysdeps/mach/configure.in: Moved to ...
37179         * sysdeps/mach/configure.ac: ... here.
37180         * sysdeps/mach/hurd/configure.in: Moved to ...
37181         * sysdeps/mach/hurd/configure.ac: ... here.
37182         * sysdeps/powerpc/configure.in: Moved to ...
37183         * sysdeps/powerpc/configure.ac: ... here.
37184         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
37185         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
37186         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
37187         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
37188         * sysdeps/s390/s390-32/configure.in: Moved to ...
37189         * sysdeps/s390/s390-32/configure.ac: ... here.
37190         * sysdeps/s390/s390-64/configure.in: Moved to ...
37191         * sysdeps/s390/s390-64/configure.ac: ... here.
37192         * sysdeps/sh/configure.in: Moved to ...
37193         * sysdeps/sh/configure.ac: ... here.
37194         * sysdeps/sparc/configure.in: Moved to ...
37195         * sysdeps/sparc/configure.ac: ... here.
37196         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
37197         * sysdeps/unix/sysv/linux/configure.ac: ... here.
37198         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
37199         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
37200         * sysdeps/x86_64/configure.in: Moved to ...
37201         * sysdeps/x86_64/configure.ac: ... here.
37202         * sysdeps/x86_64/preconfigure.in: Moved to ...
37203         * sysdeps/x86_64/preconfigure.ac: ... here.
37204         * aclocal.m4: Change reference to configure.in to configure.ac.
37205         * config.h.in: Likewise.
37206         * manual/install.texi: Likewise.
37207         * manual/maint.texi: Likewise.
37208         * Makefile: Likewise.
37209         * malloc/Makefile: Likewise.
37210         * nscd/Makefile: Likewise.
37211         * Makeconfig: Change reference to configure.in and
37212         preconfigure.in to configure.ac and preconfigure.ac
37213         respectively.
37214         * INSTALL: Regenerated.
37215         * configure: Likewise.
37216         * sysdeps/gnu/configure: Likewise.
37217         * sysdeps/i386/configure: Likewise.
37218         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
37219         * sysdeps/mach/configure: Likewise.
37220         * sysdeps/mach/hurd/configure: Likewise.
37221         * sysdeps/powerpc/configure: Likewise.
37222         * sysdeps/powerpc/powerpc32/configure: Likewise.
37223         * sysdeps/powerpc/powerpc64/configure: Likewise.
37224         * sysdeps/s390/s390-32/configure: Likewise.
37225         * sysdeps/s390/s390-64/configure: Likewise.
37226         * sysdeps/sh/configure: Likewise.
37227         * sysdeps/sparc/configure: Likewise.
37228         * sysdeps/unix/sysv/linux/configure: Likewise.
37229         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
37230         * sysdeps/x86_64/configure: Likewise.
37231         * sysdeps/x86_64/preconfigure: Likewise.
37233 2013-10-29  Andreas Schwab  <schwab@suse.de>
37235         * stdio-common/Makefile (tst-swscanf-ENV): Define.
37237 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37239         * benchtests/pow-inputs: Add new inputs.
37241         * benchtests/exp-inputs: Add new inputs.
37243         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
37244         conditional check for return value.
37245         (__cos32): Likewise.
37247 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37249         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
37250         to provide a boost for large inputs with word alignment.
37251         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
37252         implementation based on optimized PPC64 strcpy.
37253         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
37254         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
37255         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
37256         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
37258 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37260         [BZ #2801]
37261         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
37263 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37265         [BZ #14876]
37266         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
37267         * time/tst-strptime.c (day_tests): Add testcase.
37269 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37271         [BZ #14029]
37272         * manual/pattern.texi: Acknowledge that fnmatch can fail.
37274 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
37276         [BZ #16074]
37277         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
37278         MAP_FAILED on error.
37280 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37282         [BZ #16072]
37283         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
37284         heap for large requests.
37286 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
37288         [BZ #9954]
37289         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
37290         result if the result has no associated interface.
37291         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
37292         interface for all 127.X.Y.Z addresses.
37294 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
37296         * locale/iso-639.def: Add Ligurian (lij)
37298 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
37300         [BZ #15825]
37301         * sunrpc/rpc_main.c: Document rpcgen -5.
37303 2013-10-19  Michael Stahl  <mstahl@redhat.com>
37305         * elf/rtld.c (do_preload): Print the reason why preloading failed.
37307 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37309         [BZ #10278]
37310         * posix/glob.c: Match only directories when trailing slash is present.
37311         * posix/tst-gnuglob.c (my_opendir): Do not open files.
37312         (main): Add testcase.
37314 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37316         [BZ #15670]
37317         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
37319 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
37321         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
37322         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
37323         AUTH_DES and cindex for FIPS 140-2.
37324         (DES Encryption): Add cindex FIPS 46-3.
37326         * locale/locarchive.h (struct locarhandle): Add fname.
37327         * locale/programs/localedef.c (main): Pass ARGV[remaining]
37328         if an optional argument was specified to --list-archive,
37329         otherwise NULL.
37330         * locale/programs/locarchive.c (show_archive_content): Take new
37331         argument fname and pass it via ah.fname to open_archive.
37332         * locale/programs/localedef.h: Update decl.
37333         (open_archive): If AH->fname is non-null, open that file
37334         rather than the default file name, and don't ignore ENOENT.
37335         (create_archive): Set AH.fname to NULL.
37336         (delete_locales_from_archive): Likewise.
37337         (add_locales_to_archive): Likewise.
37338         * locale/programs/locfile.c (write_all_categories): Likewise.
37340 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
37341             Aldy Hernandez  <aldyh@redhat.com>
37343         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
37344         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
37345         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
37346         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
37347         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
37348         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
37349         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
37350         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
37351         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
37352         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
37353         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
37354         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
37355         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
37356         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
37357         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
37358         Likewise.
37359         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
37360         Likewise.
37361         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
37362         Likewise.
37363         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
37364         Likewise.
37365         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
37366         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
37367         Likewise.
37368         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
37369         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
37370         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
37371         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
37372         Likewise.
37373         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
37374         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
37375         * sysdeps/powerpc/preconfigure: Likewise.
37376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
37377         Likewise.
37378         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
37379         Replace contents of file by #include of <fenv_libc.h>.
37380         * sysdeps/powerpc/soft-fp/sfp-machine.h
37381         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
37382         and <sys/prctl.h>.
37383         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
37384         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
37385         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
37386         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
37387         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
37388         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
37389         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
37390         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
37391         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
37392         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
37393         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
37394         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
37395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37396         Allow copysignl PLT reference to be missing.
37398 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
37399             Joseph Myers  <joseph@codesourcery.com
37401         [BZ #15948]
37402         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
37403         single character.
37404         (add_to_tablewc): Assert sequence of wide characters is nonempty.
37406 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37408         * elf/tst-tls-dlinfo.c: Don't include tls.h.
37409         * elf/tst-tls1.c: Likewise.
37410         * elf/tst-tls10.h: Likewise.
37411         * elf/tst-tls14.c: Likewise.
37412         * elf/tst-tls2.c: Likewise.
37413         * elf/tst-tls3.c: Likewise.
37414         * elf/tst-tls4.c: Likewise.
37415         * elf/tst-tls5.c: Likewise.
37416         * elf/tst-tls6.c: Likewise.
37417         * elf/tst-tls7.c: Likewise.
37418         * elf/tst-tls8.c: Likewise.
37419         * elf/tst-tls9.c: Likewise.
37420         * elf/tst-tlsmod1.c: Likewise.
37421         * elf/tst-tlsmod13.c: Likewise.
37422         * elf/tst-tlsmod13a.c: Likewise.
37423         * elf/tst-tlsmod14a.c: Likewise.
37424         * elf/tst-tlsmod16a.c: Likewise.
37425         * elf/tst-tlsmod16b.c: Likewise.
37426         * elf/tst-tlsmod2.c: Likewise.
37427         * elf/tst-tlsmod3.c: Likewise.
37428         * elf/tst-tlsmod4.c: Likewise.
37429         * elf/tst-tlsmod5.c: Likewise.
37430         * elf/tst-tlsmod6.c: Likewise.
37432 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
37434         [BZ #12486]
37435         * malloc/malloc.c: remove checks for statistics.
37437 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37439         [BZ #15277]
37440         * inet/inet_net.c (inet_network): Detect additional invalid strings.
37441         * inet/tst-network.c: Add testcase.
37443 2013-10-17  Andreas Schwab  <schwab@suse.de>
37445         [BZ #15218]
37446         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
37447         to determine canonical name.
37449 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37451         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
37452         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
37453         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37454         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37455         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37456         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37457         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37458         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37459         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37460         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37461         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37462         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37463         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37464         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37465         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37466         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37467         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37468         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37469         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37470         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37471         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37472         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37473         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37474         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
37475         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
37476         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37477         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37478         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
37479         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37480         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
37481         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37482         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37483         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37484         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37485         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37486         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37487         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37488         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37489         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37490         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37491         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37492         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37493         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37494         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37495         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37496         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37497         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37498         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37499         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37500         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37501         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37502         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37503         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37504         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37505         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37506         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37507         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37508         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37510 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
37512         [BZ #16041]
37513         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
37514         make result into a quiet NaN.
37516 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
37518         * soft-fp/adddf3.c: Fix horizontal whitespace.
37519         * soft-fp/addsf3.c: Likewise.
37520         * soft-fp/addtf3.c: Likewise.
37521         * soft-fp/divdf3.c: Likewise.
37522         * soft-fp/divsf3.c: Likewise.
37523         * soft-fp/divtf3.c: Likewise.
37524         * soft-fp/double.h: Likewise.
37525         * soft-fp/eqdf2.c: Likewise.
37526         * soft-fp/eqsf2.c: Likewise.
37527         * soft-fp/eqtf2.c: Likewise.
37528         * soft-fp/extenddftf2.c: Likewise.
37529         * soft-fp/extended.h: Likewise.
37530         * soft-fp/extendsfdf2.c: Likewise.
37531         * soft-fp/extendsftf2.c: Likewise.
37532         * soft-fp/extendxftf2.c: Likewise.
37533         * soft-fp/fixdfdi.c: Likewise.
37534         * soft-fp/fixdfsi.c: Likewise.
37535         * soft-fp/fixdfti.c: Likewise.
37536         * soft-fp/fixsfdi.c: Likewise.
37537         * soft-fp/fixsfsi.c: Likewise.
37538         * soft-fp/fixsfti.c: Likewise.
37539         * soft-fp/fixtfdi.c: Likewise.
37540         * soft-fp/fixtfsi.c: Likewise.
37541         * soft-fp/fixtfti.c: Likewise.
37542         * soft-fp/fixunsdfdi.c: Likewise.
37543         * soft-fp/fixunsdfsi.c: Likewise.
37544         * soft-fp/fixunsdfti.c: Likewise.
37545         * soft-fp/fixunssfdi.c: Likewise.
37546         * soft-fp/fixunssfsi.c: Likewise.
37547         * soft-fp/fixunssfti.c: Likewise.
37548         * soft-fp/fixunstfdi.c: Likewise.
37549         * soft-fp/fixunstfsi.c: Likewise.
37550         * soft-fp/fixunstfti.c: Likewise.
37551         * soft-fp/floatdidf.c: Likewise.
37552         * soft-fp/floatdisf.c: Likewise.
37553         * soft-fp/floatditf.c: Likewise.
37554         * soft-fp/floatsidf.c: Likewise.
37555         * soft-fp/floatsisf.c: Likewise.
37556         * soft-fp/floatsitf.c: Likewise.
37557         * soft-fp/floattidf.c: Likewise.
37558         * soft-fp/floattisf.c: Likewise.
37559         * soft-fp/floattitf.c: Likewise.
37560         * soft-fp/floatundidf.c: Likewise.
37561         * soft-fp/floatundisf.c: Likewise.
37562         * soft-fp/floatunditf.c: Likewise.
37563         * soft-fp/floatunsidf.c: Likewise.
37564         * soft-fp/floatunsisf.c: Likewise.
37565         * soft-fp/floatunsitf.c: Likewise.
37566         * soft-fp/floatuntidf.c: Likewise.
37567         * soft-fp/floatuntisf.c: Likewise.
37568         * soft-fp/floatuntitf.c: Likewise.
37569         * soft-fp/fmadf4.c: Likewise.
37570         * soft-fp/fmasf4.c: Likewise.
37571         * soft-fp/fmatf4.c: Likewise.
37572         * soft-fp/gedf2.c: Likewise.
37573         * soft-fp/gesf2.c: Likewise.
37574         * soft-fp/getf2.c: Likewise.
37575         * soft-fp/ledf2.c: Likewise.
37576         * soft-fp/lesf2.c: Likewise.
37577         * soft-fp/letf2.c: Likewise.
37578         * soft-fp/muldf3.c: Likewise.
37579         * soft-fp/mulsf3.c: Likewise.
37580         * soft-fp/multf3.c: Likewise.
37581         * soft-fp/negdf2.c: Likewise.
37582         * soft-fp/negsf2.c: Likewise.
37583         * soft-fp/negtf2.c: Likewise.
37584         * soft-fp/op-1.h: Likewise.
37585         * soft-fp/op-2.h: Likewise.
37586         * soft-fp/op-4.h: Likewise.
37587         * soft-fp/op-8.h: Likewise.
37588         * soft-fp/op-common.h: Likewise.
37589         * soft-fp/quad.h: Likewise.
37590         * soft-fp/single.h: Likewise.
37591         * soft-fp/soft-fp.h: Likewise.
37592         * soft-fp/sqrtdf2.c: Likewise.
37593         * soft-fp/sqrtsf2.c: Likewise.
37594         * soft-fp/sqrttf2.c: Likewise.
37595         * soft-fp/subdf3.c: Likewise.
37596         * soft-fp/subsf3.c: Likewise.
37597         * soft-fp/subtf3.c: Likewise.
37598         * soft-fp/truncdfsf2.c: Likewise.
37599         * soft-fp/trunctfdf2.c: Likewise.
37600         * soft-fp/trunctfsf2.c: Likewise.
37601         * soft-fp/trunctfxf2.c: Likewise.
37602         * soft-fp/unorddf2.c: Likewise.
37603         * soft-fp/unordsf2.c: Likewise.
37604         * soft-fp/unordtf2.c: Likewise.
37606 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
37608         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
37609         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
37611 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
37613         * elf/dl-libc.c: Clear initfini list after freeing.
37615 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
37617         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
37618         * soft-fp/addsf3.c: Likewise.
37619         * soft-fp/addtf3.c: Likewise.
37620         * soft-fp/divdf3.c: Likewise.
37621         * soft-fp/divsf3.c: Likewise.
37622         * soft-fp/divtf3.c: Likewise.
37623         * soft-fp/double.h: Likewise.
37624         * soft-fp/eqdf2.c: Likewise.
37625         * soft-fp/eqsf2.c: Likewise.
37626         * soft-fp/eqtf2.c: Likewise.
37627         * soft-fp/extenddftf2.c: Likewise.
37628         * soft-fp/extended.h: Likewise.
37629         * soft-fp/extendsfdf2.c: Likewise.
37630         * soft-fp/extendsftf2.c: Likewise.
37631         * soft-fp/extendxftf2.c: Likewise.
37632         * soft-fp/fixdfdi.c: Likewise.
37633         * soft-fp/fixdfsi.c: Likewise.
37634         * soft-fp/fixdfti.c: Likewise.
37635         * soft-fp/fixsfdi.c: Likewise.
37636         * soft-fp/fixsfsi.c: Likewise.
37637         * soft-fp/fixsfti.c: Likewise.
37638         * soft-fp/fixtfdi.c: Likewise.
37639         * soft-fp/fixtfsi.c: Likewise.
37640         * soft-fp/fixtfti.c: Likewise.
37641         * soft-fp/fixunsdfdi.c: Likewise.
37642         * soft-fp/fixunsdfsi.c: Likewise.
37643         * soft-fp/fixunsdfti.c: Likewise.
37644         * soft-fp/fixunssfdi.c: Likewise.
37645         * soft-fp/fixunssfsi.c: Likewise.
37646         * soft-fp/fixunssfti.c: Likewise.
37647         * soft-fp/fixunstfdi.c: Likewise.
37648         * soft-fp/fixunstfsi.c: Likewise.
37649         * soft-fp/fixunstfti.c: Likewise.
37650         * soft-fp/floatdidf.c: Likewise.
37651         * soft-fp/floatdisf.c: Likewise.
37652         * soft-fp/floatditf.c: Likewise.
37653         * soft-fp/floatsidf.c: Likewise.
37654         * soft-fp/floatsisf.c: Likewise.
37655         * soft-fp/floatsitf.c: Likewise.
37656         * soft-fp/floattidf.c: Likewise.
37657         * soft-fp/floattisf.c: Likewise.
37658         * soft-fp/floattitf.c: Likewise.
37659         * soft-fp/floatundidf.c: Likewise.
37660         * soft-fp/floatundisf.c: Likewise.
37661         * soft-fp/floatunsidf.c: Likewise.
37662         * soft-fp/floatunsisf.c: Likewise.
37663         * soft-fp/floatuntidf.c: Likewise.
37664         * soft-fp/floatuntisf.c: Likewise.
37665         * soft-fp/floatuntitf.c: Likewise.
37666         * soft-fp/fmadf4.c: Likewise.
37667         * soft-fp/fmasf4.c: Likewise.
37668         * soft-fp/fmatf4.c: Likewise.
37669         * soft-fp/gedf2.c: Likewise.
37670         * soft-fp/gesf2.c: Likewise.
37671         * soft-fp/getf2.c: Likewise.
37672         * soft-fp/ledf2.c: Likewise.
37673         * soft-fp/lesf2.c: Likewise.
37674         * soft-fp/letf2.c: Likewise.
37675         * soft-fp/muldf3.c: Likewise.
37676         * soft-fp/mulsf3.c: Likewise.
37677         * soft-fp/multf3.c: Likewise.
37678         * soft-fp/negdf2.c: Likewise.
37679         * soft-fp/negsf2.c: Likewise.
37680         * soft-fp/negtf2.c: Likewise.
37681         * soft-fp/op-1.h: Likewise.
37682         * soft-fp/op-2.h: Likewise.
37683         * soft-fp/op-4.h: Likewise.
37684         * soft-fp/op-8.h: Likewise.
37685         * soft-fp/op-common.h: Likewise.
37686         * soft-fp/quad.h: Likewise.
37687         * soft-fp/single.h: Likewise.
37688         * soft-fp/soft-fp.h: Likewise.
37689         * soft-fp/sqrtdf2.c: Likewise.
37690         * soft-fp/sqrtsf2.c: Likewise.
37691         * soft-fp/sqrttf2.c: Likewise.
37692         * soft-fp/subdf3.c: Likewise.
37693         * soft-fp/subsf3.c: Likewise.
37694         * soft-fp/subtf3.c: Likewise.
37695         * soft-fp/truncdfsf2.c: Likewise.
37696         * soft-fp/trunctfdf2.c: Likewise.
37697         * soft-fp/trunctfsf2.c: Likewise.
37698         * soft-fp/trunctfxf2.c: Likewise.
37699         * soft-fp/unorddf2.c: Likewise.
37700         * soft-fp/unordsf2.c: Likewise.
37701         * soft-fp/unordtf2.c: Likewise.
37703 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
37705         [BZ #15672]
37706         * misc/error.c (error_tail): Fix possible buffer overflow.
37708 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
37710         [BZ #13028]
37711         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
37712         address.
37714 2013-10-14  P. J. McDermott  <pj@pehjota.net>
37716         [BZ #832]
37717         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
37718         testing pipefail option.
37720 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37722         * soft-fp/double.h: Indent preprocessor directives inside #if.
37723         * soft-fp/extended.h: Likewise.
37724         * soft-fp/op-2.h: Likewise.
37725         * soft-fp/op-4.h: Likewise.
37726         * soft-fp/op-common.h: Likewise.
37727         * soft-fp/quad.h: Likewise.
37728         * soft-fp/single.h: Likewise.
37729         * soft-fp/soft-fp.h: Likewise.
37731 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
37733         * iconv/iconv_prog.c: Fix typos.
37734         * stdio-common/psiginfo-data.h: Likewise.
37736 2013-10-12   Reuben Thomas <rrt@sc3d.org>
37738         [BZ #15764]
37739         * locale/setlocale.c: Fix typo.
37741 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37743         [BZ #16036]
37744         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
37745         signaling NaN arguments.
37746         * soft-fp/unordsf2.c (__unordsf2): Likewise.
37747         * soft-fp/unordtf2.c (__unordtf2): Likewise.
37749         [BZ #14910]
37750         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
37751         unordered operands.
37752         * soft-fp/gesf2.c (__gesf2): Likewise.
37753         * soft-fp/getf2.c (__getf2): Likewise.
37754         * soft-fp/ledf2.c (__ledf2): Likewise.
37755         * soft-fp/lesf2.c (__lesf2): Likewise.
37756         * soft-fp/letf2.c (__letf2): Likewise.
37758         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
37759         * soft-fp/eqsf2.c (__eqsf2): Likewise.
37760         * soft-fp/eqtf2.c (__eqtf2): Likewise.
37761         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
37762         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
37763         * soft-fp/fixdfti.c (__fixdfti): Likewise.
37764         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
37765         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
37766         * soft-fp/fixsfti.c (__fixsfti): Likewise.
37767         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
37768         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
37769         * soft-fp/fixtfti.c (__fixtfti): Likewise.
37770         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
37771         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
37772         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
37773         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
37774         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
37775         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
37776         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
37777         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
37778         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
37779         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
37780         * soft-fp/floatdisf.c (__floatdisf): Likewise.
37781         * soft-fp/floatsisf.c (__floatsisf): Likewise.
37782         * soft-fp/floattidf.c (__floattidf): Likewise.
37783         * soft-fp/floattisf.c (__floattisf): Likewise.
37784         * soft-fp/floattitf.c (__floattitf): Likewise.
37785         * soft-fp/floatundidf.c (__floatundidf): Likewise.
37786         * soft-fp/floatundisf.c (__floatundisf): Likewise.
37787         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
37788         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
37789         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
37790         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
37791         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
37792         * soft-fp/gesf2.c (__gesf2): Likewise.
37793         * soft-fp/getf2.c (__getf2): Likewise.
37794         * soft-fp/ledf2.c (__ledf2): Likewise.
37795         * soft-fp/lesf2.c (__lesf2): Likewise.
37796         * soft-fp/letf2.c (__letf2): Likewise.
37798         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
37799         Undefine and redefine.
37800         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
37801         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
37802         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
37803         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
37804         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37805         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
37806         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37807         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
37808         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37809         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
37810         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37811         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
37812         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37813         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
37814         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37816         [BZ #16032]
37817         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
37818         without decrementing exponent if mantissa >= that for the
37819         denominator, not >.
37820         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
37821         denominator, not >.  Decrement exponent in < case instead of
37822         incrementing in >= case.
37823         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
37824         without decrementing exponent if mantissa >= that for the
37825         denominator, not >.
37827         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
37828         computing saturated result for unsigned overflow.
37830 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37831             Jeff Law  <law@redhat.com>
37833         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
37834         (atan2Mp): Add systemtap probe marker.
37835         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
37836         (__ieee754_log): Add systemtap probe marker.
37837         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
37838         (atanMp): Add systemtap probe marker.
37839         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
37840         (tanMp): Add systemtap probe marker.
37841         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
37842         (__slowexp): Add systemtap probe marker.
37843         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
37844         (__slowpow): Add systemtap probe marker.
37845         * manual/probes.texi: Document probes.
37847 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
37849         [BZ #15362]
37850         * libio/fileops.c (_IO_new_file_write): Return count of bytes
37851         written.
37852         (_IO_new_file_xsputn): Don't return EOF if nothing has been
37853         written.
37854         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
37855         written to buffer but not flushed.
37856         * libio/iofwrite_u.c:  Likewise.
37857         * libio/iopadn.c:  Return bytes returned even if EOF was
37858         encountered.
37859         * libio/iowpadn.c:  Likewise.
37860         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
37861         if _IO_padn does not write the whole buffer.
37862         [!COMPILE_WPRINTF] (PAD): Likewise.
37864 2013-10-10  David S. Miller  <davem@davemloft.net>
37866         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
37867         directory block.
37869 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37871         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
37872         instead of FSF address.
37873         * soft-fp/fixdfti.c: Likewise.
37874         * soft-fp/fixsfti.c: Likewise.
37875         * soft-fp/fixtfti.c: Likewise.
37876         * soft-fp/fixunsdfti.c: Likewise.
37877         * soft-fp/fixunssfti.c: Likewise.
37878         * soft-fp/fixunstfti.c: Likewise.
37879         * soft-fp/floattidf.c: Likewise.
37880         * soft-fp/floattisf.c: Likewise.
37881         * soft-fp/floattitf.c: Likewise.
37882         * soft-fp/floatuntidf.c: Likewise.
37883         * soft-fp/floatuntisf.c: Likewise.
37884         * soft-fp/floatuntitf.c: Likewise.
37885         * soft-fp/trunctfxf2.c: Likewise.
37887         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
37888         * soft-fp/fixdfti.c: Likewise.
37889         * soft-fp/fixsfti.c: Likewise.
37890         * soft-fp/fixtfti.c: Likewise.
37891         * soft-fp/fixunsdfti.c: Likewise.
37892         * soft-fp/fixunssfti.c: Likewise.
37893         * soft-fp/fixunstfti.c: Likewise.
37894         * soft-fp/floattidf.c: Likewise.
37895         * soft-fp/floattisf.c: Likewise.
37896         * soft-fp/floattitf.c: Likewise.
37897         * soft-fp/floatuntidf.c: Likewise.
37898         * soft-fp/floatuntisf.c: Likewise.
37899         * soft-fp/floatuntitf.c: Likewise.
37900         * soft-fp/trunctfxf2.c: Likewise.
37902 2013-10-10  David S. Miller  <davem@davemloft.net>
37904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37906 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
37908         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37909         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
37910         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
37911         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
37912         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
37913         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
37914         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
37916         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
37917         for NaNs before doing comparisons on argument.
37918         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37919         Likewise.
37921 2013-10-10  Will Newton  <will.newton@linaro.org>
37923         * malloc/hooks.c (memalign_check): Ensure the value of bytes
37924         passed to _int_memalign does not overflow.
37926 2013-10-10  Torvald Riegel  <triegel@redhat.com>
37928         * scripts/bench.pl: Add include-sources directive.
37929         * benchtests/README: Update documentation.
37931 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37933         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
37934         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
37935         instead of FP_INIT_ROUNDMODE.
37936         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
37937         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
37939         [BZ #16034]
37940         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
37941         copy class of input value.
37942         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
37943         not handle exceptions.
37944         * soft-fp/negsf2.c (__negsf2): Likewise.
37945         * soft-fp/negtf2.c (__negtf2): Likewise.
37946         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
37948 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
37950         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
37951         semicolon.  From Linux kernel.
37953 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
37955         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
37957 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
37959         [BZ #156]
37960         * manual/socket.texi: Added statement about buffer
37961         for gethostbyname2_r.
37963 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
37965         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
37966         Use .p2align directive instead, throughout.
37967         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37968         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37969         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
37970         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37971         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37972         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
37973         * sysdeps/x86_64/strchr.S: Likewise.
37974         * sysdeps/x86_64/strrchr.S: Likewise.
37976 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37978         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
37980         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
37982         * sysdeps/generic/math_private.h (__mpsin1): Remove
37983         declaration.
37984         (__mpcos1): Likewise.
37985         (__mpsin): New argument __range_reduce.
37986         (__mpcos): Likewise.
37987         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37988         (slow): Use __mpsin and __mpcos.
37989         (slow1): Likewise.
37990         (slow2): Likewise.
37991         (sloww): Likewise.
37992         (sloww1): Likewise.
37993         (sloww2): Likewise.
37994         (bsloww): Likewise.
37995         (bsloww1): Likewise.
37996         (bsloww2): Likewise.
37997         (cslow2): Likewise.
37998         (csloww): Likewise.
37999         (csloww1): Likewise.
38000         (csloww2): Likewise.
38001         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
38002         range_reduce.  Merge in __mpsin1.
38003         (__mpcos): Likewise.
38004         (__mpsin1): Remove.
38005         (__mpcos1): Likewise.
38007 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
38009         * locale/loadlocale.c (_nl_intern_locale_data): Use
38010         LOCFILE_ALIGNED_P.
38011         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
38012         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
38013         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
38014         obstack data is appropriately aligned.
38015         (obstack_int32_grow_fast): Likewise.
38016         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
38017         * locale/programs/locfile.c (add_locale_uint32): Likewise.
38018         (add_locale_uint32_array): Likewise.
38020 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38022         * benchtests/Makefile: Remove ARGLIST and RET variables.
38023         ($(objpfx)bench-%.c): Pass only function name to the script.
38024         * benchtests/README: Update documentation.
38025         * benchtests/acos-inputs: Add new directives.
38026         * benchtests/acosh-inputs: Likewise.
38027         * benchtests/asin-inputs: Likewise.
38028         * benchtests/asinh-inputs: Likewise.
38029         * benchtests/atan-inputs: Likewise.
38030         * benchtests/atanh-inputs: Likewise.
38031         * benchtests/cos-inputs: Likewise.
38032         * benchtests/cosh-inputs: Likewise.
38033         * benchtests/exp-inputs: Likewise.
38034         * benchtests/log-inputs: Likewise.
38035         * benchtests/pow-inputs: Likewise.
38036         * benchtests/rint-inputs: Likewise.
38037         * benchtests/sin-inputs: Likewise.
38038         * benchtests/sinh-inputs: Likewise.
38039         * benchtests/tan-inputs: Likewise.
38040         * benchtests/tanh-inputs: Likewise.
38041         * scripts/bench.pl: Add support for new directives.
38043 2013-10-07  Alan Modra  <amodra@gmail.com>
38045         * README: Fix careless merge.
38047 2013-10-05  Alan Modra  <amodra@gmail.com>
38049         * NEWS: Mention powerpc64le support and bugs fixed.
38050         * README: Both big-endian and little-endian powerpc64 supported.
38052 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38054         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
38055         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
38056         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
38057         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
38059 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
38061         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
38062         match prototype.
38064 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
38066         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
38067         Move -mhard-float appending from
38068         ports/sysdeps/powerpc/powerpc32/Makefile.
38069         [$(with-fp) = yes] (ASFLAGS): Likewise.
38070         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
38071         * sysdeps/powerpc/nofpu: Move directory from
38072         ports/sysdeps/powerpc/nofpu.
38073         * sysdeps/powerpc/soft-fp: Move directory from
38074         ports/sysdeps/powerpc/soft-fp.
38075         * sysdeps/powerpc/powerpc32/405: Move directory from
38076         ports/sysdeps/powerpc/powerpc32/405.
38077         * sysdeps/powerpc/powerpc32/440: Move directory from
38078         ports/sysdeps/powerpc/powerpc32/440.
38079         * sysdeps/powerpc/powerpc32/464: Move directory from
38080         ports/sysdeps/powerpc/powerpc32/464.
38081         * sysdeps/powerpc/powerpc32/476: Move directory from
38082         ports/sysdeps/powerpc/powerpc32/476.
38083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
38084         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
38085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
38086         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
38087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
38088         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
38089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
38090         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
38091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
38092         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
38093         * README: Update for powerpc-*-linux-gnu software floating point
38094         support in libc.
38096         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
38097         case to powerpc/powerpc32*.
38098         * sysdeps/unix/sysv/linux/configure: Regenerated.
38100         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
38101         (_FPU_MASK_OM): Define as 0x04.
38102         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
38103         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
38104         0x00c10080.
38105         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
38106         0x0000003c.
38107         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
38109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
38110         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38111         getcontext_e500.
38112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
38113         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38114         setcontext_e500.
38115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
38116         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
38117         and setcontext_e500.
38119 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
38121         * locale/iso-3166.def: Update iso-1366.def and related occurrences
38123 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38125         * manual/threads.texi (Default Thread Attributes): Fix typo.
38127 2013-10-04  Will Newton  <will.newton@linaro.org>
38129         * malloc/Makefile: Add tst-memalign.
38130         * malloc/tst-memalign.c: New file.
38132         * malloc/tst-posix_memalign.c: Add comments.
38133         (do_test): Add comments and call free on all potentially
38134         allocated pointers. Add space after cast.
38136         * malloc/tst-pvalloc.c: Add comments.
38137         (do_test): Add comments and call free on all potentially
38138         allocated pointers. Remove duplicate check for NULL pointer.
38139         Add space after cast.
38141         * malloc/tst-valloc.c: Add comments.
38142         (do_test): Add comments and call free on all potentially
38143         allocated pointers. Remove duplicate check for NULL pointer.
38144         Add space after cast.
38146 2013-10-04  Alan Modra  <amodra@gmail.com>
38148         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38149         Use stdint types in rather than __attribute__((mode())).
38150         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38152 2013-10-04  Alan Modra  <amodra@gmail.com>
38154         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38155         Correct handling of unaligned relocs for little-endian.
38156         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38158 2013-10-04  Alan Modra  <amodra@gmail.com>
38160         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
38161         * configure: Regenerate.
38162         * nptl/shlib-versions: Powerpc*le starts at 2.18.
38163         * shlib-versions: Likewise.
38165 2013-10-04  Alan Modra  <amodra@gmail.com>
38167         * string/tester.c (test_memrchr): Increment reported test cycle.
38169 2013-10-04  Alan Modra  <amodra@gmail.com>
38171         * string/test-memcpy.c (do_one_test): When reporting errors, print
38172         string address and don't overrun end of string.
38174 2013-10-04  Alan Modra  <amodra@gmail.com>
38176         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
38177         insrdi.  Make better use of reg selection to speed exit slightly.
38178         Schedule entry path a little better.  Remove useless "are we done"
38179         checks on entry to main loop.  Handle wrapping around zero address.
38180         Correct main loop count.  Handle single left-over word from main
38181         loop inline rather than by using loop_small.  Remove extra word
38182         case in loop_small caused by wrong loop count.  Add little-endian
38183         support.
38184         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38185         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
38186         cache hint.
38187         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38188         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
38189         support.  Avoid rlwimi.
38190         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
38192 2013-10-04  Alan Modra  <amodra@gmail.com>
38194         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
38195         insrdi.  Formatting.
38196         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
38197         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38198         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38199         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38200         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38201         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
38203 2013-10-04  Alan Modra  <amodra@gmail.com>
38205         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
38206         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38207         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38208         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
38209         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38210         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38211         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38212         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38213         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
38214         use of regs.  Use power7 mtocrf.  Tidy function tails.
38216 2013-10-04  Alan Modra  <amodra@gmail.com>
38218         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
38219         Formatting.  Consistently use rXXX register defines or rN defines.
38220         Use early exit labels that avoid restoring unused non-volatile regs.
38221         Make cr field use more consistent with rWORDn compares.  Rename
38222         regs used as shift registers for unaligned loop, using rN defines
38223         for short lifetime/multiple use regs.
38224         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38225         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
38226         addi 1,1,64 to pop stack frame.  Simplify return value code.
38227         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38229 2013-10-04  Alan Modra  <amodra@gmail.com>
38231         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
38232         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
38233         rather than rlwimi.
38234         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
38235         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
38236         little-endian support.  Correct typos.
38237         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
38238         rather than rlwimi.
38239         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
38240         in loop and entry code to keep "and." results.
38241         (strchr): Add little-endian support.  Comment.  Move cntlzd
38242         earlier in tail.
38243         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
38245 2013-10-04  Alan Modra  <amodra@gmail.com>
38247         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
38248         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
38249         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
38250         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
38252 2013-10-04  Alan Modra  <amodra@gmail.com>
38254         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
38255         (rTMP): Define as r11.
38256         (strcmp): Add little-endian support.  Optimise tail.
38257         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
38258         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38259         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38260         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38261         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38262         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38263         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38265 2013-10-04  Alan Modra  <amodra@gmail.com>
38267         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
38268         little-endian support.  Remove unnecessary "are we done" tests.
38269         Handle "s" wrapping around zero and extremely large "size".
38270         Correct main loop count.  Handle single left-over word from main
38271         loop inline rather than by using small_loop.  Correct comments.
38272         Delete "zero" tail, use "end_max" instead.
38273         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
38275 2013-10-04  Alan Modra  <amodra@gmail.com>
38277         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
38278         support.  Don't branch over align.
38279         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
38280         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
38281         support.  Rearrange tmp reg use to suit.  Comment.
38282         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
38284 2013-10-04  Alan Modra  <amodra@gmail.com>
38286         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
38288 2013-10-04  Alan Modra  <amodra@gmail.com>
38290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
38291         conditional form of branch and link when obtaining pc.
38292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38294 2013-10-04  Alan Modra  <amodra@gmail.com>
38296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
38297         HIWORD/LOWORD.
38298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
38299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
38301 2013-10-04  Alan Modra  <amodra@gmail.com>
38303         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
38304         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
38305         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
38306         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
38307         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38308         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38309         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
38310         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38311         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
38312         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
38314 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38315             Alistair Popple <alistair@ozlabs.au.ibm.com>
38316             Alan Modra <amodra@gmail.com>
38318         [BZ #15723]
38319         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
38320         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
38321         _dl_hwcap access for little-endian.
38322         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
38323         destroy vmx regs when saving unaligned.
38324         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
38325         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
38326         destroy vmx regs when saving unaligned.
38328 2013-10-04  Alan Modra  <amodra@gmail.com>
38330         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
38331         Don't use a union to pack hi/low value.
38333 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38335         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
38336         for little-endian.
38337         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38338         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
38339         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38340         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38341         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38343 2013-10-04  Alan Modra  <amodra@gmail.com>
38345         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
38346         constants to usual value for .cst8 section, and remove redundant
38347         high address load.
38348         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
38349         constant for 0x1p52.  Load little-endian words of double from
38350         correct stack offsets.
38352 2013-10-04  Alan Modra  <amodra@gmail.com>
38354         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
38355         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
38356         words of double from correct stack offsets.
38357         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38358         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
38359         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38360         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38361         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38362         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38363         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38364         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38365         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38366         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38367         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38368         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38369         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38370         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38371         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38372         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
38373         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38375 2013-10-04  Alan Modra  <amodra@gmail.com>
38377         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
38378         64-bit int/double union.
38379         (_FPU_SETCW): Likewise.
38380         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
38381         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
38383 2013-10-04  Alan Modra  <amodra@gmail.com>
38385         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
38386         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
38388 2013-10-04  Alan Modra  <amodra@gmail.com>
38390         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
38391         use vector int constants.
38392         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
38394 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38396         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
38397         array with long long.
38398         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
38399         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
38400         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
38401         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
38402         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
38403         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
38404         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
38405         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
38406         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
38407         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
38408         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
38409         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
38410         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
38412 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38414         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
38415         (__signbit): Likewise.  Correct for little-endian.
38416         (__signbitl): Call __signbit.
38417         (lrint): Correct for little-endian.
38418         (lrintf): Call lrint.
38420 2013-10-04  Alan Modra  <amodra@gmail.com>
38422         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
38423         union 32-bit int array member with 64-bit int array.
38424         (t515, tm256): Double rather than long double.
38425         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
38427 2013-10-04  Alan Modra  <amodra@gmail.com>
38429         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
38430         Delete.
38431         (IEEE854_LONG_DOUBLE_BIAS): Delete.
38432         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
38433         version of math_ldbl.h.
38435 2013-10-04  Alan Modra  <amodra@gmail.com>
38437         [BZ #15734], [BZ #15735]
38438         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
38439         all uses of ieee875 long double macros and unions.  Simplify test
38440         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
38441         ldbl_extract_mantissa value for ix,iy exponents.  Properly
38442         normalize after ldbl_extract_mantissa, and don't add hidden bit
38443         already handled.  Don't treat low word of ieee854 mantissa like
38444         low word of IBM long double and mask off bit when testing for
38445         zero.
38446         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
38447         all uses of ieee875 long double macros and unions.  Simplify tests
38448         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
38449         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
38450         two1022, instead use their values.  Recognise that tests for large
38451         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
38452         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
38453         Rewrite all uses of ieee875 long double macros and unions.  Simplify
38454         test for 0.0L and nan.  Correct negation.
38455         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
38456         ieee875 long double macros and unions.  Correct output for large
38457         magnitude x.  Correct absolute value calculation.
38458         (__erfcl): Likewise.
38459         * math/libm-test.inc: Add tests for errors discovered in IBM long
38460         double versions of fmodl, remainderl, erfl and erfcl.
38462 2013-10-04  Alan Modra  <amodra@gmail.com>
38464         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
38465         all uses of ieee854 long double macros and unions.  Simplify tests
38466         for long doubles that are fully specified by the high double.
38467         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38468         Likewise.
38469         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
38470         Remove dead code too.
38471         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
38472         (__ieee754_ynl): Likewise.
38473         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
38474         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
38475         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38476         Remove dead code too.
38477         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
38478         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
38479         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
38480         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
38481         Simplify.
38482         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
38483         Simplify.
38484         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
38485         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38486         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
38487         Comment on variable precision.
38488         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
38489         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38490         Likewise.
38491         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38492         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38493         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38494         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
38495         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
38497 2013-10-04  Alan Modra  <amodra@gmail.com>
38499         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
38500         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
38501         all uses of ieee854 long double macros and unions.
38502         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
38503         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38504         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
38505         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
38506         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
38507         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38508         Likewise.
38509         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
38510         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38511         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
38512         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38513         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
38514         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
38515         Simplify sign and nan test too.
38516         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
38517         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38518         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
38519         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38520         Likewise.
38521         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38522         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
38523         Likewise.
38524         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38525         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
38526         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
38527         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
38528         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
38529         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
38531 2013-10-04  Alan Modra  <amodra@gmail.com>
38533         * stdio-common/printf_size.c (__printf_size): Don't use
38534         union ieee854_long_double in fpnum union.
38535         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
38536         signbit macro to retrieve sign from long double.
38537         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
38538         retrieve sign from long double.
38539         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
38540         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
38541         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
38542         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38543         * math/test-misc.c (main): Don't use union ieee854_long_double.
38545 2013-10-04  Alan Modra  <amodra@gmail.com>
38547         [BZ #15680]
38548         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
38549         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
38550         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
38551         calculation.  Remove unnecessary test for denormal exponent.
38552         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
38553         Correct handling of denormals.  Avoid undefined shift behaviour.
38554         Correct normalisation of low mantissa when low double is denormal.
38555         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
38556         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
38557         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
38558         Correct normalisation of low mantissa.  Test for overflow of high
38559         mantissa and normalise.
38560         (ldbl_nearbyint): Use more readable constant for two52.
38561         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
38562         (__mpn_construct_long_double): Fix test for overflow of high
38563         mantissa and correct normalisation.  Avoid undefined shift.
38565 2013-10-04  Alan Modra  <amodra@gmail.com>
38567         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38568         (union ibm_extended_long_double): Define as an array of ieee754_double.
38569         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
38570         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
38571         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
38572         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38573         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38574         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
38575         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38576         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38577         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38578         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
38579         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38581 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
38583         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
38584         page size instead of calling getpagesize.
38586         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
38587         (LOCFILE_ALIGN_MASK): Likewise.
38588         (LOCFILE_ALIGN_UP): Likewise.
38589         (LOCFILE_ALIGNED_P): Likewise.
38590         * locale/programs/ld-collate.c (collate_output): Use the new
38591         macros instead of __alignof__ (int32_t).
38592         * locale/weight.h (findidx): Likewise.
38594 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
38596         [BZ #431]
38597         * manual/string.texi: Fix strncat and wcsncat.
38599 2013-10-03  Brooks Moses  <bmoses@google.com>
38601         [BZ #15915]
38602         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
38603         * Makerules: ...here, and adjust associated comments.
38605 2013-10-02  Will Newton  <will.newton@linaro.org>
38607         * malloc/Makefile: Add tst-pvalloc.
38608         * malloc/tst-pvalloc.c: New file.
38610 2013-10-02  Will Newton  <will.newton@linaro.org>
38612         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
38613         improve test coverage.
38615 2013-10-02  Will Newton  <will.newton@linaro.org>
38617         * malloc/Makefile: Add tst-posix_memalign.
38618         * malloc/tst-posix_memalign.c: New file.
38620 2013-10-01  Eric Blake  <eblake@redhat.com>
38622         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
38623         Use __THROWNL rather than __THROW on static functions.
38625 2013-09-30  Petr Machata  <pmachata@redhat.com>
38627         * elf/elf.h (R_AARCH64_ABS16): New macro.
38628         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
38629         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
38630         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
38631         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
38632         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
38633         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
38634         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
38635         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
38636         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
38637         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
38638         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
38639         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
38640         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
38641         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
38642         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
38643         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
38644         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
38645         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
38646         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
38647         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
38648         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
38649         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
38650         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
38651         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
38652         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
38653         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
38654         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
38655         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
38656         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
38657         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
38658         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
38659         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
38660         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
38661         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
38662         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
38663         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
38664         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
38665         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
38666         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
38667         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
38668         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
38669         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
38670         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
38671         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
38672         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
38673         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
38674         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
38675         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
38676         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
38677         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
38678         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
38679         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
38680         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
38681         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
38682         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
38683         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
38684         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
38685         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
38686         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
38687         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
38688         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
38689         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
38690         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
38691         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
38692         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
38693         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
38694         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
38695         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
38696         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
38697         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
38698         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
38699         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
38700         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
38701         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
38702         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
38703         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
38704         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
38705         (R_AARCH64_TLSDESC_LDR): Likewise.
38706         (R_AARCH64_TLSDESC_ADD): Likewise.
38707         (R_AARCH64_TLSDESC_CALL): Likewise.
38709 2013-09-30  Andreas Schwab  <schwab@suse.de>
38711         [BZ #15048]
38712         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
38713         the nss database lookup.
38714         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38715         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38717 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
38719         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
38721 2013-09-28  P. J. McDermott  <pj@pehjota.net>
38723         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
38724         ${Bash-specific parameter/pattern/string} parameter expansion.
38725         * sysdeps/unix/make-syscalls.sh: Likewise.
38727 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38729         * sysdeps/sh/stackguard-macros.h: New file.
38731 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
38733         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38734         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
38735         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
38736         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
38737         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38738         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
38740 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38742         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
38743         Fix thread ID register.
38745 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
38747         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
38748         [POSIX || UNIX98]: Require rather than permitting all symbols from
38749         <time.h>.
38750         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
38751         element of struct sched_param.
38752         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
38753         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
38754         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
38755         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
38756         constant.
38758 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
38760         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
38761         argument calculation.
38763 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38765         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
38766         Expect macro.
38767         [POSIX] (pthread_attr_t): Do not require type.
38768         [POSIX] (pthread_cond_t): Likewise.
38769         [POSIX] (pthread_condattr_t): Likewise.
38770         [POSIX] (pthread_key_t): Likewise.
38771         [POSIX] (pthread_mutex_t): Likewise.
38772         [POSIX] (pthread_mutexattr_t): Likewise.
38773         [POSIX] (pthread_once_t): Likewise.
38774         [POSIX] (pthread_t): Likewise.
38775         [POSIX-based standards] (pthread_atfork): Expect function.
38777 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38778             Richard Sandiford  <richard@codesourcery.com>
38780         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
38781         (swap_endianness_p): New extern variable.
38782         (set_big_endian): New inline function.
38783         (maybe_swap_uint32): Likewise.
38784         (maybe_swap_uint32_array): Likewise.
38785         (maybe_swap_uint32_obstack): Likewise.
38786         * locale/programs/locfile.c: Include <stdbool.h>.
38787         (swap_endianness_p): New variable.
38788         (add_locale_uint32): Call maybe_swap_uint32.
38789         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
38790         (write_locale_data): Call maybe_swap_uint32_array.
38791         * locale/programs/ld-collate.c (obstack_int32_grow): Call
38792         maybe_swap_uint32.
38793         (obstack_int32_grow_fast): Likewise.
38794         (output_weightwc): Call maybe_swap_uint32_obstack.
38795         (collate_output): Likewise.
38796         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
38797         (OPT_LITTLE_ENDIAN): Likewise.
38798         (options): Add --little-endian and --big-endian options.
38799         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
38800         * locale/programs/locarchive.c: Include "locfile.h".
38801         (GET): New macro.
38802         (SET): Likewise.
38803         (INC): Likewise.
38804         (create_archive): Use the new macros to access fields of
38805         structures directly mapped from or written to locale archives.
38806         (oldlocrecentcmp): Likewise.
38807         (enlarge_archive): Likewise.
38808         (insert_name): Likewise.
38809         (add_alias): Likewise.
38810         (add_locale): Likewise.
38811         (delete_locales_from_archive): Likewise.
38812         (show_archive_content): Likewise.
38813         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
38814         locale data.
38816 2013-09-24  Roland McGrath  <roland@hack.frob.com>
38818         * manual/freemanuals.texi: Updated from (newly) canonical copy at
38819         http://www.gnu.org/doc/freemanuals.texi.
38820         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
38822 2013-09-24  Will Newton  <will.newton@linaro.org>
38824         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
38825         macro.
38827 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
38829         * locale/hashval.h (compute_hashval): Interpret bytes of key as
38830         unsigned char.
38832 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
38834         * manual/threads.texi (POSIX Threads): Fix a typo.
38836 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38838         [BZ #14547]
38839         * string/tst-strcoll-overflow.c: New test case.
38840         * string/Makefile (xtests): Add tst-strcoll-overflow.
38841         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
38842         cache if string sizes may cause integer overflow.
38844         [BZ #14547]
38845         * string/strcoll_l.c (coll_seq): New members rule, idx,
38846         save_idx and back_us.
38847         (get_next_seq_nocache): New function.
38848         (do_compare_nocache): New function.
38849         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
38850         when malloc fails.
38852 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
38854         [BZ #15754]
38855         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
38856         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
38857         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
38859         [BZ #15754]
38860         * elf/Makefile (tests): Add tst-ptrguard1.
38861         (tests-static): Add tst-ptrguard1-static.
38862         (tst-ptrguard1-ARGS): Define.
38863         (tst-ptrguard1-static-ARGS): Define.
38864         * elf/tst-ptrguard1.c: New file.
38865         * elf/tst-ptrguard1-static.c: New file.
38866         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
38867         * sysdeps/i386/stackguard-macros.h: Likewise.
38868         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38869         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38870         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38871         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38872         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38873         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38875 2013-09-23  Hector Marco  <hecmargi@upv.es>
38876             Ismael Ripoll  <iripoll@disca.upv.es>
38877             Carlos O'Donell  <carlos@redhat.com>
38879         [BZ #15754]
38880         * sysdeps/generic/stackguard-macros.h: Define
38881         __pointer_chk_guard_local and POINTER_CHK_GUARD.
38882         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
38883         Define __pointer_chk_guard_local.
38884         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
38885         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
38887 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
38889         [BZ #15859]
38890         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
38892 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
38894         * include/string.h (__ffs): Declare as hidden.
38895         * string/ffs.c (__ffs): Define as hidden.
38896         * sysdeps/i386/ffs.c (__ffs): Likewise.
38897         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
38898         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
38899         * sysdeps/s390/ffs.c (__ffs): Likewise.
38900         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
38902 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
38904         * NEWS: Mention malloc probes.
38906         * malloc/arena.c (new_heap): New memory_heap_new probe.
38907         (grow_heap): New memory_heap_more probe.
38908         (shrink_heap): New memory_heap_less probe.
38909         (heap_trim): New memory_heap_free probe.
38910         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
38911         (systrim): New memory_sbrk_less probe.
38912         * manual/probes.texi: Document them.
38914         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
38915         * manual/probes.texi: Document it.
38917         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
38918         (__libc_realloc): Add memory_realloc_retry probe.
38919         (__libc_memalign): Add memory_memalign_retry probe.
38920         (__libc_valloc): Add memory_valloc_retry probe.
38921         (__libc_pvalloc): Add memory_pvalloc_retry probe.
38922         (__libc_calloc): Add memory_calloc_retry probe.
38923         * manual/probes.texi: Document them.
38925         * malloc/arena.c (get_free_list): Add probe
38926         memory_arena_reuse_free_list.
38927         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
38928         and memory_arena_reuse.
38929         (arena_get2) [!PER_THREAD]: Likewise.
38930         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
38931         memory_arena_reuse_realloc.
38932         * manual/probes.texi: Document them.
38934         * malloc/malloc.c (__libc_free): Add
38935         memory_mallopt_free_dyn_thresholds probe.
38936         (__libc_mallopt): Add multiple memory_mallopt probes.
38937         * manual/probes.texi: Document them.
38939         * malloc/malloc.c: Include stap-probe.h.
38940         (__libc_mallopt): Add memory_mallopt probe.
38941         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
38942         * manual/probes.texi: New.
38943         * manual/Makefile (chapters): Add probes.
38944         * manual/threads.texi: Set next node.
38946 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
38948         [BZ #15963, #13985]
38949         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
38950         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
38951         Add `Chinese' to `nan' entry name.
38953 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38955         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
38956         (POLYNOMIAL): Likewise.
38957         (TAYLOR_SINCOS): Likewise.
38958         (TAYLOR_SLOW): Likewise.
38959         (__sin): Use TAYLOR_SINCOS.
38960         (__cos): Likewise.
38961         (slow): Use TAYLOR_SLOW.
38962         (sloww): Likewise.
38963         (bsloww): Likewise.
38964         (csloww): Likewise.
38966 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38968         * stdlib/strtod_l.c: Fix buffer overrun.
38970 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38972         * benchtests/Makefile (bench): Add sincos.
38973         * benchtests/bench-sincos.c: New file.
38975         * math/libm-test.inc (cos_test_data): New test inputs.
38976         (sin_test_data): Likewise.
38978         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
38979         macro.
38980         (__sin): Use it.
38981         (__cos): Likewise.
38982         (slow1): Likewise.
38983         (slow2): Likewise.
38984         (sloww1): Likewise.
38985         (sloww2): Likewise.
38986         (bsloww1): Likewise.
38987         (bsloww2): Likewise.
38988         (cslow2): Likewise.
38989         (csloww1): Likewise.
38990         (csloww2): Likewise.
38992         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
38993         function.
38994         (__sin): Use it.
38995         (__cos): Likewise.
38997         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
38998         gotos.
38999         (__cos): Likewise.
39001 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
39003         * config.h.in (HAVE_MIPS_NAN2008): New macro.
39004         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
39005         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
39006         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
39007         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
39008         * elf/cache.c (print_entry): Handle the new cache flags.
39010 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39011             Aldy Hernandez  <aldyh@redhat.com>
39013         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
39014         Change condition to [_SOFT_FLOAT].
39015         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
39016         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
39017         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
39018         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
39019         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
39020         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
39021         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
39022         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
39023         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
39024         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
39025         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
39026         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
39027         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
39028         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
39029         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
39030         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
39031         declaration.
39033 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
39035         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
39036         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39037         (__longjmp): Use LOAD_GP to load saved GPRs.
39038         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
39039         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39040         (__sigsetjmp): Use SAVE_GP to save GPRs.
39042         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
39043         Do not append -msoft-float.
39044         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
39046 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39048         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
39050 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
39052         [BZ #15966]
39053         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
39054         (_FPU_GETCW): Use initial "__" on variable and field names but not
39055         on macro parameter name.
39056         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
39057         parentheses around reference to macro parameter.
39059 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
39061         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
39062         prototype.
39063         (ctype_startup): Use uint32_t in cast and sizeof for
39064         ctype->charnames.
39066 2013-09-11  Jia Liu  <proljc@gmail.com>
39068         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
39069         __daddr_t_defined.
39070         [__FreeBSD__]: Likewise.
39072 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
39074         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
39075         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
39076         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
39077         (strchr): Remove __strchr_sse42 ifunc selection.
39078         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
39079         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
39081 2013-09-11  Will Newton  <will.newton@linaro.org>
39083         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
39084         parameter to RES. Remove hardcoded 1000 value.
39085         * benchtests/bench-skeleton.c (main): Pass RES parameter
39086         to TIMING_INIT and multiply result by 1000.
39088 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39092 2013-09-11  Andreas Schwab  <schwab@suse.de>
39094         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39095         if not defined.
39096         (O_TMPFILE) [__USE_GNU]: Define.
39097         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
39098         Define.
39100 2013-09-11  Will Newton  <will.newton@linaro.org>
39102         [BZ #15857]
39103         * malloc/malloc.c (__libc_memalign): Check the value of bytes
39104         does not overflow.
39106 2013-09-11  Will Newton  <will.newton@linaro.org>
39108         [BZ #15856]
39109         * malloc/malloc.c (__libc_valloc): Check the value of bytes
39110         does not overflow.
39112 2013-09-11  Will Newton  <will.newton@linaro.org>
39114         [BZ #15855]
39115         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
39116         does not overflow.
39118 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
39120         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
39121         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39122         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39123         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39124         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39126 2013-09-10  Allan McRae  <allan@archlinux.org>
39128         [BZ #15748]
39129         * manual/arith.texi (Parsing of Floats): Clarify
39130         cross-reference.
39132         [BZ #15849]
39133         * manual/install.texi (Running make install): Mention
39134         --enable-pt-chown.
39135         * INSTALL: Regenerated.
39137 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
39139         * csu/init-first.c (_init): Remove the !SHARED condition around
39140         FPU control word initialization.
39141         * elf/dl-support.c (_dl_fpu_control): New variable.
39142         (_dl_aux_init) <AT_FPUCW>: Initialize it.
39143         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
39144         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
39145         * math/test-fpucw-static.c: New file.
39146         * math/test-fpucw-ieee.c: New file.
39147         * math/test-fpucw-ieee-static.c: New file.
39148         * math/Makefile (tests): Add `test-fpucw-ieee' and
39149         `$(tests-static)'.
39150         (tests-static): New variable.
39151         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
39152         dependency to...
39153         [($(build-shared),yes)]
39154         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39155         ... this.
39156         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
39157         New dependency.
39159 2013-09-09  Allan McRae  <allan@archlinux.org>
39161         [BZ #15939]
39162         * manual/string.texi (Collation Functions): Fix typo in
39163         strcoll example.
39164         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
39166         [BZ #15893]
39167         * stdlib/isomac.c (get_null_defines): Fix memory leak.
39169         [BZ #15892]
39170         * libio/memstream.c (open_memstream): Fix memory leak.
39171         * libio/wmemstream.c (open_wmemstream): Likewise.
39173         [BZ #15895]
39174         * nscd/netgroupcache.c: Fix nesting of ifdefs.
39176 2013-09-09  Will Newton  <will.newton@linaro.org>
39178         * malloc/Makefile: Add tst-realloc to tests.
39179         * malloc/tst-realloc.c: New file.
39181 2013-09-09  Allan McRae  <allan@archlinux.org>
39183         [BZ #15844]
39184         * COPYING: Update from GNU website to fix FSF address.
39185         * COPYING.LIB: Likewise.
39187 2013-09-06  David S. Miller  <davem@davemloft.net>
39189         * po/zh_TW.po: Update Chinese (traditional) translation from
39190         translation project.
39192 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
39193             Joseph Myers  <joseph@codesourcery.com>
39195         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
39196         "localeinfo.h".
39197         (obstack_chunk_alloc): New macro.
39198         (obstack_chunk_free): Likewise.
39199         (record_offset): New function.
39200         (init_locale_data): Likewise.
39201         (align_locale_data): Likewise.
39202         (add_locale_empty): Likewise.
39203         (add_locale_raw_data): Likewise.
39204         (add_locale_raw_obstack): Likewise.
39205         (add_locale_string): Likewise.
39206         (add_locale_wstring): Likewise.
39207         (add_locale_uint32): Likewise.
39208         (add_locale_uint32_array): Likewise.
39209         (add_locale_char): Likewise.
39210         (start_locale_structure): Likewise.
39211         (end_locale_structure): Likewise.
39212         (start_locale_prelude): Likewise.
39213         (end_locale_prelude): Likewise.
39214         (write_locale_data): Take locale_file structure rather than an
39215         iovec.
39216         * locale/programs/locfile.h: Include "obstack.h".
39217         (struct locale_file): Change to store locale file contents instead
39218         of header.
39219         (init_locale_data): New prototype.
39220         (align_locale_data): Likewise.
39221         (add_locale_empty): Likewise.
39222         (add_locale_raw_data): Likewise.
39223         (add_locale_raw_obstack): Likewise.
39224         (add_locale_string): Likewise.
39225         (add_locale_wstring): Likewise.
39226         (add_locale_uint32): Likewise.
39227         (add_locale_uint32_array): Likewise.
39228         (add_locale_char): Likewise.
39229         (start_locale_structure): Likewise.
39230         (end_locale_structure): Likewise.
39231         (start_locale_prelude): Likewise.
39232         (end_locale_prelude): Likewise.
39233         (write_locale_data): Update prototype.
39234         * locale/programs/3level.h (struct TABLE): Remove result field.
39235         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
39236         Use new locale_file interface.
39237         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
39238         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
39239         * locale/programs/ld-address.c (address_output): Use new
39240         locale_file interface.
39241         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
39242         NO_ADD_LOCALE.
39243         (collate_finish): Don't call collseq_table_finalize.
39244         (collate_output): Use new locale_file interface.
39245         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
39246         in file.
39247         (NO_FINALIZE): Change to NO_ADD_LOCALE.
39248         (TABLE): Move defines earlier in file.
39249         (ELEMENT): Likewise.
39250         (DEFAULT): Likewise.
39251         (wctrans_table_add): Move macro and inline function earlier in
39252         file.
39253         (struct wctype_table): Move type earlier in file.
39254         (add_locale_wctype_table): New static prototype.
39255         (struct locale_ctype_t): Use logical types instead of struct iovec
39256         pointers for members.
39257         (ctype_output): Use new locale_file interface.
39258         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
39259         new locale_file interface.
39260         (allocate_arrays): Update for use of new locale_file interface.
39261         * locale/programs/ld-identification.c (identification_output): Use
39262         new locale_file interface.
39263         * locale/programs/ld-measurement.c (measurement_output): Likewise.
39264         * locale/programs/ld-messages.c (messages_output): Likewise.
39265         * locale/programs/ld-monetary.c (monetary_output): Likewise.
39266         * locale/programs/ld-name.c (name_output): Likewise.
39267         * locale/programs/ld-numeric.c (numeric_output): Likewise.
39268         * locale/programs/ld-paper.c (paper_output): Likewise.
39269         * locale/programs/ld-telephone.c (telephone_output): Likewise.
39270         * locale/programs/ld-time.c (time_output): Likewise.
39272 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39274         * benchtests/Makefile: Add memrchr benchmark.
39275         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
39276         benchmark as memrchr.
39277         * benchtests/bench-memrchr-ifunc.c: New file.
39278         * benchtests/bench-memrchr.c: New file.
39280 2013-09-06   Will Newton  <will.newton@linaro.org>
39282         * benchtests/Makefile (string-bench): Add memcpy.
39284 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
39285             Cong Wang  <amwang@redhat.com>
39287         [BZ #15850]
39288         * sysdeps/unix/sysv/linux/bits/in.h
39289         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
39290         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
39291         before __USE_KERNEL_IPV6_DEFS uses.
39292         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
39293         IPPROTO_BEETPH.
39294         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
39295         sockaddr_in6, or ipv6_mreq.
39297 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39299         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
39300         memory access for final bytes in some large inputs.
39301         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
39303 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39305         * string/test-memrchr.c: New file.
39306         * string/test-memrchr-ifunc.c: New file.
39307         * string/Makefile: Add new memrchr testcase.
39309 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
39311         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
39312         fanotify_init returns EPERM.
39314 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39316         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
39317         errors.
39318         (top level): Treat second token from macro or constant entries for
39319         allowed headers as allowed.
39320         * include/complex.h: Condition internal declarations on
39321         [!_ISOMAC].
39322         * include/fenv.h: Condition include of <stdbool.h> and internal
39323         declarations on [!_ISOMAC].
39325 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
39327         [BZ #15923]
39328         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
39330 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39332         * configure.in (--enable-versioning): Remove configure option.
39333         (libc_cv_asm_symver_directive): Remove configure test.
39334         (libc_cv_ld_version_script_option): Likewise.
39335         (VERSIONING): Remove variable and AC_SUBST.
39336         (DO_VERSIONING): Remove AC_DEFINE.
39337         * configure: Regenerated.
39338         * config.h.in (DO_VERSIONING): Remove macro.
39339         * Makerules [$(versioning) = yes]: Change conditionals to
39340         [$(build-shared) = yes].
39341         * config.make.in (versioning): Remove variable.
39342         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
39343         [$(build-shared) = yes].
39344         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
39345         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
39346         * elf/Makefile [$(versioning) = yes]: Change conditionals to
39347         [$(build-shared) = yes].
39348         * extra-lib.mk [$(versioning) = yes]: Likewise.
39349         * hurd/Makefile [$(versioning) = yes]: Likewise.
39350         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
39351         [SHARED].
39352         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
39353         [SHARED].
39354         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39355         [SHARED && !NO_HIDDEN].
39356         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
39357         [SHARED].
39358         [SHARED && DO_VERSIONING]: Likewise..
39359         * libio/Makefile [$(versioning) = yes]: Change conditionals to
39360         [$(build-shared) = yes].
39361         * manual/install.texi (--disable-versioning): Remove
39362         documentation.
39363         * INSTALL: Regenerated.
39364         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
39365         to [SHARED].
39366         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
39367         [$(build-shared) = yes].
39368         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
39369         * sysdeps/i386/i686/multiarch/strstr-c.c
39370         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39371         [SHARED && !NO_HIDDEN].
39372         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
39373         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
39374         * sysdeps/powerpc/powerpc32/dl-machine.c
39375         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
39376         * sysdeps/powerpc/powerpc32/sysdep.h
39377         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
39378         to [SHARED && PIC && !NO_HIDDEN].
39379         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
39380         conditional to [SHARED].
39382 2013-09-04   Will Newton  <will.newton@linaro.org>
39384         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
39385         * benchtests/bench-string.h: Include bench-timing.h instead
39386         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
39387         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
39388         call to HP_TIMING_DIFF_INIT.
39389         * benchtests/bench-memccpy.c: Use bench-timing.h macros
39390         instead of hp-timing.h macros.
39391         * benchtests/bench-memchr.c: Likewise.
39392         * benchtests/bench-memcmp.c: Likewise.
39393         * benchtests/bench-memcpy.c: Likewise.
39394         * benchtests/bench-memmem.c: Likewise.
39395         * benchtests/bench-memmove.c: Likewise.
39396         * benchtests/bench-memset.c: Likewise.
39397         * benchtests/bench-rawmemchr.c: Likewise.
39398         * benchtests/bench-strcasecmp.c: Likewise.
39399         * benchtests/bench-strcasestr.c: Likewise.
39400         * benchtests/bench-strcat.c: Likewise.
39401         * benchtests/bench-strchr.c: Likewise.
39402         * benchtests/bench-strcmp.c: Likewise.
39403         * benchtests/bench-strcpy.c: Likewise.
39404         * benchtests/bench-strcpy_chk.c: Likewise.
39405         * benchtests/bench-strlen.c: Likewise.
39406         * benchtests/bench-strncasecmp.c: Likewise.
39407         * benchtests/bench-strncat.c: Likewise.
39408         * benchtests/bench-strncmp.c: Likewise.
39409         * benchtests/bench-strncpy.c: Likewise.
39410         * benchtests/bench-strnlen.c: Likewise.
39411         * benchtests/bench-strpbrk.c: Likewise.
39412         * benchtests/bench-strrchr.c: Likewise.
39413         * benchtests/bench-strspn.c: Likewise.
39414         * benchtests/bench-strstr.c: Likewise.
39416 2013-09-04  Will Newton  <will.newton@linaro.org>
39418         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
39420 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
39422         [BZ #15427]
39423         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
39424         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
39425         * math/libm-test.inc (lgamma_test_data): Add more tests.
39426         * sysdeps/i386/fpu/libm-test-ulps: Update.
39427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39429 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
39431         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
39432         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39433         Add ifunc.
39434         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39435         Add strcmp-sse2-unaligned
39436         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
39438 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39440         * Versions.def (libc): Add GLIBC_2.19.
39442 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39444         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
39445         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
39447 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
39449         [BZ #14155]
39450         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
39451         intermediate calculations in recurrence.
39452         (__ieee754_ynf): Likewise.
39453         * math/libm-test.inc (jn_test_data): Do not allow spurious
39454         underflow exception.  Add more tests.
39455         (yn_test_data): Add more tests.
39456         * sysdeps/i386/fpu/libm-test-ulps: Update.
39457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39459 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
39461         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
39463 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39465         * csu/init-first.c: Fix then/than typos.
39466         * locale/programs/ld-collate.c: Likewise.
39467         * locale/programs/linereader.h: Likewise.
39468         * manual/charset.texi: Likewise.
39469         * manual/filesys.texi: Likewise.
39470         * manual/stdio.texi: Likewise.
39471         * manual/string.texi: Likewise.
39472         * stdlib/fmtmsg.c: Likewise.
39473         * sysdeps/i386/stpncpy.S: Likewise.
39474         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39475         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39476         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39477         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39479 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39481         * elf/dl-open.c: Fix typos.
39482         * iconvdata/gbbig5.c: Likewise.
39483         * iconvdata/iso-2022-jp.c: Likewise.
39484         * iconv/gconv_int.h: Likewise.
39485         * iconv/loop.c: Likewise.
39486         * nis/rpcsvc/nis.h: Likewise.
39487         * resolv/ns_name.c: Likewise.
39488         * stdio-common/vfscanf.c: Likewise.
39489         * streams/stropts.h: Likewise.
39490         * sunrpc/rpc_thread.c: Likewise.
39491         * sysdeps/i386/strpbrk.S: Likewise.
39492         * sysdeps/ieee754/k_standard.c: Likewise.
39493         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39494         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39495         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
39496         * sysdeps/mach/hurd/profil.c: Likewise.
39497         * sysdeps/s390/dl-procinfo.h: Likewise.
39498         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
39499         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39500         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
39501         * sysdeps/x86_64/dl-trampoline.S: Likewise.
39502         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39504 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
39506         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
39507         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
39509 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
39511         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
39512         aix specific files.
39513         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
39514         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
39515         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
39516         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
39517         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
39518         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
39519         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
39520         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
39522 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39523             Roland McGrath  <roland@hack.frob.com>
39525         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
39526         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
39528 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39530         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
39531         __executable_start symbol instead of _start.
39533 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39535         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
39536         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
39537         Move macros to...
39538         * sysdeps/gnu/ldsodefs.h: ... this new file.
39540         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
39541         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
39542         instead of ELFOSABI_LINUX.
39544         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
39545         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
39546         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
39547         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
39548         Likewise.
39549         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
39550         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
39551         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
39552         Likewise.
39553         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39554         (ibm_extended_long_double): Add ieee_nan member.
39555         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
39556         (do_test): New function.
39558         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
39559         TEST_TRUNC.
39560         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
39561         functions, renamed from truncdfsf_test, trunctfsf_test,
39562         trunctfdf_test.
39563         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
39564         functions.
39565         (do_test): Run all these.
39567 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
39569         * argp/argp-help.c: Fix typos.
39570         * argp/argp-parse.c: Likewise.
39571         * debug/backtracesyms.c: Likewise.
39572         * elf/elf.h: Likewise.
39573         * malloc/malloc.c: Likewise.
39574         * nis/nis_print.c: Likewise.
39575         * resolv/res_comp.c: Likewise.
39576         * stdlib/stdlib.h: Likewise.
39577         * sunrpc/clnt_tcp.c: Likewise.
39578         * sunrpc/clnt_udp.c: Likewise.
39579         * sunrpc/clnt_unix.c: Likewise.
39580         * sysdeps/unix/bsd/ptsname.c: Likewise.
39581         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39582         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
39583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
39584         Likewise.
39585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
39586         Likewise.
39587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
39588         Likewise.
39589         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39591 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39593         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
39594         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39596 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
39598         [BZ #15897]
39599         * dlfcn/Makefile (tests): Add bug-dl-leaf.
39600         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
39601         ($(objpfx)bug-dl-leaf): New rule.
39602         ($(objpfx)bug-dl-leaf.so): Likewise.
39603         ($(objpfx)bug-dl-leaf.out): Likewise.
39604         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
39605         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
39606         * dlfcn/bug-dl-leaf.c: New test.
39607         * dlfcn/bug-dl-leaf-lib.c: Likewise.
39608         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
39609         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
39610         (dlclose): Likewise.
39611         (dlmopen): Likewise.
39613 2013-08-27  Roland McGrath  <roland@hack.frob.com>
39615         * include/netdb.h [!_ISOMAC]:
39616         Don't include <tls.h>.
39617         (h_errno, __libc_h_errno): Move declaration and macros out of
39618         [_LIBC_REENTRANT].
39620         * include/resolv.h [_RESOLV_H_]:
39621         Don't include <tls.h>.
39622         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
39623         * resolv/res_libc.c: Don't include <tls.h>.
39624         (_res): Use __attribute__ ((nocommon)) in place of
39625         __attribute__ ((section (".bss"))).
39627         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
39628         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
39630         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
39632         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
39633         only under [SIOCGIFCONF && SIOCGIFNETMASK].
39635         * resolv/res_mkquery.c: Include <sys/time.h>.
39637         * inet/ifreq.c: Moved to ...
39638         * sysdeps/unix/ifreq.c: ... here.
39639         * inet/ifreq.c: New file, true stub version.
39641         * socket/sa_len.c: New file.
39642         * socket/Makefile (aux): Add it.
39643         * sysdeps/unix/sysv/linux/Makefile
39644         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
39645         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
39646         and #include <socket/sa_len.c>.
39647         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
39648         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
39650         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
39651         * bits/socket.h: ... here.
39653         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
39654         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
39655         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
39657 2013-08-27  Andreas Schwab  <schwab@suse.de>
39659         [BZ #15736]
39660         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
39661         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
39662         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
39663         * string/test-strcasecmp.c (test_main): Run tests in several
39664         locales.
39665         * string/test-strncasecmp.c (test_main): Likewise.
39667         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
39668         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
39669         to __strcasecmp_nonascii and __strncasecmp_nonascii.
39670         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
39671         (__strncasecmp_ssse3) [PIC]: Likewise.
39673 2013-08-26  Roland McGrath  <roland@hack.frob.com>
39675         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
39677         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
39678         instead of explicitly declaring xdecrypt.
39679         * nis/nss_nis/nis-publickey.c: Likewise.
39681 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39683         [BZ #15890]
39684         * nscd/aicache.c: Include res_hconf.h.
39685         (addhstaiX): Initialize res_hconf.
39687 2013-08-26  Andreas Schwab  <schwab@suse.de>
39689         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
39690         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
39692 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39694         * nscd/aicache.c (addhstaiX): Fix indentation.
39696 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
39698         * configure.ac: Quote $build_pt_chown test.
39699         * configure: Regenerated.
39701 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
39703         [BZ #15532]
39704         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
39705         * math/s_cexpf.c (__cexpf): Likewise.
39706         * math/s_cexpl.c (__cexpl): Likewise.
39707         * math/libm-test.inc (cexp_test_data): Correct expected return
39708         value for NaN + i0.  Add another test.
39710 2013-08-22  David S. Miller  <davem@davemloft.net>
39712         * po/ca.po: Update Catalan translation from translation project.
39713         * po/uk.po: Add Ukrainian translations from translation project.
39715 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
39717         [BZ #15797]
39718         * math/s_fdim.c (__fdim): Check for infinite arguments if result
39719         is infinite, not alongside NaN test.
39720         * math/s_fdimf.c (__fdimf): Likewise.
39721         * math/s_fdiml.c (__fdiml): Likewise.
39722         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
39723         errno is unchanged.
39725 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
39727         * argp/argp-help.c: Fix typos.
39728         * crypt/speeds.c: Likewise.
39729         * csu/check_fds.c: Likewise.
39730         * elf/dl-load.c: Likewise.
39731         * elf/dl-open.c: Likewise.
39732         * elf/reldep3.c: Likewise.
39733         * elf/reldep.c: Likewise.
39734         * elf/sprof.c: Likewise.
39735         * iconv/iconv_charmap.c: Likewise.
39736         * iconv/skeleton.c: Likewise.
39737         * iconv/strtab.c: Likewise.
39738         * io/lockf64.c: Likewise.
39739         * libio/libioP.h: Likewise.
39740         * resolv/gai_notify.c: Likewise.
39741         * resolv/ns_name.c: Likewise.
39742         * resolv/ns_samedomain.c: Likewise.
39743         * resolv/res_send.c: Likewise.
39744         * stdlib/random.c: Likewise.
39745         * sunrpc/rpc/xdr.h: Likewise.
39746         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
39747         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39748         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39749         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39750         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39751         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39752         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39753         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39754         * sysdeps/mach/hurd/check_fds.c: Likewise.
39755         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39756         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39757         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39758         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39759         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39760         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39761         * sysdeps/pthread/aio_notify.c: Likewise.
39762         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
39763         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
39764         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
39765         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39766         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39768 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39770         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
39771         version if bit_Slow_SSE4_2 is set.
39772         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39773         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39775 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39777         [BZ #15867]
39778         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
39779         trampoline stack frame information.
39780         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
39781         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
39782         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
39783         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
39784         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
39785         * sysdeps/unix/sysv/linux/powerpc/init-first.c
39786         (_libc_vdso_platform_setup): Initialize the signal trampolines.
39787         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
39788         sa_flags value.
39789         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
39790         interrupting a syscall and set with option SA_SIGINFO.
39792 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39794         [BZ #15531]
39795         * math/s_cproj.c (__cproj): Only return an infinity if one part of
39796         argument is infinite.
39797         * math/s_cprojf.c (__cprojf): Likewise.
39798         * math/s_cprojl.c (__cprojl): Likewise.
39799         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
39800         * math/libm-test.inc (cproj_test_data): Add more tests.
39802         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
39804         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
39805         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
39806         size.  Use __ffs to determine corresponding shift.
39808 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39809             Roland McGrath  <roland@hack.frob.com>
39811         * Makefile (INSTALL): Remove trailing blank lines from output of
39812         makeinfo.
39814 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39816         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
39817         Align 32 bit compat elf_greg to 8 bytes.
39819 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
39821         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
39823 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39825         * string/strcoll_l.c (coll_seq): New structure.
39826         (get_next_seq_cached): New function.
39827         (get_next_seq): New function.
39828         (do_compare): New function.
39829         (STRCOLL): Use GNU style definition.  Simplify implementation
39830         by using get_next_seq, get_next_seq_cached and do_compare.
39832 2013-08-16  Florian Weimer  <fweimer@redhat.com>
39834         [BZ #14699]
39835         CVE-2013-4237
39836         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
39837         member.
39838         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
39839         member.
39840         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
39841         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
39842         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
39843         conditional.
39844         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
39845         GETDENTS_64BIT_ALIGNED.
39846         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39847         * manual/filesys.texi (Reading/Closing Directory): Document
39848         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
39849         strongly.
39850         * manual/conf.texi (Limits for Files): Add portability note to
39851         NAME_MAX, PATH_MAX.
39852         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
39854 2013-08-13  Andreas Schwab  <schwab@suse.de>
39856         [BZ #15749]
39857         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
39858         of fabs.
39859         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
39860         LDBL_MAX_EXP >= 16384]: Add tests for it.
39862 2013-08-12  David S. Miller  <davem@davemloft.net>
39864         * version.h (RELEASE): Set to "development".
39865         (VERSION): Set to "2.18.90".
39866         * NEWS: Add 2.19 section.
39868 2013-08-03  David S. Miller  <davem@davemloft.net>
39870         * po/ko.po: Update Korean translation from translation project.
39872 2013-08-01  David S. Miller  <davem@davemloft.net>
39874         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
39875         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
39876         Bilka.
39878 2013-07-30  David S. Miller  <davem@davemloft.net>
39880         * po/fr.po: Update French translation from translation project.
39882 2013-07-28  David S. Miller  <davem@davemloft.net>
39884         * po/cs.po: Update Czech translation from translation project.
39886         * po/sv.po: Update Swedish translation from translation project.
39888 2013-07-27  David S. Miller  <davem@davemloft.net>
39890         * po/eo.po: Update Esperanto translation from translation project.
39892         * po/vi.po: Update Vietnamese translation from translation project.
39894         * po/de.po: Update German translation from translation project.
39896 2013-07-26  David S. Miller  <davem@davemloft.net>
39898         * po/bg.po: Update Bulgarian translation from translation project.
39900         * po/nl.po: Update Dutch translation from translation project.
39901         * po/pl.po: Update Polish translation from translation project.
39902         * po/ru.po: Update Russian translation from translation project.
39904 2013-07-24  David S. Miller  <davem@davemloft.net>
39906         * po/libc.pot: Update.
39908 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39910         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
39911         variable page size.
39912         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
39913         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
39914         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
39916 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39918         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
39920 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39921             Andreas Schwab  <schwab@suse.de>
39922             Roland McGrath  <roland@hack.frob.com>
39923             Joseph Myers  <joseph@codesourcery.com>
39924             Carlos O'Donell  <carlos@redhat.com>
39926         [BZ #15755]
39927         * config.h.in: Define HAVE_PT_CHOWN.
39928         * config.make.in (build-pt-chown): New variable.
39929         * configure.in (--enable-pt_chown): New configure option.
39930         * configure: Regenerate.
39931         * login/Makefile: Include Makeconfig.  Build pt_chown only if
39932         build-pt-chown is enabled.
39933         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
39934         pt_chown to fix pty ownership.
39935         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
39936         CLOSE_ALL_FDS.
39937         * manual/install.texi (Configuring and compiling): Mention
39938         --enable-pt_chown. Add @findex for grantpt.
39939         * INSTALL: Regenerate.
39941 2013-07-20  David S. Miller  <davem@davemloft.net>
39943         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
39944         difference between 32-bit and 64-bit.
39946 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
39948         [BZ #15711]
39949         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
39950         Avoid system header dependency with -ffreestanding.
39951         ($(objpfx)bits/syscall%d): Likewise.
39953 2013-07-13  David S. Miller  <davem@davemloft.net>
39955         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
39956         underflows from atanl/atan2l due to bug 15319.
39957         (casinh_test_data): Likewise.
39959 2013-07-07  David S. Miller  <davem@davemloft.net>
39961         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
39963 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
39965         * sysdeps/i386/fpu/libm-test-ulps: Update.
39966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39968 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39970         * configure.in (--enable-lock-elision): Fix message text.
39971         * INSTALL: Regenerate.
39972         * configure: Regenerate.
39974 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39978 2013-07-03  Andreas Jaeger  <aj@suse.de>
39980         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
39981         define.
39982         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
39983         (ptrace_peeksiginfo_args): Add.
39984         (__ptrace_peeksiginfo_flags): Add.
39985         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39986         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39987         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39989 2013-07-03  Allan McRae  <allan@archlinux.org>
39991         * sysdeps/i386/fpu/libm-test-ulps: Update.
39993 2013-07-02  David S. Miller  <davem@davemloft.net>
39995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39997 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
39999         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40001 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40003         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40006 2013-07-02  Andi Kleen <ak@linux.intel.com>
40008         * config.h.in (ENABLE_LOCK_ELISION): Add.
40009         * configure.in (--enable-lock-elision): Add option.
40010         * manual/install.texi: Document --enable lock elision.
40011         * configure: Regenerate
40012         * INSTALL: Regenerate.
40014 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
40016         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
40017         SSE4.2 strcasecmp for libc.a.
40018         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40020 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
40022         [BZ #13304]
40023         * soft-fp/op-common.h (_FP_FMA): New macro.
40024         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
40025         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
40026         (_FP_MUL_MEAT_1_imm): ... here.
40027         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
40028         (_FP_MUL_MEAT_1_wide): ... here.
40029         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
40030         (_FP_MUL_MEAT_1_hard): ... here.
40031         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
40032         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
40033         (_FP_MUL_MEAT_2_wide): ... here.
40034         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
40035         (_FP_MUL_MEAT_2_wide_3mul): ... here.
40036         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
40037         (_FP_MUL_MEAT_2_gmp): ... here.
40038         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
40039         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
40040         (_FP_MUL_MEAT_4_wide): ... here.
40041         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
40042         (_FP_MUL_MEAT_4_gmp): ... here.
40043         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
40044         (_FP_WFRACBITS_DW_S): Likewise.
40045         (_FP_WFRACXBITS_DW_S): Likewise.
40046         (_FP_HIGHBIT_DW_S): Likewise.
40047         (FP_FMA_S): Likewise.
40048         (_FP_FRAC_HIGH_DW_S): Likewise.
40049         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
40050         (_FP_WFRACBITS_DW_D): Likewise.
40051         (_FP_WFRACXBITS_DW_D): Likewise.
40052         (_FP_HIGHBIT_DW_D): Likewise.
40053         (FP_FMA_D): Likewise.
40054         (_FP_FRAC_HIGH_DW_D): Likewise.
40055         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
40056         (_FP_WFRACBITS_DW_E): Likewise.
40057         (_FP_WFRACXBITS_DW_E): Likewise.
40058         (_FP_HIGHBIT_DW_E): Likewise.
40059         (FP_FMA_E): Likewise.
40060         (_FP_FRAC_HIGH_DW_E): Likewise.
40061         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
40062         (_FP_WFRACBITS_DW_Q): Likewise.
40063         (_FP_WFRACXBITS_DW_Q): Likewise.
40064         (_FP_HIGHBIT_DW_Q): Likewise.
40065         (FP_FMA_Q): Likewise.
40066         (_FP_FRAC_HIGH_DW_Q): Likewise.
40067         * soft-fp/fmasf4.c: New file.
40068         * soft-fp/fmadf4.c: Likewise.
40069         * soft-fp/fmatf4.c: Likewise.
40071 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40073         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40074         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
40075         Silvermont.
40076         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
40077         macro.
40078         (index_Slow_SSE4_2): Likewise.
40079         (index_Prefer_PMINUB_for_stringop): Likewise.
40080         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
40081         bit_Slow_SSE4_2 is set.
40082         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40083         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40085 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40087         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
40088         rtld_global._dl_hwcap2.
40089         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
40090         POWER8.
40091         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
40092         POWER8 feature descriptions defined in _dl_hwcap2.
40093         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
40094         string handling for POWER8 feature bits.
40095         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
40096         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
40097         _dl_powerpc_cap_flags.
40098         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
40099         * sysdeps/powerpc/rtld-global-offsets.sym
40100         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
40101         _dl_hwcap2 in the rtld_global_ro structure.
40103 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40105         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
40106         hardware capabilities in support of AT_HWCAP2.
40107         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
40108         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
40109         GLRO(dl_hwcap2).
40110         (_dl_show_auxv): Add support for calling _dl_procinfo to display
40111         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
40112         explicitly the unknown a_type display mechanism is used.
40113         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
40114         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
40115         struct member.
40116         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
40117         to macro prototype for AT_HWCAP2 support.
40118         * sysdeps/i386/dl-procinfo.h: Likewise.
40119         * sysdeps/s390/dl-procinfo.h: Likewise.
40120         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
40121         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
40122         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
40123         return -1 for unknown a_type display fallback.
40124         * sysdeps/sparc/dl-procinfo.h: Likewise.
40125         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
40126         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
40128 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
40130         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
40131         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
40133 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
40135         [BZ #12492]
40136         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
40137         mprotect making __stack_prot writable.
40139 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
40140             Joseph Myers  <joseph@codesourcery.com>
40142         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
40143         as being properly aligned.
40145 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
40147         * dlfcn/modstatic5.c: New file.
40148         * dlfcn/tststatic5.c: New file.
40149         * dlfcn/Makefile (tests): Add tststatic5.
40150         (tests-static): Likewise.
40151         (modules-names): Add modstatic5.
40152         (tststatic5-ENV): New variable.
40153         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
40155         [BZ #15022]
40156         * elf/dl-support.c (_dl_main_map): New variable.
40157         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
40158         (_dl_nns, _dl_load_adds): Set to 1.
40159         (_dl_initial_searchlist): Refer to _dl_main_map.
40160         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
40161         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
40162         call to _dl_get_origin.
40163         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
40164         around call_map.
40165         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
40166         * dlfcn/modstatic3.c: New file.
40167         * dlfcn/tststatic3.c: New file.
40168         * dlfcn/tststatic4.c: New file.
40169         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
40170         (tests-static): Likewise.
40171         (modules-names): Add modstatic3.
40172         (tststatic3-ENV, tststatic4-ENV): New variables.
40173         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
40174         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
40176 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
40178         * configure.in (CC): Require GCC version 4.4 or later.
40179         * configure: Regenerated.
40180         * manual/install.texi (Tools for Compilation): Update GCC version
40181         requirement.
40182         * INSTALL: Regenerated.
40184 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40186         [BZ #15674]
40187         * string/test-memcmp.c (check2): New.
40188         (main): Call check2.
40190         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
40192 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
40194         [BZ #15022]
40195         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
40196         over to...
40197         (dl_open_worker) [!SHARED]: ... here.
40199 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40201         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
40203 2013-06-25  Richard Henderson  <rth@redhat.com>
40205         * locale/programs/locarchive.c: Include <libc-internal.h>
40207 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
40209         * manual/texinfo.tex: Update to version 2013-06-21.17, with
40210         trailing whitespace removed.
40212 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40214         [BZ #10283]
40215         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
40216         * locale/programs/locarchive.c: Include libc-mmap.h.
40217         (prepare_address_space): Take two new outputs (the mmap base and len).
40218         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
40219         values.
40220         (create_archive): Declare new mmap base and len values for
40221         prepare_address_space, and store the result in ah.
40222         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
40223         (enlarge_archive): If ah->mmap_base is not NULL, use that and
40224         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40225         Declare new mmap base and len values for
40226         prepare_address_space, and store the result in new_ah.
40227         (open_archive): Declare new mmap base and len values for
40228         prepare_address_space, and store the result in ah.
40229         (close_archive): If ah->mmap_base is not NULL, use that and
40230         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40231         * sysdeps/generic/libc-mmap.h: New file.
40233 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40235         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
40236         (ALIGN_UP): Likewise.
40237         (PTR_ALIGN_DOWN): Likewise.
40238         (PTR_ALIGN_UP): Likewise.
40240 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40242         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
40243         entry mapped to PPC_PLATFORM_POWER8.
40244         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
40245         POWER8.
40246         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
40247         (_dl_string_platform): Add case for exporting platform position for
40248         POWER8.
40249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
40250         search path to sysdeps/powerpc/powerpc32/power8 directory.
40251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
40252         search path to sysdeps/powerpc/powerpc64/power8 directory.
40253         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
40254         power7 directories.
40255         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
40256         power7 directories.
40258 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40260         * INSTALL: Regenerate.
40262         * nscd/connections.c (nscd_init): Fix comment.
40264 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
40266         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
40268         [BZ #15667]
40269         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
40270         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
40272 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40274         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
40275         DL_DST_REQ_STATIC.
40276         (DL_DST_REQ_STATIC): Remove macro.
40278 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
40280         [BZ #7006]
40281         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
40282         with a shift of 0 bits.
40284 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40286         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
40287         $(tststatic-ENV).
40289 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40291         [BZ #15655]
40292         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
40294 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40296         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
40297         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
40298         accepts -fno-tree-loop-distribute-patterns.
40299         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
40300         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
40301         recursive call.
40302         * string/memset.c (memset): Likewise.
40303         * string/test-memmove.c (simple_memmove): Disable loop transformation
40304         to library calls.
40305         * string/test-memset.c (simple_memset): Likewise.
40306         * benchtests/bench-memmove.c (simple_memmove): Likewise.
40307         * benchtests/bench-memset.c (simple_memset): Likewise.
40308         * configure: Regenerated.
40310 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
40312         * math/test-misc.c (main): Ignore fesetround failure when failures
40313         of subsequent rounding tests would be ignored.
40315         [BZ #15654]
40316         * math/fedisblxcpt.c (fedisableexcept): Return 0.
40317         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
40318         * math/fegetenv.c (__fegetenv): Return 0.
40319         * math/fegetexcept.c (fegetexcept): Return 0.
40320         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
40321         FE_TONEAREST.
40322         * math/feholdexcpt.c (feholdexcept): Return 0.
40323         * math/fesetenv.c (__fesetenv): Return 0.
40324         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
40325         argument FE_TONEAREST.
40326         * math/feupdateenv.c (__feupdateenv): Return 0.
40327         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
40329 2013-06-18  Roland McGrath  <roland@hack.frob.com>
40331         * elf/rtld-Rules (rtld-compile-command.S): New variable.
40332         (rtld-compile-command.s, rtld-compile-command.c): New variables.
40333         ($(objpfx)rtld-%.os rules): Use them.
40335 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40337         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
40338         fields.
40340 2013-06-17  Roland McGrath  <roland@hack.frob.com>
40342         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
40343         length of target pattern, then descending length of dependency pattern.
40344         * configure.in (AWK): Require gawk 3.1.2 or newer.
40345         * manual/install.texi (Tools for Compilation): Say that we do.
40346         * configure: Regenerated.
40348         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
40349         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
40350         * scripts/sysd-rules.awk: ... this new script.
40351         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
40352         than a glob-style pattern.
40354 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
40356         * math/test-misc.c (main): Do not treat incorrectly rounded
40357         conversions as failure unless ROUNDING_TESTS passes.
40359 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
40361         [BZ #15631]
40362         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
40363         restore exception state around main square root computation, then
40364         check for inexactness explicitly.
40366         * math/libm-test.inc (fma_test_data): Add another test.
40368 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40370         * manual/threads.texi (Non-POSIX Extensions): New document
40371         node.  Document pthread_getattr_default_np and
40372         pthread_setattr_default_np.
40374         * Versions.def (libpthread): Add GLIBC_2.18.
40375         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
40376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40377         Likewise.
40378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40379         Likewise.
40380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40381         Likewise.
40382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40383         Likewise.
40384         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
40385         Likewise.
40386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40387         Likewise.
40388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40389         Likewise.
40390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40391         Likewise.
40392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40393         Likewise.
40395 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40398         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
40400 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40401             H.J. Lu  <hjl.tools@gmail.com>
40403         [BZ #15627]
40404         * sysdeps/x86_64/rtld-memset.c: Remove file.
40405         * sysdeps/x86_64/rtld-memset.S: New file.
40407 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
40409         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
40410         (test_in_one_mode): Take arguments for whether the rounding mode
40411         is supported for each floating-point type.
40412         (do_test): Pass new arguments to test_in_one_mode using
40413         ROUNDING_TESTS.
40415 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40417         * posix/tst-waitid.c (do_test): Distinguish different instances of
40418         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
40419         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
40420         before entering the kernel for waitpid.
40422 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40424         * NEWS: Fix note on clock function precision.  Text by Roland
40425         McGrath.
40427 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40429         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
40430         it into place only when and if the sanity check passes.
40432 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
40434         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
40435         output for whether conversion result is exact.  Take argument
40436         indicating whether type is IBM long double.
40437         (round_for_all): Change need_exact field to ibm_ld.
40438         * stdlib/tst-strtod-round.c (struct exactness): New type.
40439         (struct test): Change bool ld_ok field to struct exactness exact.
40440         (TEST): Update all definitions for change to field.
40441         (tests): Regenerate array contents.
40442         (test_in_one_mode): Take pointer to new field instead of old ld_ok
40443         field value.  Check for IBM long double here.
40444         (do_test): Update calls to test_in_one_mode.
40446 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40448         [BZ #12515]
40449         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
40450         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
40452 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40454         [BZ #15605]
40455         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
40456         generated by the compiler on loop optimizations.
40457         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
40458         general definitions.
40460 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
40462         * math/bug-nextafter.c: Include <math-tests.h>.
40463         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40464         the relevant type.
40465         * math/bug-nexttoward.c: Include <math-tests.h>.
40466         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40467         the relevant type.
40468         * math/test-misc.c: Include <math-tests.h>.
40469         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40470         the relevant type.
40472 2013-06-12  Andreas Jaeger  <aj@suse.de>
40474         * po/ia.po: Update Interlingua translation from translation
40475         project.
40477 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40479         * include/fenv.h: Include stdbool.h.
40480         (struct rm_ctx): New structure.
40481         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
40482         Define macro.
40483         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
40484         (SET_RESTORE_ROUNDF): Likewise.
40485         (SET_RESTORE_ROUNDL): Likewise.
40486         (SET_RESTORE_ROUND_NOEX): Likewise.
40487         (SET_RESTORE_ROUND_NOEXF): Likewise.
40488         (SET_RESTORE_ROUND_NOEXL): Likewise.
40489         (SET_RESTORE_ROUND_53BIT): Likewise.
40490         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
40491         (libc_feresetround_noexf_ctx): Likewise.
40492         (libc_feresetround_noexl_ctx): Likewise.
40493         (libc_feholdsetround_53bit_ctx): Likewise.
40494         (libc_feresetround_53bit_ctx): Likewise.
40495         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
40496         (libc_feholdexcept_setround_sse_ctx): New function.
40497         (libc_fesetenv_sse_ctx): Likewise.
40498         (libc_feupdateenv_sse_ctx): Likewise.
40499         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
40500         (libc_feholdexcept_setround_387_ctx): Likewise.
40501         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
40502         (libc_feholdsetround_387_prec_ctx): Likewise.
40503         (libc_feholdsetround_387_ctx): Likewise.
40504         (libc_feholdsetround_387_53bit_ctx): Likewise.
40505         (libc_feholdsetround_sse_ctx): Likewise.
40506         (libc_feresetround_sse_ctx): Likewise.
40507         (libc_feresetround_387_ctx): Likewise.
40508         (libc_feupdateenv_387_ctx): Likewise.
40509         (libc_feholdexcept_setroundf_ctx): Define macro.
40510         (libc_fesetenvf_ctx): Likewise.
40511         (libc_feupdateenvf_ctx): Likewise.
40512         (libc_feholdsetroundf_ctx): Likewise.
40513         (libc_feresetroundf_ctx): Likewise.
40514         (libc_feholdexcept_setround_ctx): Likewise.
40515         (libc_fesetenv_ctx): Likewise.
40516         (libc_feupdateenv_ctx): Likewise.
40517         (libc_feholdsetround_ctx): Likewise.
40518         (libc_feresetround_ctx): Likewise.
40519         (libc_feholdexcept_setroundl_ctx): Likewise.
40520         (libc_feupdateenvl_ctx): Likewise.
40521         (libc_feholdsetroundl_ctx): Likewise.
40522         (libc_feresetroundl_ctx): Likewise.
40523         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
40524         (libc_feresetround_53bit_ctx): Likewise.
40526 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40528         * locale/iso-639.def: Convert to UTF-8.
40530 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
40532         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
40533         (EXCEPTION_TESTS_double): Likewise.
40534         (EXCEPTION_TESTS_long_double): Likewise.
40535         (EXCEPTION_TESTS): Likewise.
40536         * math/libm-test.inc (test_exceptions): Only test exceptions if
40537         EXCEPTION_TESTS (FLOAT).
40539 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40541         * benchtests/Makefile (string-bench): Add strcpy_chk and
40542         stpcpy_chk.
40543         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
40544         * benchtests/bench-stpcpy_chk.c: New file.
40545         * benchtests/bench-strcpy_chk-ifunc.c: New file.
40546         * benchtests/bench-strcpy_chk.c: New file.
40547         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
40548         code.
40549         (do_test): Likewise.
40551 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40553         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
40554         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
40555         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
40556         with tabs where appropriate.
40557         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
40558         dl-procinfo.h.
40559         [PPC_PLATFORM_PPC440]: Likewise.
40560         [PPC_PLATFORM_PPC464]: Likewise.
40561         [PPC_PLATFORM_PPC476]: Likewise.
40562         (_dl_string_platform): Add support for detecting ppc405, ppc440,
40563         ppc464, and ppc476 platform strings merging from ports/
40564         dl-procinfo.h.
40566 2013-06-11  Andreas Schwab  <schwab@suse.de>
40568         [BZ #14991]
40569         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
40570         (from_ucs4_idx): Regenerate.
40571         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
40572         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
40573         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
40574         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
40575         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
40576         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
40577         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
40578         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
40579         from FROM_LOOP and TO_LOOP specific macros.
40580         (BODY): Handle combining characters.
40581         * iconvdata/BIG5HKSCS.irreversible: Update.
40582         * iconvdata/BIG5HKSCS.precomposed: New file.
40583         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
40584         characters.
40585         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
40587 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40589         * include/sys/time.h: Fix indentation and add copyright header.
40591         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
40592         (do_test): Likewise.
40593         * string/test-memchr.c (do_one_test): Likewise.
40594         (do_test): Likewise.
40595         * string/test-memcmp.c (do_one_test): Likewise.
40596         (do_test): Likewise.
40597         * string/test-memcpy.c (do_one_test): Likewise.
40598         (do_test): Likewise.
40599         * string/test-memmem.c (do_one_test): Likewise.
40600         (do_test): Likewise.
40601         (do_random_tests): Likewise.
40602         * string/test-memmove.c (do_one_test): Likewise.
40603         (do_test): Likewise.
40604         * string/test-memset.c (do_one_test): Likewise.
40605         (do_test): Likewise.
40606         * string/test-rawmemchr.c (do_one_test): Likewise.
40607         (do_test): Likewise.
40608         * string/test-strcasecmp.c (do_one_test): Likewise.
40609         (do_test): Likewise.
40610         * string/test-strcasestr.c (do_one_test): Likewise.
40611         (do_test): Likewise.
40612         * string/test-strcat.c (do_one_test): Likewise.
40613         (do_test): Likewise.
40614         * string/test-strchr.c (do_one_test): Likewise.
40615         (do_test): Likewise.
40616         * string/test-strcmp.c (do_one_test): Likewise.
40617         (do_test): Likewise.
40618         * string/test-strcpy.c (do_one_test): Likewise.
40619         (do_test): Likewise.
40620         * string/test-string.h: Likewise.
40621         (test_init): Likewise.
40622         * string/test-strlen.c (do_one_test): Likewise.
40623         (do_test): Likewise.
40624         * string/test-strncasecmp.c (do_one_test): Likewise.
40625         (do_test): Likewise.
40626         * string/test-strncat.c (do_one_test): Likewise.
40627         (do_test): Likewise.
40628         * string/test-strncmp.c (do_one_test): Likewise.
40629         (do_test_limit): Likewise.
40630         (do_test): Likewise.
40631         * string/test-strncpy.c (do_one_test): Likewise.
40632         (do_test): Likewise.
40633         * string/test-strnlen.c (do_one_test): Likewise.
40634         (do_test): Likewise.
40635         * string/test-strpbrk.c (do_one_test): Likewise.
40636         (do_test): Likewise.
40637         * string/test-strrchr.c (do_one_test): Likewise.
40638         (do_test): Likewise.
40639         * string/test-strspn.c (do_one_test): Likewise.
40640         (do_test): Likewise.
40641         * string/test-strstr.c (do_one_test): Likewise.
40642         (do_test): Likewise.
40644         * benchtests/Makefile (string-bench): Add string benchmarks.
40645         * benchtests/bench-bcopy-ifunc.c: New file.
40646         * benchtests/bench-bcopy.c: New file.
40647         * benchtests/bench-bzero-ifunc.c: New file.
40648         * benchtests/bench-bzero.c: New file.
40649         * benchtests/bench-memccpy-ifunc.c: New file.
40650         * benchtests/bench-memccpy.c: New file.
40651         * benchtests/bench-memchr-ifunc.c: New file.
40652         * benchtests/bench-memchr.c: New file.
40653         * benchtests/bench-memcmp-ifunc.c: New file.
40654         * benchtests/bench-memcmp.c: New file.
40655         * benchtests/bench-memmem-ifunc.c: New file.
40656         * benchtests/bench-memmem.c: New file.
40657         * benchtests/bench-memmove-ifunc.c: New file.
40658         * benchtests/bench-memmove.c: New file.
40659         * benchtests/bench-mempcpy-ifunc.c: New file.
40660         * benchtests/bench-mempcpy.c: New file.
40661         * benchtests/bench-memset-ifunc.c: New file.
40662         * benchtests/bench-memset.c: New file.
40663         * benchtests/bench-rawmemchr-ifunc.c: New file.
40664         * benchtests/bench-rawmemchr.c: New file.
40665         * benchtests/bench-stpcpy-ifunc.c: New file.
40666         * benchtests/bench-stpcpy.c: New file.
40667         * benchtests/bench-stpncpy-ifunc.c: New file.
40668         * benchtests/bench-stpncpy.c: New file.
40669         * benchtests/bench-strcasecmp-ifunc.c: New file.
40670         * benchtests/bench-strcasecmp.c: New file.
40671         * benchtests/bench-strcasestr-ifunc.c: New file.
40672         * benchtests/bench-strcasestr.c: New file.
40673         * benchtests/bench-strcat-ifunc.c: New file.
40674         * benchtests/bench-strcat.c: New file.
40675         * benchtests/bench-strchr-ifunc.c: New file.
40676         * benchtests/bench-strchr.c: New file.
40677         * benchtests/bench-strchrnul-ifunc.c: New file.
40678         * benchtests/bench-strchrnul.c: New file.
40679         * benchtests/bench-strcmp-ifunc.c: New file.
40680         * benchtests/bench-strcmp.c: New file.
40681         * benchtests/bench-strcpy-ifunc.c: New file.
40682         * benchtests/bench-strcpy.c: New file.
40683         * benchtests/bench-strcspn-ifunc.c: New file.
40684         * benchtests/bench-strcspn.c: New file.
40685         * benchtests/bench-strlen-ifunc.c: New file.
40686         * benchtests/bench-strlen.c: New file.
40687         * benchtests/bench-strncasecmp-ifunc.c: New file.
40688         * benchtests/bench-strncasecmp.c: New file.
40689         * benchtests/bench-strncat-ifunc.c: New file.
40690         * benchtests/bench-strncat.c: New file.
40691         * benchtests/bench-strncmp-ifunc.c: New file.
40692         * benchtests/bench-strncmp.c: New file.
40693         * benchtests/bench-strncpy-ifunc.c: New file.
40694         * benchtests/bench-strncpy.c: New file.
40695         * benchtests/bench-strnlen-ifunc.c: New file.
40696         * benchtests/bench-strnlen.c: New file.
40697         * benchtests/bench-strpbrk-ifunc.c: New file.
40698         * benchtests/bench-strpbrk.c: New file.
40699         * benchtests/bench-strrchr-ifunc.c: New file.
40700         * benchtests/bench-strrchr.c: New file.
40701         * benchtests/bench-strspn-ifunc.c: New file.
40702         * benchtests/bench-strspn.c: New file.
40703         * benchtests/bench-strstr-ifunc.c: New file.
40704         * benchtests/bench-strstr.c: New file.
40706         * benchtests/Makefile: Disable parallel execution of targets.
40707         (string-bench): Add memcpy.
40708         (benchset): New variable to store a list of benchmark sets.
40709         (bench-func): Renamed from bench.
40710         (bench-set): New target.
40711         (bench): Depend on bench-func and bench-set.
40712         * benchtests/README: Add section on benchmark sets.
40713         * benchtests/bench-memcpy-ifunc.c: New file.
40714         * benchtests/bench-memcpy.c: New file.
40715         * benchtests/bench-string.h: New file.
40717 2013-06-11  Andreas Schwab  <schwab@suse.de>
40719         [BZ #15577]
40720         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
40721         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
40722         values in the triple.
40723         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
40724         terminator in the group key.
40726 2013-06-11  Andreas Jaeger  <aj@suse.de>
40728         * po/zh_TW.po: Update Chinese (traditional) translation from
40729         translation project.
40731 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40733         * include/time.h (__clock_gettime): Add libc_hidden_proto.
40734         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
40735         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
40736         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40737         (clock_getcpuclockid): Likewise.
40738         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
40739         Add weak_alias and libc_hidden_def.
40740         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
40741         * rt/clock_gettime.c (clock_gettime): Rename to
40742         __clock_gettime.  Add weak_alias and libc_hidden_def.
40743         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
40744         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
40745         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
40746         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
40747         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
40748         Likewise.
40749         * rt/clock_settime.c (clock_settime): Rename to
40750         __clock_settime.  Add weak_alias and libc_hidden_def.
40751         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
40753 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
40755         * mach/err_boot.sub: Remove trailing whitespace.
40756         * mach/err_ipc.sub: Likewise.
40757         * mach/err_mach.sub: Likewise.
40759         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
40760         (ROUNDING_TESTS_double): Likewise.
40761         (ROUNDING_TESTS_long_double): Likewise.
40762         (ROUNDING_TESTS): Likewise.
40763         * math/libm-test.inc: Include <math-tests.h>.
40764         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
40765         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40766         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40767         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40769 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40771         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
40772         of assigning.
40774 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
40776         * sysdeps/gnu/errlist.awk: Do not generate space at end of
40777         otherwise empty TRANS lines.
40778         * sysdeps/gnu/errlist.c: Regenerated.
40780         * catgets/gencat.c (error_print): Use (void) in function
40781         definition.
40782         * crypt/crypt_util.c (__init_des): Likewise.
40783         * crypt/speeds.c (Stop): Likewise.
40784         (main): Likewise.
40785         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
40786         * inet/ruserpass.c (token): Likewise.
40787         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
40788         * intl/localealias.c (extend_alias_table): Likewise.
40789         * intl/plural-exp.c (init_germanic_plural): Likewise.
40790         * libio/fcloseall.c (__fcloseall): Likewise.
40791         * libio/genops.c (_IO_flush_all): Likewise.
40792         (_IO_flush_all_linebuffered): Likewise.
40793         (_IO_cleanup): Likewise.
40794         (_IO_iter_begin): Likewise.
40795         (_IO_iter_end): Likewise.
40796         (_IO_list_lock): Likewise.
40797         (_IO_list_unlock): Likewise.
40798         (_IO_list_resetlock): Likewise.
40799         * libio/getchar.c (getchar): Likewise.
40800         * libio/getchar_u.c (getchar_unlocked): Likewise.
40801         * libio/getwchar.c (getwchar): Likewise.
40802         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
40803         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
40804         * login/getpt.c (__getpt): Likewise.
40805         * login/tst-utmp.c (main): Likewise.
40806         * malloc/hooks.c (__malloc_check_init): Likewise.
40807         * malloc/malloc.c (__malloc_stats): Likewise.
40808         * malloc/mtrace.c (tr_break): Likewise.
40809         (mtrace): Likewise.
40810         (muntrace): Likewise.
40811         * misc/fstab.c (endfsent): Likewise.
40812         * misc/getclktck.c (__getclktck): Likewise.
40813         * misc/getdtsz.c (__getdtablesize): Likewise.
40814         * misc/gethostid.c (gethostid): Likewise.
40815         * misc/getpagesize.c (__getpagesize): Likewise.
40816         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
40817         (__get_nprocs): Likewise.
40818         (__get_phys_pages): Likewise.
40819         (__get_avphys_pages): Likewise.
40820         * misc/getttyent.c (getttyent): Likewise.
40821         (setttyent): Likewise.
40822         (endttyent): Likewise.
40823         * misc/getusershell.c (getusershell): Likewise.
40824         (endusershell): Likewise.
40825         (setusershell): Likewise.
40826         (initshells): Likewise.
40827         * misc/hsearch.c (__hdestroy): Likewise.
40828         * misc/sync.c (sync): Likewise.
40829         * misc/syslog.c (closelog_internal): Likewise.
40830         (closelog): Likewise.
40831         * misc/ttyslot.c (ttyslot): Likewise.
40832         * misc/vhangup.c (vhangup): Likewise.
40833         * posix/fork.c (__fork): Likewise.
40834         * posix/getegid.c (__getegid): Likewise.
40835         * posix/geteuid.c (__geteuid): Likewise.
40836         * posix/getgid.c (__getgid): Likewise.
40837         * posix/getpid.c (__getpid): Likewise.
40838         * posix/getppid.c (__getppid): Likewise.
40839         * posix/getuid.c (__getuid): Likewise.
40840         * posix/pause.c (pause): Likewise.
40841         * posix/setpgrp.c (setpgrp): Likewise.
40842         * posix/setsid.c (__setsid): Likewise.
40843         * posix/test-vfork.c (noop): Likewise.
40844         * resolv/gethnamaddr.c (_endhtent): Likewise.
40845         (_gethtent): Likewise.
40846         (ht_endhostent): Likewise.
40847         (gethostent): Likewise.
40848         (dns_service): Likewise.
40849         * stdlib/drand48.c (drand48): Likewise.
40850         * stdlib/lrand48.c (lrand48): Likewise.
40851         * stdlib/mrand48.c (mrand48): Likewise.
40852         * stdlib/rand.c (rand): Likewise.
40853         * stdlib/random.c (__random): Likewise.
40854         * stdlib/setenv.c (clearenv): Likewise.
40855         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
40856         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
40857         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
40858         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
40859         (__get_nprocs): Likewise.
40860         (__get_phys_pages): Likewise.
40861         (__get_avphys_pages): Likewise.
40862         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
40863         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
40864         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
40865         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
40866         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
40867         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
40868         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
40869         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
40870         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
40871         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
40872         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
40873         * sysdeps/mach/hurd/sync.c (sync): Likewise.
40874         * sysdeps/posix/clock.c (clock): Likewise.
40875         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
40876         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
40877         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
40878         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
40879         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
40880         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
40881         (__get_nprocs_conf): Likewise.
40882         (__get_phys_pages): Likewise.
40883         (__get_avphys_pages): Likewise.
40884         * time/clock.c (clock): Likewise.
40885         * time/tzset.c (__tzname_max): Likewise.
40887 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
40889         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
40890         (__bswap_32): Do not use "register".
40891         * crypt/crypt.c (_ufc_doit_r): Likewise.
40892         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40893         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40894         * gmon/gmon.c (__monstartup): Likewise.
40895         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
40896         * hurd/hurdmalloc.c (more_memory): Likewise.
40897         (malloc): Likewise.
40898         (free): Likewise.
40899         (realloc): Likewise.
40900         (malloc_fork_prepare): Likewise.
40901         (malloc_fork_parent): Likewise.
40902         (malloc_fork_child): Likewise.
40903         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
40904         (_svcauth_des): Likewise.
40905         * inet/inet_lnaof.c (inet_lnaof): Likewise.
40906         * inet/inet_net.c (inet_network): Likewise.
40907         * inet/inet_netof.c (inet_netof): Likewise.
40908         * inet/rcmd.c (__validuser2_sa): Likewise.
40909         * io/fts.c (fts_open): Likewise.
40910         (fts_load): Likewise.
40911         (fts_close): Likewise.
40912         (fts_read): Likewise.
40913         (fts_children): Likewise.
40914         (fts_build): Likewise.
40915         (fts_stat): Likewise.
40916         (fts_sort): Likewise.
40917         (fts_alloc): Likewise.
40918         (fts_lfree): Likewise.
40919         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
40920         (_IO_file_xsgetn): Likewise.
40921         (_IO_file_xsgetn_mmap): Likewise.
40922         * libio/iofopncook.c (_IO_cookie_read): Likewise.
40923         (_IO_cookie_write): Likewise.
40924         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
40925         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
40926         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
40927         * malloc/obstack.c (_obstack_begin): Likewise.
40928         (_obstack_begin_1): Likewise.
40929         (_obstack_newchunk): Likewise.
40930         (_obstack_allocated_p): Likewise.
40931         (obstack_free): Likewise.
40932         (_obstack_memory_used): Likewise.
40933         * misc/getttyent.c (getttynam): Likewise.
40934         (getttyent): Likewise.
40935         (skip): Likewise.
40936         (value): Likewise.
40937         * misc/getusershell.c (initshells): Likewise.
40938         * misc/syslog.c (__vsyslog_chk): Likewise.
40939         * misc/ttyslot.c (ttyslot): Likewise.
40940         * nis/nis_hash.c (__nis_hash): Likewise.
40941         * posix/fnmatch_loop.c (FCT): Likewise.
40942         * posix/getconf.c (print_all): Likewise.
40943         (main): Likewise.
40944         * posix/getopt.c (exchange): Likewise.
40945         * posix/glob.c (globfree): Likewise.
40946         (prefix_array): Likewise.
40947         (__glob_pattern_type): Likewise.
40948         * resolv/arpa/nameser.h (NS_GET16): Likewise.
40949         (NS_GET32): Likewise.
40950         (NS_PUT16): Likewise.
40951         (NS_PUT32): Likewise.
40952         * resolv/gethnamaddr.c (getanswer): Likewise.
40953         (gethostbyname2): Likewise.
40954         (gethostbyaddr): Likewise.
40955         (_gethtent): Likewise.
40956         (_gethtbyname2): Likewise.
40957         (_gethtbyaddr): Likewise.
40958         * resolv/ns_print.c (dst_s_get_int16): Likewise.
40959         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
40960         * resolv/res_init.c (__res_vinit): Likewise.
40961         (net_mask): Likewise.
40962         * resolv/res_mkquery.c (outchar): Likewise.
40963         (PRINT): Likewise.
40964         * stdio-common/printf_fp.c (outchar): Likewise.
40965         (PRINT): Likewise.
40966         * stdio-common/printf_fphex.c (outchar): Likewise.
40967         (PRINT): Likewise.
40968         * stdio-common/printf_size.c (outchar): Likewise.
40969         (PRINT): Likewise.
40970         * stdio-common/test_rdwr.c (main): Likewise.
40971         * stdio-common/tfformat.c (matches): Likewise.
40972         * stdio-common/vfprintf.c (outchar): Likewise.
40973         (printf_unknown): Likewise.
40974         (buffered_vfprintf): Likewise.
40975         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40976         * stdio-common/xbug.c (AppendToBuffer): Likewise.
40977         (ReadFile): Likewise.
40978         * stdlib/qsort.c (SWAP): Likewise.
40979         (_quicksort): Likewise.
40980         * stdlib/setenv.c (__add_to_environ): Likewise.
40981         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40982         * stdlib/strtol_l.c (__strtol_l): Likewise.
40983         * stdlib/tst-strtod.c (main): Likewise.
40984         * stdlib/tst-strtol.c (main): Likewise.
40985         * stdlib/tst-strtoll.c (main): Likewise.
40986         * string/bits/string2.h (__strcmp_cc): Likewise.
40987         (__strcmp_cg): Likewise.
40988         (__strcspn_c1): Likewise.
40989         (__strcspn_c2): Likewise.
40990         (__strcspn_c3): Likewise.
40991         (__strspn_c1): Likewise.
40992         (__strspn_c2): Likewise.
40993         (__strspn_c3): Likewise.
40994         (__strsep_1c): Likewise.
40995         (__strsep_2c): Likewise.
40996         (__strsep_3c): Likewise.
40997         * string/memccpy.c (__memccpy): Likewise.
40998         * string/stpcpy.c (__stpcpy): Likewise.
40999         * string/strcmp.c (strcmp): Likewise.
41000         * string/strrchr.c (strrchr): Likewise.
41001         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
41002         Likewise.
41003         * sysdeps/mach/hurd/getcwd.c
41004         (_hurd_canonicalize_directory_name_internal): Likewise.
41005         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
41006         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
41007         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
41008         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
41009         Likewise, in both definitions.
41010         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
41011         definitions.
41012         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
41013         64] (__bswap_64): Likewise.
41014         * time/test_time.c (main): Likewise.
41015         * time/tzfile.c (__tzfile_read): Likewise.
41016         (__tzfile_compute): Likewise.
41017         * time/tzset.c (__tzset_parse_tz): Likewise.
41018         (tzset_internal): Likewise.
41019         (compute_change): Likewise.
41020         * wcsmbs/wcscat.c (__wcscat): Likewise.
41021         * wcsmbs/wcschr.c (wcschr): Likewise.
41022         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
41023         * wcsmbs/wcscspn.c (wcscspn): Likewise.
41024         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
41025         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
41026         * wcsmbs/wcsspn.c (wcsspn): Likewise.
41027         * wcsmbs/wcsstr.c (wcsstr): Likewise.
41028         * wcsmbs/wmemchr.c (wmemchr): Likewise.
41029         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41030         * wcsmbs/wmemset.c (wmemset): Likewise.
41032 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
41034         * scripts/config.guess: Update to version 2013-05-16.
41035         * scripts/config.sub: Update to version 2013-04-24.
41036         * scripts/install-sh: Update to version 2011-11-20.07.
41037         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
41038         * scripts/move-if-change: Update to version 2012-01-06 07:23.
41040 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
41042         * debug/fgetws_u_chk.c: Fix leading whitespaces.
41043         * elf/sln.c: Likewise.
41044         * hurd/hurd/ioctl.h: Likewise.
41045         * hurd/hurdmalloc.c: Likewise.
41046         * hurd/xattr.c: Likewise.
41047         * include/shlib-compat.h: Likewise.
41048         * inet/ruserpass.c: Likewise.
41049         * libio/iofgets_u.c: Likewise.
41050         * libio/iofgetws_u.c: Likewise.
41051         * locale/programs/ld-identification.c: Likewise.
41052         * locale/programs/ld-time.c: Likewise.
41053         * mach/msg-destroy.c: Likewise.
41054         * nss/nss_files/files-netgrp.c: Likewise.
41055         * resolv/res_data.c: Likewise.
41056         * soft-fp/op-1.h: Likewise.
41057         * soft-fp/op-2.h: Likewise.
41058         * soft-fp/op-4.h: Likewise.
41059         * soft-fp/op-common.h: Likewise.
41060         * stdio-common/printf_fphex.c: Likewise.
41061         * stdlib/strtod_l.c: Likewise.
41062         * sunrpc/rpc/clnt.h: Likewise.
41063         * sysdeps/generic/framestate.c: Likewise.
41064         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41065         * sysdeps/i386/bsd-setjmp.S: Likewise.
41066         * sysdeps/i386/__longjmp.S: Likewise.
41067         * sysdeps/i386/setjmp.S: Likewise.
41068         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41069         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41070         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41071         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41072         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41073         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41074         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41075         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41076         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41077         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41078         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41079         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41080         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41081         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41082         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41083         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41084         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41085         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
41086         * sysdeps/ieee754/support.c: Likewise.
41087         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41088         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
41089         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
41090         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
41091         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
41092         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
41093         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
41094         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
41095         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
41096         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
41097         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
41098         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
41099         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
41100         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
41101         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
41102         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
41103         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41106 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
41108         * posix/transbug.c: Remove executable mode.
41110 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
41112         * crypt/speeds.c: Remove trailing whitespace.
41113         * dlfcn/default.c: Likewise.
41114         * elf/ifuncdep2.c: Likewise.
41115         * elf/ifuncmain1.c: Likewise.
41116         * elf/ifuncmain1vis.c: Likewise.
41117         * elf/testobj.h: Likewise.
41118         * elf/tst-stackguard1.c: Likewise.
41119         * gmon/sys/gmon.h: Likewise.
41120         * hurd/hurdmsg.c: Likewise.
41121         * hurd/new-fd.c: Likewise.
41122         * hurd/ports-get.c: Likewise.
41123         * iconvdata/ibm1008_420.c: Likewise.
41124         * inet/tst-getni1.c: Likewise.
41125         * inet/tst-getni2.c: Likewise.
41126         * libio/ioungetc.c: Likewise.
41127         * libio/wfiledoalloc.c: Likewise.
41128         * manual/libm-err-tab.pl: Likewise.
41129         * math/w_dremf.c: Likewise.
41130         * misc/ftruncate.c: Likewise.
41131         * posix/bug-glob2.c: Likewise.
41132         * posix/tst-pcre.c: Likewise.
41133         * posix/wait4.c: Likewise.
41134         * resolv/README: Likewise.
41135         * resolv/res_debug.h: Likewise.
41136         * resolv/tst-inet_ntop.c: Likewise.
41137         * setjmp/bug269-setjmp.c: Likewise.
41138         * soft-fp/extended.h: Likewise.
41139         * soft-fp/op-1.h: Likewise.
41140         * soft-fp/op-2.h: Likewise.
41141         * soft-fp/op-4.h: Likewise.
41142         * soft-fp/op-8.h: Likewise.
41143         * soft-fp/testit.c: Likewise.
41144         * stdio-common/bug16.c: Likewise.
41145         * stdlib/random.c: Likewise.
41146         * sunrpc/rpcsvc/rquota.x: Likewise.
41147         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
41148         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41149         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41150         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41151         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41152         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41153         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41154         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41155         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41156         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41157         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41158         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41159         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41160         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41161         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41162         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41163         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41164         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41165         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41166         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41167         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41168         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41169         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
41170         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41171         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41172         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41173         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41174         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41175         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41176         * sysdeps/ieee754/s_lib_version.c: Likewise.
41177         * sysdeps/mach/hurd/check_fds.c: Likewise.
41178         * sysdeps/mach/hurd/getsockname.c: Likewise.
41179         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
41180         * sysdeps/mach/hurd/recvfrom.c: Likewise.
41181         * sysdeps/powerpc/bits/link.h: Likewise.
41182         * sysdeps/powerpc/dl-procinfo.c: Likewise.
41183         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
41184         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
41185         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
41186         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41187         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41188         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
41189         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41190         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
41191         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41192         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41193         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41194         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
41195         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41196         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41197         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41198         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41199         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41200         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41201         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41202         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41203         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
41204         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41205         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41206         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
41207         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41208         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41209         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41210         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41211         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41212         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41213         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41214         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41215         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41216         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
41217         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41218         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
41219         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41220         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41221         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
41222         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
41223         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
41224         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
41225         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
41226         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41227         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
41228         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
41229         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41230         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
41231         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
41232         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41233         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41234         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41235         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41236         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
41237         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41238         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41239         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41240         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
41241         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41242         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
41243         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
41244         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
41245         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41246         * sysdeps/powerpc/sysdep.h: Likewise.
41247         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41248         * sysdeps/s390/s390-64/sub_n.S: Likewise.
41249         * sysdeps/sh/dl-trampoline.S: Likewise.
41250         * sysdeps/sh/memset.S: Likewise.
41251         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
41252         * sysdeps/sh/strlen.S: Likewise.
41253         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
41254         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
41255         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
41256         * sysdeps/sparc/sparc32/rem.S: Likewise.
41257         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
41258         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
41259         * sysdeps/sparc/sparc32/strchr.S: Likewise.
41260         * sysdeps/sparc/sparc32/udiv.S: Likewise.
41261         * sysdeps/sparc/sparc32/urem.S: Likewise.
41262         * sysdeps/sparc/sparc64/add_n.S: Likewise.
41263         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41264         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
41265         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
41266         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
41267         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
41268         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
41269         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
41270         * sysdeps/unix/bsd/times.c: Likewise.
41271         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
41272         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
41273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41276         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
41277         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41278         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
41279         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
41280         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
41281         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
41282         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
41283         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
41284         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41285         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
41286         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
41287         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
41288         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
41289         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
41290         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
41291         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
41292         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
41293         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41294         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
41295         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
41296         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41297         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
41298         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41299         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
41300         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
41301         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
41302         * sysdeps/x86_64/strcspn.S: Likewise.
41304 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41306         * locale/C-translit.h: Revert #include <stdint.h> because this is a
41307         generated file.  Regenerate properly from gen-translit.pl.
41308         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
41309         locale/C-translit.h.
41311 2013-06-05  Andreas Schwab  <schwab@suse.de>
41313         [BZ #15100]
41314         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
41315         week as 6 instead of -1.
41316         * time/tst-strptime.c (day_tests): Add test case.
41318 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41320         * sysdeps/generic/math_private.h
41321         (libc_feholdexcept_setround_53bit): Replace with
41322         libc_feholdsetround_53bit.
41323         (libc_feupdateenv_53bit): Replace with
41324         libc_feresetround_53bit.
41325         (SET_RESTORE_ROUND_53BIT): Adjust.
41327 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41329         * string/test-strchrnul.c: Add copyright header.
41331         * posix/tst-getaddrinfo4.c: Increase test timeout.
41333 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
41335         [BZ #15536]
41336         * math/libm-test.inc (MAX_EXP): Remove
41337         (MIN_EXP): Define.
41338         (ulp): Use MIN_EXP - MANT_DIG.
41339         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
41341 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
41343         * po/be.po: Revert last change.
41344         * po/zh_CN.po: Likewise.
41345         * po/header.pot: Likewise.
41347 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
41349         * Makefile ($(common-objpfx)linkobj/libc.so): Define
41350         link-libc-deps to empty as target-specific variable.
41351         * Makerules (link-libc-args): New variable.
41352         (libc-for-link): Likewise.
41353         (link-libc-deps): Likewise.
41354         (lib%.so): Depend on $(link-libc-deps).  Link with
41355         $(link-libc-args).
41356         (build-module): Link with $(link-libc-args).
41357         (build-module-asneeded): Likewise.
41358         (build-module-helper-objlist): Filter out $(link-libc-deps) from
41359         list of objects.
41360         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
41361         target-specific variable.
41362         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
41363         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
41364         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
41365         libc.
41366         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
41367         libc and ld.so.
41368         ($(objpfx)libpcprofile.so): Likewise.
41369         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
41370         libc_nonshared.a.
41371         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
41372         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
41373         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
41374         $(link-libc-deps).
41375         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
41376         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
41377         * login/Makefile ($(objpfx)libutil.so): Likewise.
41378         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
41379         * math/Makefile ($(objpfx)libm.so): Likewise.
41380         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
41381         $(objpfx)libnsl.so): Define libc-for-link as target-specific
41382         variable instead of depending directly on libc.
41383         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
41384         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
41385         $(link-libc-deps).
41386         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
41387         libc.
41388         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
41389         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
41390         ($(objpfx)libanl.so): Likewise.
41391         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
41392         ld.so.
41393         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
41394         $(link-libc-deps).
41395         * sysdeps/i386/fpu/Makefile: Remove file.
41396         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
41397         ($(objpfx)libm.so): Remove dependency on ld.so.
41399 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
41401         [BZ # 15553]
41402         * nis/yp_xdr.c (XDRMAXNAME): Define.
41403         (XDRMAXRECORD): Define.
41404         (xdr_domainname): Use XDRMAXNAME.
41405         (xdr_mapname): Likewise.
41406         (xdr_peername): Likewise.
41407         (xdr_keydat): Use XDRMAXRECORD.
41408         (xdr_valdat): Likewise.
41410 2013-05-30  Jeff Law  <law@redhat.com>
41412         [BZ #14256]
41413         * manual/errno.texi (ESTALE): Update to account for more than
41414         just NFS file systems.
41415         * sysdeps/gnu/errlist.c: Regenerated.
41417 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41419         [BZ #15465]
41420         * elf/Makefile (tests): Add tst-null-argv.
41421         (modules-names):  Add tst-null-argv-lib.
41422         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
41423         (tst-null-argv-ENV): Set environment for tst-null-argv.
41424         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
41425         (RTLD_PROGNAME): New macro.
41426         * elf/tst-null-argv.c: New test case.
41427         * elf/tst-null-argv-lib.c: Library for test case.
41428         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
41429         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
41430         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
41431         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
41432         * elf/dl-init.c (call_init): Likewise.
41433         (_dl_init): Likewise.
41434         * elf/dl-load.c (print_search_path): Likewise.
41435         (_dl_map_object): Likewise.
41436         * elf/dl-lookup.c (do_lookup_x): Likewise.
41437         (add_dependency): Likewise.
41438         (_dl_lookup_symbol_x): Likewise.
41439         (_dl_debug_bindings): Likewise.
41440         * elf/dl-open.c (_dl_show_scope): Likewise.
41441         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41442         * elf/dl-version.c (match_symbol): Likewise.
41443         (_dl_check_map_versions): Likewise.
41444         * elf/rtld.c (dl_main): Likewise.
41445         (print_unresolved): Use RTLD_PROGNAME.
41446         (print_missing_version): Likewise.
41447         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
41448         (elf_machine_rela): Likewise.
41449         * sysdeps/powerpc/powerpc32/dl-machine.c
41450         (__process_machine_rela): Likewise.
41451         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41452         Likewise.
41453         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41454         Likewise.
41455         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41456         Likewise.
41457         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41458         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
41459         Likewise.
41460         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
41461         Likewise.
41462         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41464 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
41466         * po/be.po: Add descriptive title.
41467         * po/zh_CN.po: Likewise.
41468         * po/header.pot: Likewise.
41470 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
41472         * locale/programs/locarchive.c (create_archive): Inlucde fname in
41473         error message.
41474         (enlarge_archive): Likewise.
41476 2013-05-28  Ben North  <ben@redfrontdoor.org>
41478         * manual/arith.texi (frexp): It is the magnitude of the return
41479         value which lies in [0.5, 1), not the return value itself.
41481 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41485 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
41487         * stdio-common/bug26.c (main): Correct fscanf template.
41489         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
41490         declare _dl_skip_args.
41492         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
41493         Don't declare.
41495         * manual/platform.texi: Add missing @end deftypefun.
41497 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41499         [BZ #15529]
41500         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
41501         bit of mantissa of 2^16382.
41502         * math/libm-test.inc (hypot_test_data): Add more tests.
41504         * math/libm-test.inc: Add drem and pow10 to list of tested
41505         functions.
41506         (pow10_test): New function.
41507         (drem_test): Likewise.
41508         (drem_test_tonearest): Likewise.
41509         (drem_test_towardzero): Likewise.
41510         (drem_test_downward): Likewise.
41511         (drem_test_upward): Likewise.
41512         (main): Call the new functions.
41514         * math/libm-test.inc (finite_test_data): Remove.
41515         (finite_test): Run tests from isfinite_test_data.
41516         (gamma_test_data): Remove.
41517         (gamma_test): Run tests from lgamma_test_data.
41518         * sysdeps/i386/fpu/libm-test-ulps: Update.
41519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41521 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41523         * manual/platform.texi: Add PowerPC PPR function set documentation.
41524         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
41525         implementation.
41527 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
41529         * math/libm-test.inc (MAX_EXP): Define.
41530         (ULPDIFF): Define.
41531         (ulp): New function.
41532         (check_float_internal): Use ULPDIFF.
41533         (cpow_test): Disable failing test.
41534         (check_ulp): Test ulp() implemetnation.
41535         (main): Call check_ulp before starting tests.
41537 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41539         * math/gen-libm-test.pl (generate_testfile): Do not handle
41540         START_DATA and END_DATA.
41541         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
41542         END_DATA.
41543         (acos_tonearest_test_data): Likewise.
41544         (acos_towardzero_test_data): Likewise.
41545         (acos_downward_test_data): Likewise.
41546         (acos_upward_test_data): Likewise.
41547         (acosh_test_data): Likewise.
41548         (asin_test_data): Likewise.
41549         (asin_tonearest_test_data): Likewise.
41550         (asin_towardzero_test_data): Likewise.
41551         (asin_downward_test_data): Likewise.
41552         (asin_upward_test_data): Likewise.
41553         (asinh_test_data): Likewise.
41554         (atan_test_data): Likewise.
41555         (atanh_test_data): Likewise.
41556         (atan2_test_data): Likewise.
41557         (cabs_test_data): Likewise.
41558         (cacos_test_data): Likewise.
41559         (cacosh_test_data): Likewise.
41560         (carg_test_data): Likewise.
41561         (casin_test_data): Likewise.
41562         (casinh_test_data): Likewise.
41563         (catan_test_data): Likewise.
41564         (catanh_test_data): Likewise.
41565         (cbrt_test_data): Likewise.
41566         (ccos_test_data): Likewise.
41567         (ccosh_test_data): Likewise.
41568         (ceil_test_data): Likewise.
41569         (cexp_test_data): Likewise.
41570         (cimag_test_data): Likewise.
41571         (clog_test_data): Likewise.
41572         (clog10_test_data): Likewise.
41573         (conj_test_data): Likewise.
41574         (copysign_test_data): Likewise.
41575         (cos_test_data): Likewise.
41576         (cos_tonearest_test_data): Likewise.
41577         (cos_towardzero_test_data): Likewise.
41578         (cos_downward_test_data): Likewise.
41579         (cos_upward_test_data): Likewise.
41580         (cosh_test_data): Likewise.
41581         (cosh_tonearest_test_data): Likewise.
41582         (cosh_towardzero_test_data): Likewise.
41583         (cosh_downward_test_data): Likewise.
41584         (cosh_upward_test_data): Likewise.
41585         (cpow_test_data): Likewise.
41586         (cproj_test_data): Likewise.
41587         (creal_test_data): Likewise.
41588         (csin_test_data): Likewise.
41589         (csinh_test_data): Likewise.
41590         (csqrt_test_data): Likewise.
41591         (ctan_test_data): Likewise.
41592         (ctan_tonearest_test_data): Likewise.
41593         (ctan_towardzero_test_data): Likewise.
41594         (ctan_downward_test_data): Likewise.
41595         (ctan_upward_test_data): Likewise.
41596         (ctanh_test_data): Likewise.
41597         (ctanh_tonearest_test_data): Likewise.
41598         (ctanh_towardzero_test_data): Likewise.
41599         (ctanh_downward_test_data): Likewise.
41600         (ctanh_upward_test_data): Likewise.
41601         (erf_test_data): Likewise.
41602         (erfc_test_data): Likewise.
41603         (exp_test_data): Likewise.
41604         (exp_tonearest_test_data): Likewise.
41605         (exp_towardzero_test_data): Likewise.
41606         (exp_downward_test_data): Likewise.
41607         (exp_upward_test_data): Likewise.
41608         (exp10_test_data): Likewise.
41609         (exp2_test_data): Likewise.
41610         (expm1_test_data): Likewise.
41611         (fabs_test_data): Likewise.
41612         (fdim_test_data): Likewise.
41613         (finite_test_data): Likewise.
41614         (floor_test_data): Likewise.
41615         (fma_test_data): Likewise.
41616         (fma_towardzero_test_data): Likewise.
41617         (fma_downward_test_data): Likewise.
41618         (fma_upward_test_data): Likewise.
41619         (fmax_test_data): Likewise.
41620         (fmin_test_data): Likewise.
41621         (fmod_test_data): Likewise.
41622         (fpclassify_test_data): Likewise.
41623         (frexp_test_data): Likewise.
41624         (gamma_test_data): Likewise.
41625         (hypot_test_data): Likewise.
41626         (ilogb_test_data): Likewise.
41627         (isfinite_test_data): Likewise.
41628         (isgreater_test_data): Likewise.
41629         (isgreaterequal_test_data): Likewise.
41630         (isinf_test_data): Likewise.
41631         (isless_test_data): Likewise.
41632         (islessequal_test_data): Likewise.
41633         (islessgreater_test_data): Likewise.
41634         (isnan_test_data): Likewise.
41635         (isnormal_test_data): Likewise.
41636         (issignaling_test_data): Likewise.
41637         (isunordered_test_data): Likewise.
41638         (j0_test_data): Likewise.
41639         (j1_test_data): Likewise.
41640         (jn_test_data): Likewise.
41641         (ldexp_test_data): Likewise.
41642         (lgamma_test_data): Likewise.
41643         (lrint_test_data): Likewise.
41644         (lrint_tonearest_test_data): Likewise.
41645         (lrint_towardzero_test_data): Likewise.
41646         (lrint_downward_test_data): Likewise.
41647         (lrint_upward_test_data): Likewise.
41648         (llrint_test_data): Likewise.
41649         (llrint_tonearest_test_data): Likewise.
41650         (llrint_towardzero_test_data): Likewise.
41651         (llrint_downward_test_data): Likewise.
41652         (llrint_upward_test_data): Likewise.
41653         (log_test_data): Likewise.
41654         (log10_test_data): Likewise.
41655         (log1p_test_data): Likewise.
41656         (log2_test_data): Likewise.
41657         (logb_test_data): Likewise.
41658         (logb_downward_test_data): Likewise.
41659         (lround_test_data): Likewise.
41660         (llround_test_data): Likewise.
41661         (modf_test_data): Likewise.
41662         (nearbyint_test_data): Likewise.
41663         (nextafter_test_data): Likewise.
41664         (nexttoward_test_data): Likewise.
41665         (pow_test_data): Likewise.
41666         (pow_tonearest_test_data): Likewise.
41667         (pow_towardzero_test_data): Likewise.
41668         (pow_downward_test_data): Likewise.
41669         (pow_upward_test_data): Likewise.
41670         (remainder_test_data): Likewise.
41671         (remainder_tonearest_test_data): Likewise.
41672         (remainder_towardzero_test_data): Likewise.
41673         (remainder_downward_test_data): Likewise.
41674         (remainder_upward_test_data): Likewise.
41675         (remquo_test_data): Likewise.
41676         (rint_test_data): Likewise.
41677         (rint_tonearest_test_data): Likewise.
41678         (rint_towardzero_test_data): Likewise.
41679         (rint_downward_test_data): Likewise.
41680         (rint_upward_test_data): Likewise.
41681         (round_test_data): Likewise.
41682         (scalb_test_data): Likewise.
41683         (scalbn_test_data): Likewise.
41684         (scalbln_test_data): Likewise.
41685         (signbit_test_data): Likewise.
41686         (sin_test_data): Likewise.
41687         (sin_tonearest_test_data): Likewise.
41688         (sin_towardzero_test_data): Likewise.
41689         (sin_downward_test_data): Likewise.
41690         (sin_upward_test_data): Likewise.
41691         (sincos_test_data): Likewise.
41692         (sinh_test_data): Likewise.
41693         (sinh_tonearest_test_data): Likewise.
41694         (sinh_towardzero_test_data): Likewise.
41695         (sinh_downward_test_data): Likewise.
41696         (sinh_upward_test_data): Likewise.
41697         (sqrt_test_data): Likewise.
41698         (tan_test_data): Likewise.
41699         (tan_tonearest_test_data): Likewise.
41700         (tan_towardzero_test_data): Likewise.
41701         (tan_downward_test_data): Likewise.
41702         (tan_upward_test_data): Likewise.
41703         (tanh_test_data): Likewise.
41704         (tgamma_test_data): Likewise.
41705         (trunc_test_data): Likewise.
41706         (y0_test_data): Likewise.
41707         (y1_test_data): Likewise.
41708         (yn_test_data): Likewise.
41709         (significand_test_data): Likewise.
41711         * math/gen-libm-test.pl (@functions): Remove variable.
41712         (generate_testfile): Don't handle START and END lines.
41713         * math/libm-test.inc (START): New macro.
41714         (END): Likewise.
41715         (END_COMPLEX): Likewise.
41716         (acos_test): Use END macro without arguments.
41717         (acos_test_tonearest): Likewise.
41718         (acos_test_towardzero): Likewise.
41719         (acos_test_downward): Likewise.
41720         (acos_test_upward): Likewise.
41721         (acosh_test): Likewise.
41722         (asin_test): Likewise.
41723         (asin_test_tonearest): Likewise.
41724         (asin_test_towardzero): Likewise.
41725         (asin_test_downward): Likewise.
41726         (asin_test_upward): Likewise.
41727         (asinh_test): Likewise.
41728         (atan_test): Likewise.
41729         (atanh_test): Likewise.
41730         (atan2_test): Likewise.
41731         (cabs_test): Likewise.
41732         (cacos_test): Use END_COMPLEX macro without arguments.
41733         (cacosh_test): Likewise.
41734         (carg_test): Use END macro without arguments.
41735         (casin_test): Use END_COMPLEX macro without arguments.
41736         (casinh_test): Likewise.
41737         (catan_test): Likewise.
41738         (catanh_test): Likewise.
41739         (cbrt_test): Use END macro without arguments.
41740         (ccos_test): Use END_COMPLEX macro without arguments.
41741         (ccosh_test): Likewise.
41742         (ceil_test): Use END macro without arguments.
41743         (cexp_test): Use END_COMPLEX macro without arguments.
41744         (cimag_test): Use END macro without arguments.
41745         (clog_test): Use END_COMPLEX macro without arguments.
41746         (clog10_test): Likewise.
41747         (conj_test): Likewise.
41748         (copysign_test): Use END macro without arguments.
41749         (cos_test): Likewise.
41750         (cos_test_tonearest): Likewise.
41751         (cos_test_towardzero): Likewise.
41752         (cos_test_downward): Likewise.
41753         (cos_test_upward): Likewise.
41754         (cosh_test): Likewise.
41755         (cosh_test_tonearest): Likewise.
41756         (cosh_test_towardzero): Likewise.
41757         (cosh_test_downward): Likewise.
41758         (cosh_test_upward): Likewise.
41759         (cpow_test): Use END_COMPLEX macro without arguments.
41760         (cproj_test): Likewise.
41761         (creal_test): Use END macro without arguments.
41762         (csin_test): Use END_COMPLEX macro without arguments.
41763         (csinh_test): Likewise.
41764         (csqrt_test): Likewise.
41765         (ctan_test): Likewise.
41766         (ctan_test_tonearest): Likewise.
41767         (ctan_test_towardzero): Likewise.
41768         (ctan_test_downward): Likewise.
41769         (ctan_test_upward): Likewise.
41770         (ctanh_test): Likewise.
41771         (ctanh_test_tonearest): Likewise.
41772         (ctanh_test_towardzero): Likewise.
41773         (ctanh_test_downward): Likewise.
41774         (ctanh_test_upward): Likewise.
41775         (erf_test): Use END macro without arguments.
41776         (erfc_test): Likewise.
41777         (exp_test): Likewise.
41778         (exp_test_tonearest): Likewise.
41779         (exp_test_towardzero): Likewise.
41780         (exp_test_downward): Likewise.
41781         (exp_test_upward): Likewise.
41782         (exp10_test): Likewise.
41783         (exp2_test): Likewise.
41784         (expm1_test): Likewise.
41785         (fabs_test): Likewise.
41786         (fdim_test): Likewise.
41787         (finite_test): Likewise.
41788         (floor_test): Likewise.
41789         (fma_test): Likewise.
41790         (fma_test_towardzero): Likewise.
41791         (fma_test_downward): Likewise.
41792         (fma_test_upward): Likewise.
41793         (fmax_test): Likewise.
41794         (fmin_test): Likewise.
41795         (fmod_test): Likewise.
41796         (fpclassify_test): Likewise.
41797         (frexp_test): Likewise.
41798         (gamma_test): Likewise.
41799         (hypot_test): Likewise.
41800         (ilogb_test): Likewise.
41801         (isfinite_test): Likewise.
41802         (isgreater_test): Likewise.
41803         (isgreaterequal_test): Likewise.
41804         (isinf_test): Likewise.
41805         (isless_test): Likewise.
41806         (islessequal_test): Likewise.
41807         (islessgreater_test): Likewise.
41808         (isnan_test): Likewise.
41809         (isnormal_test): Likewise.
41810         (issignaling_test): Likewise.
41811         (isunordered_test): Likewise.
41812         (j0_test): Likewise.
41813         (j1_test): Likewise.
41814         (jn_test): Likewise.
41815         (ldexp_test): Likewise.
41816         (lgamma_test): Likewise.
41817         (lrint_test): Likewise.
41818         (lrint_test_tonearest): Likewise.
41819         (lrint_test_towardzero): Likewise.
41820         (lrint_test_downward): Likewise.
41821         (lrint_test_upward): Likewise.
41822         (llrint_test): Likewise.
41823         (llrint_test_tonearest): Likewise.
41824         (llrint_test_towardzero): Likewise.
41825         (llrint_test_downward): Likewise.
41826         (llrint_test_upward): Likewise.
41827         (log_test): Likewise.
41828         (log10_test): Likewise.
41829         (log1p_test): Likewise.
41830         (log2_test): Likewise.
41831         (logb_test): Likewise.
41832         (logb_test_downward): Likewise.
41833         (lround_test): Likewise.
41834         (llround_test): Likewise.
41835         (modf_test): Likewise.
41836         (nearbyint_test): Likewise.
41837         (nextafter_test): Likewise.
41838         (nexttoward_test): Likewise.
41839         (pow_test): Likewise.
41840         (pow_test_tonearest): Likewise.
41841         (pow_test_towardzero): Likewise.
41842         (pow_test_downward): Likewise.
41843         (pow_test_upward): Likewise.
41844         (remainder_test): Likewise.
41845         (remainder_test_tonearest): Likewise.
41846         (remainder_test_towardzero): Likewise.
41847         (remainder_test_downward): Likewise.
41848         (remainder_test_upward): Likewise.
41849         (remquo_test): Likewise.
41850         (rint_test): Likewise.
41851         (rint_test_tonearest): Likewise.
41852         (rint_test_towardzero): Likewise.
41853         (rint_test_downward): Likewise.
41854         (rint_test_upward): Likewise.
41855         (round_test): Likewise.
41856         (scalb_test): Likewise.
41857         (scalbn_test): Likewise.
41858         (scalbln_test): Likewise.
41859         (signbit_test): Likewise.
41860         (sin_test): Likewise.
41861         (sin_test_tonearest): Likewise.
41862         (sin_test_towardzero): Likewise.
41863         (sin_test_downward): Likewise.
41864         (sin_test_upward): Likewise.
41865         (sincos_test): Likewise.
41866         (sinh_test): Likewise.
41867         (sinh_test_tonearest): Likewise.
41868         (sinh_test_towardzero): Likewise.
41869         (sinh_test_downward): Likewise.
41870         (sinh_test_upward): Likewise.
41871         (sqrt_test): Likewise.
41872         (tan_test): Likewise.
41873         (tan_test_tonearest): Likewise.
41874         (tan_test_towardzero): Likewise.
41875         (tan_test_downward): Likewise.
41876         (tan_test_upward): Likewise.
41877         (tanh_test): Likewise.
41878         (tgamma_test): Likewise.
41879         (trunc_test): Likewise.
41880         (y0_test): Likewise.
41881         (y1_test): Likewise.
41882         (yn_test): Likewise.
41883         (significand_test): Likewise.
41885 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
41887         [BZ #15381]
41888         * libio/genops.c (_IO_no_init): Initialize wide struct info.
41890 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41892         [BZ #14894]
41893         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
41894         __ppc_mdoio and __ppc_mdoom.
41895         * manual/platform.texi: Document new functions __ppc_yield,
41896         __ppc_mdoio and __ppc_mdoom.
41898 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
41900         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
41901         (main): Mention "tls" pseudo-hwcap is legacy.
41902         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
41904 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41906         * math/gen-libm-test.pl (parse_args): Output only string of
41907         arguments as text for test name, not full call or descriptions of
41908         tests for extra outputs.
41909         (generate_testfile): Do not pass function name to parse_args.
41910         Generate this_func variable from START.
41911         * math/libm-test.inc (struct test_f_f_data): Rename test_name
41912         field to arg_str.
41913         (struct test_ff_f_data): Likewise.
41914         (test_ff_f_data_nexttoward): Likewise.
41915         (struct test_fi_f_data): Likewise.
41916         (struct test_fl_f_data): Likewise.
41917         (struct test_if_f_data): Likewise.
41918         (struct test_fff_f_data): Likewise.
41919         (struct test_c_f_data): Likewise.
41920         (struct test_f_f1_data): Likewise.  Remove field extra_name.
41921         (struct test_fF_f1_data): Likewise.
41922         (struct test_ffI_f1_data): Likewise.
41923         (struct test_c_c_data): Rename test_name field to arg_str.
41924         (struct test_cc_c_data): Likewise.
41925         (struct test_f_i_data): Likewise.
41926         (struct test_ff_i_data): Likewise.
41927         (struct test_f_l_data): Likewise.
41928         (struct test_f_L_data): Likewise.
41929         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
41930         and extra2_name.
41931         (COMMON_TEST_SETUP): New macro.
41932         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
41933         (COMMON_TEST_CLEANUP): Likewise.
41934         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
41935         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
41936         macros.
41937         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
41938         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
41939         macros.
41940         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
41941         (RUN_TEST_fff_f): Take argument string.  Call new setup and
41942         cleanup macros.
41943         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
41944         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
41945         macros.
41946         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
41947         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
41948         macros.
41949         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41950         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
41951         cleanup macros.
41952         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41953         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
41954         cleanup macros.
41955         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41956         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
41957         cleanup macros.
41958         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41959         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
41960         macros.
41961         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
41962         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
41963         macros.
41964         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
41965         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
41966         macros.
41967         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
41968         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
41969         cleanup macros.
41970         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
41971         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
41972         cleanup macros.
41973         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
41974         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
41975         macros.
41976         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
41977         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
41978         cleanup macros.
41979         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
41980         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
41981         macros.
41982         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
41983         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
41984         macros.
41985         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
41986         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
41987         cleanup macros.
41988         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
41990 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
41992         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
41993         to _sifields.sigfault.
41994         (si_addr_lsb): Define new macro.
41995         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41996         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41997         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
41999 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
42001         [BZ #15441]
42002         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
42003         returns -1.
42004         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
42005         null return -1.
42006         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
42007         loading the domain.
42009 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
42011         * math/gen-libm-test.pl (parse_args): Do not include expected
42012         result in test name.
42013         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
42014         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42015         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42016         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42017         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42020 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42022         * benchtests/Makefile: Sort function entries.
42024         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
42025         tanh, asinh, acosh, atanh.
42026         * benchtests/acos-inputs: New file.
42027         * benchtests/acosh-inputs: New file.
42028         * benchtests/asin-inputs: New file.
42029         * benchtests/asinh-inputs: New file.
42030         * benchtests/atanh-inputs: New file.
42031         * benchtests/cosh-inputs: New file.
42032         * benchtests/log-inputs: New file.
42033         * benchtests/sinh-inputs: New file.
42034         * benchtests/tanh-inputs: New file.
42036 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
42038         [BZ #15339]
42039         * posix/tst-getaddrinfo4.c: New test.
42040         * posix/Makefile (tests): Add it.
42042 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42044         [BZ #15339]
42045         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
42046         when no services were used.
42047         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
42048         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
42050 2013-05-21  Andreas Schwab  <schwab@suse.de>
42052         [BZ #15014]
42053         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
42054         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
42055         successful.
42056         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
42057         redundant variable declarations and reallocation of buffer when
42058         parsing as IPv6 address.  Always set NSS status when called from
42059         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
42060         buffer too small.  Correct computation of needed size.
42061         * nss/Makefile (tests): Add test-digits-dots.
42062         * nss/test-digits-dots.c: New test.
42064 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42066         * benchtests/Makefile: Remove instructions for adding
42067         benchmark tests.
42068         * benchtests/README: New file to explain how to execute and
42069         enhance the benchmark tests.
42071 2013-05-21  Andreas Schwab  <schwab@suse.de>
42073         [BZ #15493]
42074         * setjmp/Makefile (tests): Add tst-sigsetjmp.
42075         * setjmp/tst-sigsetjmp.c: New test.
42077 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42079         * sysdeps/x86_64/memset.S (memset): New implementation.
42080         (__bzero): Likewise.
42081         (__memset_tail): New function.
42083 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
42085         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
42086         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
42087         __memcpy_sse2_unaligned ifunc selection.
42088         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42089         Add memcpy-sse2-unaligned.S.
42090         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42091         Add: __memcpy_sse2_unaligned.
42093 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
42095         [BZ #15490]
42096         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42097         math_force_eval before restoring floating-point envrionment.
42098         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
42099         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
42100         Likewise.
42101         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
42102         <math_private.h>.
42103         (__nearbyintl): Use math_force_eval before restoring
42104         floating-point environment.
42105         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
42107         * math/gen-libm-test.pl (special_functions): Remove.
42108         (parse_args): Don't handle TEST_extra.  Handle functions with no
42109         return value.
42110         * math/libm-test.inc (struct test_sincos_data): Replace with
42111         struct test_fFF_11_data.
42112         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
42113         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
42114         (sincos_test_data): Change element type to struct
42115         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
42116         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
42117         RUN_TEST_LOOP_sincos.
42118         * math/README.libm-test: Don't mention special handling of
42119         individual functions.
42120         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
42121         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42122         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42123         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42124         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42127         * math/gen-libm-test.pl (get_variable): Remove function.
42128         (parse_args): Don't show pointer parameters to call in test
42129         names.  Use "extra output N" in test names for extra outputs
42130         rather than naming variables.
42132 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
42134         [BZ #15488]
42135         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
42136         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
42137         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
42138         double tests.
42139         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
42140         disable.
42141         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
42142         check_long_double.
42144         * math/gen-libm-test.pl (@tests): Remove variable.
42145         ($count): Likewise.
42146         (new_test): Remove function.
42147         (show_exceptions): New function.
42148         (special_functions): Use show_exceptions instead of new_test.
42149         (parse_args): Likewise.
42150         (generate_testfile): Pass only function name in generated call to
42151         print_max_error or print_complex_max_error.
42152         (get_ulps): Do not handle complex tests specially.
42153         (output_test): Rename to ...
42154         (get_all_ulps_for_test): ... this.  Return a string rather than
42155         printing to a file.  Require ulps to be present.
42156         (output_ulps): Generate arrays rather than #defines.
42157         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
42158         (struct ulp_data): New type.
42159         (BUILD_COMPLEX_ULP): Remove macro.
42160         (compare_ulp_data): New function.
42161         (find_ulps): Likewise.
42162         (find_test_ulps): Likewise.
42163         (find_function_ulps): Likewise.
42164         (find_complex_function_ulps): Likewise.
42165         (print_max_error): Determine allowed ulps using
42166         find_function_ulps.
42167         (print_complex_max_error): Determine allowed ulps using
42168         find_complex_function_ulps.
42169         (check_float_internal): Determine max ulps using find_test_ulps.
42170         (check_float): Do not take max_ulp parameter.  Update call to
42171         check_float_internal.
42172         (check_complex): Likewise.
42173         (check_int): Do not take max_ulp parameter.
42174         (check_long): Likewise.
42175         (check_bool): Likewise.
42176         (check_longlong): Likewise.
42177         (struct test_f_f_data): Remove max_ulp field.
42178         (struct test_ff_f_data): Likewise.
42179         (struct test_ff_f_data_nexttoward): Likewise.
42180         (struct test_fi_f_data): Likewise.
42181         (struct test_fl_f_data): Likewise.
42182         (struct test_if_f_data): Likewise.
42183         (struct test_fff_f_data): Likewise.
42184         (struct test_c_f_data): Likewise.
42185         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
42186         (struct test_fF_f1_data): Likewise.
42187         (struct test_ffI_f1_data): Likewise.
42188         (struct test_c_c_data): Remove max_ulp field.
42189         (struct test_cc_c_data): Likewise.
42190         (struct test_f_i_data): Likewise.
42191         (struct test_ff_i_data): Likewise.
42192         (struct test_f_l_data): Likewise.
42193         (struct test_f_L_data): Likewise.
42194         (struct test_sincos_data): Likewise.
42195         (RUN_TEST_f_f): Do not handle ulps.
42196         (RUN_TEST_LOOP_f_f): Likewise.
42197         (RUN_TEST_2_f): Likewise.
42198         (RUN_TEST_LOOP_2_f): Likewise.
42199         (RUN_TEST_fff_f): Likewise.
42200         (RUN_TEST_LOOP_fff_f): Likewise.
42201         (RUN_TEST_c_f): Likewise.
42202         (RUN_TEST_LOOP_c_f): Likewise.
42203         (RUN_TEST_f_f1): Likewise.
42204         (RUN_TEST_LOOP_f_f1): Likewise.
42205         (RUN_TEST_fF_f1): Likewise.
42206         (RUN_TEST_LOOP_fF_f1): Likewise.
42207         (RUN_TEST_fI_f1): Likewise.
42208         (RUN_TEST_LOOP_fI_f1): Likewise.
42209         (RUN_TEST_ffI_f1): Likewise.
42210         (RUN_TEST_LOOP_ffI_f1): Likewise.
42211         (RUN_TEST_c_c): Likewise.
42212         (RUN_TEST_LOOP_c_c): Likewise.
42213         (RUN_TEST_cc_c): Likewise.
42214         (RUN_TEST_LOOP_cc_c): Likewise.
42215         (RUN_TEST_f_i): Likewise.
42216         (RUN_TEST_LOOP_f_i): Likewise.
42217         (RUN_TEST_f_i_tg): Likewise.
42218         (RUN_TEST_LOOP_f_i_tg): Likewise.
42219         (RUN_TEST_ff_i_tg): Likewise.
42220         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42221         (RUN_TEST_f_b): Likewise.
42222         (RUN_TEST_LOOP_f_b): Likewise.
42223         (RUN_TEST_f_b_tg): Likewise.
42224         (RUN_TEST_LOOP_f_b_tg): Likewise.
42225         (RUN_TEST_f_l): Likewise.
42226         (RUN_TEST_LOOP_f_l): Likewise.
42227         (RUN_TEST_f_L): Likewise.
42228         (RUN_TEST_LOOP_f_L): Likewise.
42229         (RUN_TEST_sincos): Likewise.
42230         (RUN_TEST_LOOP_sincos): Likewise.
42232 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
42234         [BZ #15480]
42235         [BZ #15485]
42236         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
42237         main case of finite arguments, set rounding mode to FE_TONEAREST
42238         and discard exceptions.
42239         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
42240         exceptions.
42241         (remainder_tonearest_test_data): New variable.
42242         (remainder_test_tonearest): New function.
42243         (remainder_towardzero_test_data): New variable.
42244         (remainder_test_towardzero): New function.
42245         (remainder_downward_test_data): New variable.
42246         (remainder_test_downward): New function.
42247         (remainder_upward_test_data): New variable.
42248         (remainder_test_upward): New function.
42249         (main): Call the new test functions.
42251         * math/libm-test.inc (struct test_f_f1_data): Remove field
42252         extra_init.
42253         (struct test_fF_f1_data): Likewise.
42254         (struct test_ffI_f1_data): Likewise.
42255         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
42256         based on value of EXTRA_EXPECTED.
42257         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42258         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
42259         EXTRA_VAR based on value of EXTRA_EXPECTED.
42260         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42261         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
42262         EXTRA_VAR based on value of EXTRA_EXPECTED.
42263         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42264         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
42265         EXTRA_VAR based on value of EXTRA_EXPECTED.
42266         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42267         * math/gen-libm-test.pl (parse_args): Don't output initializers
42268         for extra output values.
42270         * math/libm-test.inc (check_int): Expect result to be exactly
42271         equal to expected value and do not handle ulps.
42272         (check_long): Likewise.
42273         (check_longlong): Likewise.
42275         * math/libm-test.inc (ceil_test_data): Test for "inexact"
42276         exceptions.
42277         (cimag_test_data): Likewise.
42278         (conj_test_data): Likewise.
42279         (copysign_test_data): Likewise.
42280         (cproj_test_data): Likewise.
42281         (creal_test_data): Likewise.
42282         (fabs_test_data): Likewise.
42283         (fdim_test_data): Likewise.
42284         (finite_test_data): Likewise.
42285         (floor_test_data): Likewise.
42286         (fmax_test_data): Likewise.
42287         (fmin_test_data): Likewise.
42288         (fmod_test_data): Likewise.
42289         (fpclassify_test_data): Likewise.
42290         (frexp_test_data): Likewise.
42291         (ilogb_test_data): Likewise.
42292         (isfinite_test_data): Likewise.
42293         (isgreater_test_data): Likewise.
42294         (isgreaterequal_test_data): Likewise.
42295         (isinf_test_data): Likewise.
42296         (isless_test_data): Likewise.
42297         (islessequal_test_data): Likewise.
42298         (islessgreater_test_data): Likewise.
42299         (isnan_test_data): Likewise.
42300         (isnormal_test_data): Likewise.
42301         (issignaling_test_data): Likewise.
42302         (isunordered_test_data): Likewise.
42303         (ldexp_test_data): Likewise.
42304         (lrint_test_data): Likewise.
42305         (lrint_test_data) [TEST_FLOAT]: Disable one test.
42306         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
42307         (lrint_tonearest_test_data): Test for "inexact" exceptions.
42308         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42309         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
42310         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42311         test input.
42312         (lrint_towardzero_test_data): Test for "inexact" exceptions.
42313         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42314         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
42315         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
42316         that test input.
42317         (lrint_downward_test_data): Test for "inexact" exceptions.
42318         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42319         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
42320         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42321         test input.
42322         (lrint_upward_test_data): Test for "inexact" exceptions.
42323         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
42324         test input.
42325         (llrint_test_data): Test for "inexact" exceptions.
42326         (llrint_test_data) [TEST_FLOAT]: Disable one test.
42327         (llrint_tonearest_test_data): Test for "inexact" exceptions.
42328         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42329         (llrint_towardzero_test_data): Test for "inexact" exceptions.
42330         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42331         (llrint_downward_test_data): Test for "inexact" exceptions.
42332         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42333         (llrint_upward_test_data): Test for "inexact" exceptions.
42334         (logb_test_data): Likewise.
42335         (logb_downward_test_data): Likewise.
42336         (nextafter_test_data): Likewise.
42337         (nexttoward_test_data): Likewise.
42338         (remainder_test_data): Likewise.
42339         (remquo_test_data): Likewise.
42340         (scalbn_test_data): Likewise.
42341         (scalbln_test_data): Likewise.
42342         (signbit_test_data): Likewise.
42343         (sqrt_test_data): Likewise.
42344         (significand_test_data): Likewise.
42346 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42348         [BZ #15424]
42349         * benchtests/bench-modf.c (struct args): Mark arg0 as
42350         volatile.
42351         * scripts/bench.pl: Mark members of struct args as volatile.
42353 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42355         [BZ # 15497]
42356         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
42357         negative infinity on POWER6 or lower.
42358         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
42360 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
42362         [BZ #15442]
42363         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
42364         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
42365         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
42366         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
42367         (_FP_SETQNAN): New macro.
42368         (_FP_SETQNAN_SEMIRAW): Likewise.
42369         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
42370         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
42371         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
42372         (FP_EXTEND): Use _FP_FRAC_SNANP.
42373         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
42374         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
42375         into account.
42376         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42377         New macro.
42378         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42379         Likewise.
42381 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42383         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
42384         with DIVIDE_BY_ZERO_EXCEPTION.
42385         (gamma_test_data): Likewise.
42386         (lgamma_test_data): Likewise.
42387         (log_test_data): Likewise.
42388         (log10_test_data): Likewise.
42389         (log2_test_data): Likewise.
42390         (tgamma_test_data): Likewise.
42392         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
42393         (acos_test_tonearest): Likewise.
42394         (acos_test_towardzero): Likewise.
42395         (acos_test_downward): Likewise.
42396         (acos_test_upward): Likewise.
42397         (acosh_test): Likewise.
42398         (asin_test): Likewise.
42399         (asin_test_tonearest): Likewise.
42400         (asin_test_towardzero): Likewise.
42401         (asin_test_downward): Likewise.
42402         (asin_test_upward): Likewise.
42403         (asinh_test): Likewise.
42404         (atan_test): Likewise.
42405         (atanh_test): Likewise.
42406         (atan2_test): Likewise.
42407         (cabs_test): Likewise.
42408         (cacos_test): Likewise.
42409         (cacosh_test): Likewise.
42410         (casin_test): Likewise.
42411         (casinh_test): Likewise.
42412         (catan_test): Likewise.
42413         (catanh_test): Likewise.
42414         (cbrt_test): Likewise.
42415         (ccos_test): Likewise.
42416         (ccosh_test): Likewise.
42417         (cexp_test): Likewise.
42418         (clog_test): Likewise.
42419         (clog10_test): Likewise.
42420         (cos_test): Likewise.
42421         (cos_test_tonearest): Likewise.
42422         (cos_test_towardzero): Likewise.
42423         (cos_test_downward): Likewise.
42424         (cos_test_upward): Likewise.
42425         (cosh_test): Likewise.
42426         (cosh_test_tonearest): Likewise.
42427         (cosh_test_towardzero): Likewise.
42428         (cosh_test_downward): Likewise.
42429         (cosh_test_upward): Likewise.
42430         (cpow_test): Likewise.
42431         (csin_test): Likewise.
42432         (csinh_test): Likewise.
42433         (csqrt_test): Likewise.
42434         (ctan_test): Likewise.
42435         (ctan_test_tonearest): Likewise.
42436         (ctan_test_towardzero): Likewise.
42437         (ctan_test_downward): Likewise.
42438         (ctan_test_upward): Likewise.
42439         (ctanh_test): Likewise.
42440         (ctanh_test_tonearest): Likewise.
42441         (ctanh_test_towardzero): Likewise.
42442         (ctanh_test_downward): Likewise.
42443         (ctanh_test_upward): Likewise.
42444         (erf_test): Likewise.
42445         (erfc_test): Likewise.
42446         (exp_test): Likewise.
42447         (exp_test_tonearest): Likewise.
42448         (exp_test_towardzero): Likewise.
42449         (exp_test_downward): Likewise.
42450         (exp_test_upward): Likewise.
42451         (exp10_test): Likewise.
42452         (exp2_test): Likewise.
42453         (expm1_test): Likewise.
42454         (fmod_test): Likewise.
42455         (gamma_test): Likewise.
42456         (hypot_test): Likewise.
42457         (j0_test): Likewise.
42458         (j1_test): Likewise.
42459         (jn_test): Likewise.
42460         (lgamma_test): Likewise.
42461         (log_test): Likewise.
42462         (log10_test): Likewise.
42463         (log1p_test): Likewise.
42464         (log2_test): Likewise.
42465         (logb_test_downward): Likewise.
42466         (pow_test): Likewise.
42467         (pow_test_tonearest): Likewise.
42468         (pow_test_towardzero): Likewise.
42469         (pow_test_downward): Likewise.
42470         (pow_test_upward): Likewise.
42471         (remainder_test): Likewise.
42472         (remquo_test): Likewise.
42473         (sin_test): Likewise.
42474         (sin_test_tonearest): Likewise.
42475         (sin_test_towardzero): Likewise.
42476         (sin_test_downward): Likewise.
42477         (sin_test_upward): Likewise.
42478         (sincos_test): Likewise.
42479         (sinh_test): Likewise.
42480         (sinh_test_tonearest): Likewise.
42481         (sinh_test_towardzero): Likewise.
42482         (sinh_test_downward): Likewise.
42483         (sinh_test_upward): Likewise.
42484         (sqrt_test): Likewise.
42485         (tan_test): Likewise.
42486         (tan_test_tonearest): Likewise.
42487         (tan_test_towardzero): Likewise.
42488         (tan_test_downward): Likewise.
42489         (tan_test_upward): Likewise.
42490         (tanh_test): Likewise.
42491         (tgamma_test): Likewise.
42492         (y0_test): Likewise.
42493         (y1_test): Likewise.
42494         (yn_test): Likewise.
42496         * math/gen-libm-test.pl (adjust_arg): Remove function.
42497         (special_function): Remove argument $in_func.  Only handle
42498         generating output for tables of tests, not inside functions.
42499         (parse_args): Likewise.
42500         (generate_testfile): Remove variable $in_func.  Update call to
42501         parse_args.
42502         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
42503         (MINUS_ZERO_INIT): Rename macro to minus_zero.
42504         (PLUS_INFTY_INIT): Rename macro to plus_infty.
42505         (MINUS_INFTY_INIT): Rename macro to minus_infty.
42506         (QNAN_VALUE_INIT): Rename macro to qnan_value.
42507         (MAX_VALUE_INIT): Rename macro to max_value.
42508         (MIN_VALUE_INIT): Rename macro to min_value.
42509         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
42510         (plus_zero): Remove variable.
42511         (minus_zero): Likewise.
42512         (plus_infty): Likewise.
42513         (minus_infty): Likewise.
42514         (qnan_value): Likewise.
42515         (max_value): Likewise.
42516         (min_value): Likewise.
42517         (min_subnorm_value): Likewise.
42519 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42521         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
42522         uint64_t or uint32_t usage.
42523         * crypt/sha256-block.c: Likewise.
42524         * crypt/sha256-crypt.c: Likewise.
42525         * crypt/sha256.c: Likewise.
42526         * crypt/sha512-block.c: Likewise.
42527         * crypt/sha512-crypt.c: Likewise.
42528         * crypt/sha512.c: Likewise.
42529         * debug/backtrace-tst.c: Likewise.
42530         * debug/pcprofiledump.c: Likewise.
42531         * elf/cache.c: Likewise.
42532         * elf/dl-cache.c: Likewise.
42533         * elf/dl-misc.c: Likewise.
42534         * elf/dl-profile.c: Likewise.
42535         * elf/dl-support.c: Likewise.
42536         * elf/ldconfig.c: Likewise.
42537         * elf/sprof.c: Likewise.
42538         * iconv/dummy-repertoire.c: Likewise.
42539         * iconv/iconv_charmap.c: Likewise.
42540         * iconv/skeleton.c: Likewise.
42541         * iconvdata/8bit-generic.c: Likewise.
42542         * iconvdata/cp737.h: Likewise.
42543         * iconvdata/cp775.h: Likewise.
42544         * iconvdata/ibm1008.h: Likewise.
42545         * iconvdata/ibm1025.h: Likewise.
42546         * iconvdata/ibm1046.h: Likewise.
42547         * iconvdata/ibm1097.h: Likewise.
42548         * iconvdata/ibm1112.h: Likewise.
42549         * iconvdata/ibm1122.h: Likewise.
42550         * iconvdata/ibm1123.h: Likewise.
42551         * iconvdata/ibm1124.h: Likewise.
42552         * iconvdata/ibm1129.h: Likewise.
42553         * iconvdata/ibm1130.h: Likewise.
42554         * iconvdata/ibm1132.h: Likewise.
42555         * iconvdata/ibm1133.h: Likewise.
42556         * iconvdata/ibm1137.h: Likewise.
42557         * iconvdata/ibm1140.h: Likewise.
42558         * iconvdata/ibm1141.h: Likewise.
42559         * iconvdata/ibm1142.h: Likewise.
42560         * iconvdata/ibm1143.h: Likewise.
42561         * iconvdata/ibm1144.h: Likewise.
42562         * iconvdata/ibm1145.h: Likewise.
42563         * iconvdata/ibm1146.h: Likewise.
42564         * iconvdata/ibm1147.h: Likewise.
42565         * iconvdata/ibm1148.h: Likewise.
42566         * iconvdata/ibm1149.h: Likewise.
42567         * iconvdata/ibm1153.h: Likewise.
42568         * iconvdata/ibm1154.h: Likewise.
42569         * iconvdata/ibm1155.h: Likewise.
42570         * iconvdata/ibm1156.h: Likewise.
42571         * iconvdata/ibm1157.h: Likewise.
42572         * iconvdata/ibm1158.h: Likewise.
42573         * iconvdata/ibm1160.h: Likewise.
42574         * iconvdata/ibm1161.h: Likewise.
42575         * iconvdata/ibm1162.h: Likewise.
42576         * iconvdata/ibm1163.h: Likewise.
42577         * iconvdata/ibm1164.h: Likewise.
42578         * iconvdata/ibm1166.h: Likewise.
42579         * iconvdata/ibm1167.h: Likewise.
42580         * iconvdata/ibm12712.h: Likewise.
42581         * iconvdata/ibm1390.h: Likewise.
42582         * iconvdata/ibm1399.h: Likewise.
42583         * iconvdata/ibm16804.h: Likewise.
42584         * iconvdata/ibm4517.h: Likewise.
42585         * iconvdata/ibm4899.h: Likewise.
42586         * iconvdata/ibm4909.h: Likewise.
42587         * iconvdata/ibm4971.h: Likewise.
42588         * iconvdata/ibm5347.h: Likewise.
42589         * iconvdata/ibm803.h: Likewise.
42590         * iconvdata/ibm856.h: Likewise.
42591         * iconvdata/ibm901.h: Likewise.
42592         * iconvdata/ibm902.h: Likewise.
42593         * iconvdata/ibm9030.h: Likewise.
42594         * iconvdata/ibm9066.h: Likewise.
42595         * iconvdata/ibm921.h: Likewise.
42596         * iconvdata/ibm922.h: Likewise.
42597         * iconvdata/ibm9448.h: Likewise.
42598         * iconvdata/isiri-3342.h: Likewise.
42599         * iconvdata/jis0201.h: Likewise.
42600         * include/link.h: Likewise.
42601         * include/netdb.h: Likewise.
42602         * inet/check_native.c: Likewise.
42603         * inet/check_pf.c: Likewise.
42604         * inet/getipv4sourcefilter.c: Likewise.
42605         * inet/getnameinfo.c: Likewise.
42606         * inet/getsourcefilter.c: Likewise.
42607         * inet/htonl.c: Likewise.
42608         * inet/setipv4sourcefilter.c: Likewise.
42609         * inet/setsourcefilter.c: Likewise.
42610         * inet/test-inet6_opt.c: Likewise.
42611         * inet/tst-network.c: Likewise.
42612         * locale/C-collate.c: Likewise.
42613         * locale/C-ctype.c: Likewise.
42614         * locale/C-time.c: Likewise.
42615         * locale/C-translit.h: Likewise.
42616         * locale/loadarchive.c: Likewise.
42617         * locale/programs/3level.h: Likewise.
42618         * locale/programs/charmap.c: Likewise.
42619         * locale/programs/charmap.h: Likewise.
42620         * locale/programs/ld-address.c: Likewise.
42621         * locale/programs/ld-collate.c: Likewise.
42622         * locale/programs/ld-ctype.c: Likewise.
42623         * locale/programs/ld-identification.c: Likewise.
42624         * locale/programs/ld-measurement.c: Likewise.
42625         * locale/programs/ld-messages.c: Likewise.
42626         * locale/programs/ld-monetary.c: Likewise.
42627         * locale/programs/ld-name.c: Likewise.
42628         * locale/programs/ld-numeric.c: Likewise.
42629         * locale/programs/ld-paper.c: Likewise.
42630         * locale/programs/ld-telephone.c: Likewise.
42631         * locale/programs/ld-time.c: Likewise.
42632         * locale/programs/linereader.c: Likewise.
42633         * locale/programs/locale.c: Likewise.
42634         * locale/programs/locarchive.c: Likewise.
42635         * locale/programs/locfile.h: Likewise.
42636         * locale/programs/repertoire.c: Likewise.
42637         * locale/programs/simple-hash.c: Likewise.
42638         * locale/programs/simple-hash.h: Likewise.
42639         * malloc/memusage.c: Likewise.
42640         * malloc/memusagestat.c: Likewise.
42641         * nis/nis_defaults.c: Likewise.
42642         * nis/nis_hash.c: Likewise.
42643         * nis/nis_print.c: Likewise.
42644         * nis/nis_xdr.c: Likewise.
42645         * nscd/connections.c: Likewise.
42646         * nscd/hstcache.c: Likewise.
42647         * nscd/nscd_gethst_r.c: Likewise.
42648         * nscd/nscd_getserv_r.c: Likewise.
42649         * nscd/nscd_helper.c: Likewise.
42650         * nscd/servicescache.c: Likewise.
42651         * nss/makedb.c: Likewise.
42652         * nss/nss_db/db-XXX.c: Likewise.
42653         * nss/nss_db/db-initgroups.c: Likewise.
42654         * nss/nss_db/db-netgrp.c: Likewise.
42655         * nss/nss_files/files-network.c: Likewise.
42656         * nss/nss_files/files-parse.c: Likewise.
42657         * posix/bug-regex5.c: Likewise.
42658         * posix/fnmatch_loop.c: Likewise.
42659         * posix/regcomp.c: Likewise.
42660         * posix/regexec.c: Likewise.
42661         * posix/tst-rfc3484-2.c: Likewise.
42662         * posix/tst-rfc3484-3.c: Likewise.
42663         * posix/tst-rfc3484.c: Likewise.
42664         * resolv/nss_dns/dns-canon.c: Likewise.
42665         * resolv/nss_dns/dns-network.c: Likewise.
42666         * resolv/res_init.c: Likewise.
42667         * resolv/res_mkquery.c: Likewise.
42668         * resolv/tst-aton.c: Likewise.
42669         * stdlib/cxa_atexit.c: Likewise.
42670         * stdlib/cxa_finalize.c: Likewise.
42671         * stdlib/gen-fpioconst.c: Likewise.
42672         * stdlib/strtol_l.c: Likewise.
42673         * string/tst-endian.c: Likewise.
42674         * sunrpc/auth_des.c: Likewise.
42675         * sunrpc/clnt_udp.c: Likewise.
42676         * sunrpc/rtime.c: Likewise.
42677         * sunrpc/svcauth_des.c: Likewise.
42678         * sunrpc/xdr.c: Likewise.
42679         * sunrpc/xdr_intXX_t.c: Likewise.
42680         * sunrpc/xdr_rec.c: Likewise.
42681         * sysdeps/generic/ldconfig.h: Likewise.
42682         * sysdeps/generic/ldsodefs.h: Likewise.
42683         * sysdeps/generic/memusage.h: Likewise.
42684         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42685         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
42686         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
42687         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42688         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42689         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42690         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42691         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42692         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42693         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42694         * sysdeps/posix/getaddrinfo.c: Likewise.
42695         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42696         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42697         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42698         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42699         * sysdeps/powerpc/test-gettimebase.c: Likewise.
42700         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42701         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
42702         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
42703         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42704         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
42705         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42706         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42707         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
42708         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
42709         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
42710         * sysdeps/x86_64/dl-tls.h: Likewise.
42711         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
42712         * time/alt_digit.c: Likewise.
42713         * time/era.c: Likewise.
42714         * wcsmbs/tst-c16c32-1.c: Likewise.
42716 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42718         * math/libm-test.inc (struct test_sincos_data): New type.
42719         (RUN_TEST_LOOP_sincos): New macro.
42720         (sincos_test_data): New variable.
42721         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
42723 2013-05-16  Richard Henderson  <rth@redhat.com>
42725         * math/atest-exp2.c (LIMB64): New macro.
42726         (CONSTSZ): New macro.
42727         (mp_exp1, mp_exp_m1, mp_log2): New variables.
42728         (hexdig): Move ...
42729         (print_mpn_fp): ... to function scope.
42730         (read_mpn_hex): Remove.
42731         (get_log2): Remove.
42732         (exp2_mpn): Use mp_log2.
42733         (main): Use mp_exp1.
42735 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42737         * math/libm-test.inc: Remove comment about not testing "inexact"
42738         exceptions.
42739         (INEXACT_EXCEPTION): New macro.
42740         (NO_INEXACT_EXCEPTION): Likewise.
42741         (INVALID_EXCEPTION_OK): Update value.
42742         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42743         (OVERFLOW_EXCEPTION_OK): Likewise.
42744         (UNDERFLOW_EXCEPTION_OK): Likewise.
42745         (IGNORE_ZERO_INF_SIGN): Likewise.
42746         (ERRNO_UNCHANGED): Likewise.
42747         (ERRNO_EDOM): Likewise.
42748         (ERRNO_ERANGE): Likewise.
42749         (test_exceptions): Handle testing "inexact" exceptions.
42750         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
42751         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
42752         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
42753         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
42754         INEXACT_EXCEPTION.
42755         (rint_towardzero_test_data): Likewise.
42756         (rint_downward_test_data): Likewise.
42757         (rint_upward_test_data): Likewise.
42759         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
42760         with OVERFLOW_EXCEPTION.
42761         (exp10_test_data): Likewise.
42762         (exp2_test_data): Likewise.
42763         (expm1_test_data): Likewise.
42764         (lgamma_test_data): Likewise.
42765         (pow_test_data): Likewise.
42766         (tgamma_test_data): Likewise.
42767         (yn_test_data): Remove duplicate test of overflow.
42769         * math/libm-test.inc (struct test_cc_c_data): New type.
42770         (RUN_TEST_LOOP_cc_c): New macro.
42771         (cpow_test_data): New variable.
42772         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
42774         * math/libm-test.inc (struct test_f_L_data): New type.
42775         (RUN_TEST_LOOP_f_L): New macro.
42776         (llrint_test_data): New variable.
42777         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
42778         (llrint_tonearest_test_data): New variable.
42779         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
42780         (llrint_towardzero_test_data): New variable.
42781         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
42782         (llrint_downward_test_data): New variable.
42783         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
42784         (llrint_upward_test_data): New variable.
42785         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
42786         (llround_test_data): New variable.
42787         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
42789 2013-05-13  Peter Collingbourne  <pcc@google.com>
42791         * math/atest-exp2.c (get_log2): Remove const attribute.
42793 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42795         * math/libm-test.inc (struct test_f_l_data): New type.
42796         (RUN_TEST_LOOP_f_l): New macro.
42797         (lrint_test_data): New variable.
42798         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
42799         (lrint_tonearest_test_data): New variable.
42800         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
42801         (lrint_towardzero_test_data): New variable.
42802         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
42803         (lrint_downward_test_data): New variable.
42804         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
42805         (lrint_upward_test_data): New variable.
42806         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
42807         (lround_test_data): New variable.
42808         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
42810 2013-05-15  Peter Collingbourne  <pcc@google.com>
42812         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
42813         (EXTRACT_WORDS64) Use where appropriate.
42814         (INSERT_WORDS64) Likewise.
42816         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
42817         constraints with x constraints.
42818         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
42820         * malloc/obstack.c (_obstack_compat): Add initializer.
42822 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42824         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
42825         si_trapno and add si_addr_lsb to _sifields.sigfault.
42826         (si_trapno): Remove macro.
42827         (si_addr_lsb): Define new macro.
42828         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42830 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42832         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
42833         instead of TEST_f_l.
42834         (llrint_test_tonearest): Likewise.
42835         (llrint_test_towardzero): Likewise.
42836         (llrint_test_downward): Likewise.
42837         (llrint_test_upward): Likewise.
42838         (llround_test): Likewise.
42840         * math/libm-test.inc (struct test_f_i_data): Add comment.
42841         (RUN_TEST_LOOP_f_b): New macro.
42842         (RUN_TEST_LOOP_f_b_tg): Likewise.
42843         (finite_test_data): New variable.
42844         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
42845         (isfinite_test_data): New variable.
42846         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42847         (isinf_test_data): New variable.
42848         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42849         (isnan_test_data): New variable.
42850         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42851         (isnormal_test_data): New variable.
42852         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42853         (issignaling_test_data): New variable.
42854         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42855         (signbit_test_data): New variable.
42856         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42858         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
42859         with INVALID_EXCEPTION.
42860         (acosh_test_data): Likewise.
42861         (asin_test_data): Likewise.
42862         (atanh_test_data): Likewise.
42863         (fmod_test_data): Likewise.
42864         (log_test_data): Likewise.
42865         (log10_test_data): Likewise.
42866         (log2_test_data): Likewise.
42867         (pow_test_data): Likewise.
42868         (sqrt_test_data): Likewise.
42869         (y0_test_data): Likewise.
42870         (y1_test_data): Likewise.
42871         (yn_test_data): Likewise.
42873         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
42874         function contents.
42876         * math/libm-test.inc (struct test_ff_i_data): New type.
42877         (RUN_TEST_LOOP_ff_i_tg): New macro.
42878         (isgreater_test_data): New variable.
42879         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42880         (isgreaterequal_test_data): New variable.
42881         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42882         (isless_test_data): New variable.
42883         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42884         (islessequal_test_data): New variable.
42885         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42886         (islessgreater_test_data): New variable.
42887         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42888         (isunordered_test_data): New variable.
42889         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42891 2013-05-14  David S. Miller  <davem@davemloft.net>
42893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42895 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
42897         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
42899         * math/libm-test.inc (struct test_fF_f1_data): Change type of
42900         extra_test to int.
42901         (struct test_f_i_data): Change type of max_ulp to int.
42903         * math/libm-test.inc (test_ffI_f1_data): New type.
42904         (RUN_TEST_LOOP_ffI_f1): New macro.
42905         (remquo_test_data): New variable.
42906         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
42908         * setjmp/tst-setjmp-fp.c: New file.
42909         * setjmp/Makefile (tests): Add tst-setjmp-fp.
42910         (link-libm): New variable.
42911         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
42913         * math/libm-test.inc (struct test_f_i_data): New type.
42914         (RUN_TEST_LOOP_f_i): New macro.
42915         (RUN_TEST_LOOP_f_i_tg): Likewise.
42916         (fpclassify_test_data): New variable.
42917         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
42918         (ilogb_test_data): New variable.
42919         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
42921         * math/libm-test.inc (scalbln_test): Correct function name in END
42922         call.
42924         * math/libm-test.inc (struct test_f_f1_data): Add comment.
42925         (RUN_TEST_LOOP_fI_f1): New macro.
42926         (frexp_test_data): New variable.
42927         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
42929         * math/libm-test.inc (struct test_fF_f1_data): New type.
42930         (RUN_TEST_LOOP_fF_f1): New macro.
42931         (modf_test_data): New variable.
42932         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
42934         * math/libm-test.inc (struct test_f_f1_data): New type.
42935         (RUN_TEST_LOOP_f_f1): New macro.
42936         (gamma_test_data): New variable.
42937         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42938         (lgamma_test_data): New variable.
42939         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42941 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
42943         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
42944         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
42945         (main): Comment "tls" pseudo-hwcap.
42947 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
42949         * math/libm-test.inc (struct test_fl_f_data): New type.
42950         (RUN_TEST_LOOP_fl_f): New variable.
42951         (scalbln_test_data): New variable.
42952         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
42954         * math/libm-test.inc (struct test_fi_f_data): New type.
42955         (RUN_TEST_LOOP_fi_f): New macro.
42956         (ldexp_test_data): New variable.
42957         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
42958         (scalbn_test_data): New variable.
42959         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
42961         * math/libm-test.inc (struct test_c_f_data): New type.
42962         (RUN_TEST_LOOP_c_f): New macro.
42963         (cabs_test_data): New variable.
42964         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
42965         (carg_test_data): New variable.
42966         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
42967         (cimag_test_data): New variable.
42968         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
42969         (creal_test_data): New variable.
42970         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
42972         * math/libm-test.inc (struct test_if_f_data): New type.
42973         (RUN_TEST_LOOP_if_f): New macro.
42974         (jn_test_data): New variable.
42975         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
42976         (yn_test_data): New variable.
42977         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
42979         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
42981 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42983         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
42984         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
42986 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42988         * benchtests/Makefile (CPPFLAGS-nonlib): Add
42989         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
42990         (bench-deps): Add bench-timing.h.
42991         * benchtests-bench-skeleton.c: Include bench-timing.h.
42992         (main): Use TIMING_* macros instead of clock_gettime.
42993         * benchtests/bench-timing.h: New file.
42995         [BZ #14582]
42996         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
42997         Renamed from _LIB_VERSION.
42998         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
43000 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
43002         * math/libm-test.inc (struct test_fff_f_data): New type.
43003         (RUN_TEST_LOOP_fff_f): New macro.
43004         (fma_test_data): New variable.
43005         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
43006         (fma_towardzero_test_data): New variable.
43007         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
43008         (fma_downward_test_data): New variable.
43009         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
43010         (fma_upward_test_data): New variable.
43011         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
43013         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
43014         (struct test_c_c_data): New type.
43015         (RUN_TEST_LOOP_c_c): New macro.
43016         (cacos_test_data): New variable.
43017         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
43018         (cacosh_test_data): New variable.
43019         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
43020         (casin_test_data): New variable.
43021         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
43022         (casinh_test_data): New variable.
43023         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
43024         (catan_test_data): New variable.
43025         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
43026         (catanh_test_data): New variable.
43027         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
43028         (ccos_test_data): New variable.
43029         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
43030         (ccosh_test_data): New variable.
43031         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
43032         (cexp_test_data): New variable.
43033         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
43034         (clog_test_data): New variable.
43035         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
43036         (clog10_test_data): New variable.
43037         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
43038         (conj_test_data): New variable.
43039         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
43040         (cproj_test_data): New variable.
43041         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
43042         (csin_test_data): New variable.
43043         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
43044         (csinh_test_data): New variable.
43045         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
43046         (csqrt_test_data): New variable.
43047         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
43048         (ctan_test_data): New variable.
43049         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
43050         (ctan_tonearest_test_data): New variable.
43051         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43052         (ctan_towardzero_test_data): New variable.
43053         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43054         (ctan_downward_test_data): New variable.
43055         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43056         (ctan_upward_test_data): New variable.
43057         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43058         (ctanh_test_data): New variable.
43059         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
43060         (ctanh_tonearest_test_data): New variable.
43061         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43062         (ctanh_towardzero_test_data): New variable.
43063         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43064         (ctanh_downward_test_data): New variable.
43065         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43066         (ctanh_upward_test_data): New variable.
43067         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43068         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
43069         of BUILD_COMPLEX.
43071         * math/libm-test.inc (struct test_ff_f_data): New type.
43072         (struct test_ff_f_data_nexttoward): Likewise.
43073         (RUN_TEST_LOOP_2_f): New macro.
43074         (RUN_TEST_LOOP_ff_f): Likewise.
43075         (atan2_test_data): New variable.
43076         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
43077         (copysign_test_data): New variable.
43078         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
43079         (fdim_test_data): New variable.
43080         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
43081         (fmax_test_data): New variable.
43082         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
43083         (fmin_test_data): New variable.
43084         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
43085         (fmod_test_data): New variable.
43086         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
43087         (hypot_test_data): New variable.
43088         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
43089         (nextafter_test_data): New variable.
43090         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
43091         (nexttoward_test_data): New variable.
43092         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
43093         (pow_test_data): New variable.
43094         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
43095         (pow_tonearest_test_data): New variable.
43096         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
43097         (pow_towardzero_test_data): New variable.
43098         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
43099         (pow_downward_test_data): New variable.
43100         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
43101         (pow_upward_test_data): New variable.
43102         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
43103         (remainder_test_data): New variable.
43104         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
43105         (scalb_test_data): New variable.
43106         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
43107         * sysdeps/i386/fpu/libm-test-ulps: Update.
43109 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
43111         * math/libm-test.inc (fma_test): Use max_value instead of local
43112         variable fltmax.
43113         (nextafter_test): Likewise.
43115         * math/libm-test.inc (acos_towardzero_test_data): New variable.
43116         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43117         (acos_downward_test_data): New variable.
43118         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43119         (acos_upward_test_data): New variable.
43120         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43121         (acosh_test_data): New variable.
43122         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
43123         (asin_test_data): New variable.
43124         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
43125         (asin_tonearest_test_data): New variable.
43126         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43127         (asin_towardzero_test_data): New variable.
43128         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43129         (asin_downward_test_data): New variable.
43130         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43131         (asin_upward_test_data): New variable.
43132         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43133         (asinh_test_data): New variable.
43134         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
43135         (atan_test_data): New variable.
43136         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
43137         (atanh_test_data): New variable.
43138         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
43139         (cbrt_test_data): New variable.
43140         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
43141         (ceil_test_data): New variable.
43142         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
43143         (cos_test_data): New variable.
43144         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
43145         (cos_tonearest_test_data): New variable.
43146         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43147         (cos_towardzero_test_data): New variable.
43148         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43149         (cos_downward_test_data): New variable.
43150         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43151         (cos_upward_test_data): New variable.
43152         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43153         (cosh_test_data): New variable.
43154         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
43155         (cosh_tonearest_test_data): New variable.
43156         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43157         (cosh_towardzero_test_data): New variable.
43158         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43159         (cosh_downward_test_data): New variable.
43160         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43161         (cosh_upward_test_data): New variable.
43162         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43163         (erf_test_data): New variable.
43164         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
43165         (erfc_test_data): New variable.
43166         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
43167         (exp_test_data): New variable.
43168         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
43169         (exp_tonearest_test_data): New variable.
43170         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43171         (exp_towardzero_test_data): New variable.
43172         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43173         (exp_downward_test_data): New variable.
43174         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43175         (exp_upward_test_data): New variable.
43176         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43177         (exp10_test_data): New variable.
43178         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
43179         (exp2_test_data): New variable.
43180         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
43181         (expm1_test_data): New variable.
43182         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
43183         (fabs_test_data): New variable.
43184         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
43185         (floor_test_data): New variable.
43186         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
43187         (j0_test_data): New variable.
43188         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
43189         (j1_test_data): New variable.
43190         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
43191         (log_test_data): New variable.
43192         (log_test): Run tests with RUN_TEST_LOOP_f_f.
43193         (log10_test_data): New variable.
43194         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
43195         (log1p_test_data): New variable.
43196         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
43197         (log2_test_data): New variable.
43198         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
43199         (logb_test_data): New variable.
43200         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
43201         (logb_downward_test_data): New variable.
43202         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43203         (nearbyint_test_data): New variable.
43204         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
43205         (rint_test_data): New variable.
43206         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
43207         (rint_tonearest_test_data): New variable.
43208         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43209         (rint_towardzero_test_data): New variable.
43210         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43211         (rint_downward_test_data): New variable.
43212         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43213         (rint_upward_test_data): New variable.
43214         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43215         (round_test_data): New variable.
43216         (round_test): Run tests with RUN_TEST_LOOP_f_f.
43217         (sin_test_data): New variable.
43218         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
43219         (sin_tonearest_test_data): New variable.
43220         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43221         (sin_towardzero_test_data): New variable.
43222         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43223         (sin_downward_test_data): New variable.
43224         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43225         (sin_upward_test_data): New variable.
43226         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43227         (sinh_test_data): New variable.
43228         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
43229         (sinh_tonearest_test_data): New variable.
43230         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43231         (sinh_towardzero_test_data): New variable.
43232         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43233         (sinh_downward_test_data): New variable.
43234         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43235         (sinh_upward_test_data): New variable.
43236         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43237         (sqrt_test_data): New variable.
43238         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
43239         (tan_test_data): New variable.
43240         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
43241         (tan_tonearest_test_data): New variable.
43242         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43243         (tan_towardzero_test_data): New variable.
43244         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43245         (tan_downward_test_data): New variable.
43246         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43247         (tan_upward_test_data): New variable.
43248         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43249         (tanh_test_data): New variable.
43250         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
43251         (tgamma_test_data): New variable.
43252         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
43253         (trunc_test_data): New variable.
43254         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
43255         (y0_test_data): New variable.
43256         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
43257         (y1_test_data): New variable.
43258         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
43259         (significand_test_data): New variable.
43260         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
43262 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
43264         [BZ #12387]
43265         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
43267 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43269         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
43271 2013-05-10  Andreas Jaeger  <aj@suse.de>
43273         [BZ #15448]
43274         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
43275         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
43277 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43279         * math/gen-libm-test.pl (adjust_arg): New function.
43280         (special_functions): Handle generating output in both functions
43281         and arrays.
43282         (parse_args): Likewise.
43283         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
43284         $in_func argument to parse_args.
43285         * math/libm-test.inc (struct test_f_f_data): New type.
43286         (IF_ROUND_INIT_): New macro.
43287         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
43288         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43289         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43290         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43291         (ROUND_RESTORE_): Likewise.
43292         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
43293         (ROUND_RESTORE_FE_TONEAREST): Likewise.
43294         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
43295         (ROUND_RESTORE_FE_UPWARD): Likewise.
43296         (RUN_TEST_LOOP_f_f): New macro.
43297         (acos_test_data): New variable.
43298         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
43299         (acos_tonearest_test_data): New variable.
43300         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43302 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43304         * benchtests/bench-skeleton.c (startup): Fix coding style.
43306 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43308         [BZ #6809]
43309         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
43310         negative infinity argument.
43311         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
43312         negative infinity argument.
43313         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
43314         negative infinity argument.
43315         * math/libm-test.inc (tgamma_test): Expect errno to be set for
43316         domain errors.
43318 2013-05-10  Florian Weimer  <fweimer@redhat.com>
43320         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
43321         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
43322         * iconv/iconv_prog.c (main): Likewise.
43323         * locale/programs/charmap-dir.c (charmap_readdir)
43324         (fopen_uncompressed): Likewise.
43325         * locale/programs/locfile.c (siblings_uncached)
43326         (write_locale_data): Use lstat64 instead of lstat.
43327         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
43328         stat.
43330 2013-05-10  Andreas Jaeger  <aj@suse.de>
43332         [BZ #15395]
43333         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
43334         localization.
43335         Include <locale.h>.
43337 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
43339         * elf/dl-close.c (_dl_close_worker): Add comments.
43341 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
43343         [BZ #15359]
43344         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
43345         high part of pi/2.
43346         (__ieee754_rem_pio2l): Update comments.
43348         [BZ #15429]
43349         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
43350         high part of pi/2.
43351         (__ieee754_rem_pio2l): Update comments.
43353         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
43354         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
43356         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
43357         M_PI_4l.
43359         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
43360         (M_PI_34_LOG10El): Likewise.
43361         (M_PI2_LOG10El): Likewise.
43362         (M_PI4_LOG10El): Likewise.
43363         (M_PI_LOG10El): Likewise.
43365 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43369 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
43371         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
43372         (MINUS_ZERO_INIT): Likewise.
43373         (PLUS_INFTY_INIT): Likewise.
43374         (MINUS_INFTY_INIT): Likewise.
43375         (QNAN_VALUE_INIT): Likewise.
43376         (MAX_VALUE_INIT): Likewise.
43377         (MIN_VALUE_INIT): Likewise.
43378         (MIN_SUBNORM_VALUE_INIT): Likewise.
43379         (plus_zero): Initialize with PLUS_ZERO_INIT.
43380         (minus_zero): Initialize with MINUS_ZERO_INIT.
43381         (plus_infty): Initialize with PLUS_INFTY_INIT.
43382         (minus_infty): Initialize with MINUS_INFTY_INIT.
43383         (qnan_value): Initialize with QNAN_VALUE_INIT.
43384         (max_value): Initialize with MAX_VALUE_INIT.
43385         (min_value): Initialize with MIN_VALUE_INIT.
43386         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
43388         * math/libm-test.inc (RUN_TEST_if_f): New macro.
43389         (jn_test): Use TEST_if_f instead of TEST_ff_f.
43390         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
43391         (yn_test): Use TEST_if_f instead of TEST_ff_f.
43393         * math/libm-test.inc (RUN_TEST_f_f): New macro.
43394         (RUN_TEST_2_f): Likewise.
43395         (RUN_TEST_ff_f): Likewise.
43396         (RUN_TEST_fi_f): Likewise.
43397         (RUN_TEST_fl_f): Likewise.
43398         (RUN_TEST_fff_f): Likewise.
43399         (RUN_TEST_c_f): Likewise.
43400         (RUN_TEST_f_f1): Likewise.
43401         (RUN_TEST_fF_f1): Likewise.
43402         (RUN_TEST_fI_f1): Likewise.
43403         (RUN_TEST_ffI_f1): Likewise.
43404         (RUN_TEST_c_c): Likewise.
43405         (RUN_TEST_cc_c): Likewise.
43406         (RUN_TEST_f_i): Likewise.
43407         (RUN_TEST_f_i_tg): Likewise.
43408         (RUN_TEST_ff_i_tg): Likewise.
43409         (RUN_TEST_f_b): Likewise.
43410         (RUN_TEST_f_b_tg): Likewise.
43411         (RUN_TEST_f_l): Likewise.
43412         (RUN_TEST_f_L): Likewise.
43413         (RUN_TEST_sincos): Likewise.
43414         * math/gen-libm-test.pl (new_test): Take new argument to indicate
43415         whether to show exceptions.  Do not include ");\n" in return
43416         value.
43417         (special_functions): Output call to RUN_TEST_sincos instead of
43418         check_float calls.  Update calls to new_test.
43419         (parse_args): Output call to single RUN_TEST_* macro instead of
43420         check_* calls and other assignments.  Update calls to new_test.
43422         [BZ #2546]
43423         [BZ #2560]
43424         [BZ #5159]
43425         [BZ #15426]
43426         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
43427         input to result for tgamma overflow.
43428         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
43429         (gamma_coeff): New variable.
43430         (NCOEFF): New macro.
43431         (gamma_positive): New function.
43432         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
43433         underflow here.  Use gamma_positive instead of exp (lgamma) for
43434         other arguments.
43435         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
43436         (gamma_coeff): New variable.
43437         (NCOEFF): New macro.
43438         (gammaf_positive): New function.
43439         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
43440         underflow here.  Use gamma_positive instead of exp (lgamma) for
43441         other arguments.
43442         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
43443         (gamma_coeff): New variable.
43444         (NCOEFF): New macro.
43445         (gammal_positive): New function.
43446         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
43447         underflow here.  Use gamma_positive instead of exp (lgamma) for
43448         other arguments.
43449         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
43450         (gamma_coeff): New variable.
43451         (NCOEFF): New macro.
43452         (gammal_positive): New function.
43453         (__ieee754_gammal_r): Handle positive infinity, overflow and
43454         underflow here.  Handle NaN the same as positive infinity.  Remove
43455         check x < 0xffffffff for negative integers.  Use gamma_positive
43456         instead of exp (lgamma) for other arguments.
43457         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
43458         (gamma_coeff): New variable.
43459         (NCOEFF): New macro.
43460         (gammal_positive): New function.
43461         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
43462         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
43463         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
43464         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
43465         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
43466         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
43467         * sysdeps/generic/math_private.h (__gamma_productf): New
43468         prototype.
43469         (__gamma_product): Likewise.
43470         (__gamma_productl): Likewise.
43471         * math/Makefile (libm-calls): Add gamma_product.
43472         * math/libm-test.inc (tgamma_test): Add more tests.
43473         * sysdeps/i386/fpu/libm-test-ulps: Update.
43474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43476 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
43478         * benchtests/bench-skeleton.c (main): Preheat CPU.
43480 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
43482         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
43484 2013-05-07  Roland McGrath  <roland@hack.frob.com>
43486         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
43487         and _dl_skip_args_internal.
43489 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
43491         * manual/message.texi (Message Translation): Talk about users.
43492         Message to key mapping impacts design.
43494 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43496         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
43498         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
43500         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
43501         * sysdeps/wordsize-64/glob64.c: ... here.
43503         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
43504         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
43505         New macros.
43507         * debug/getlogin_r_chk.c: Moved to ...
43508         * login/getlogin_r_chk.c: ... here.
43509         * debug/Makefile (routines): Move getlogin_r_chk to ...
43510         * login/Makefile (routines): ... here.
43511         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
43512         * login/Versions (libc: GLIBC_2.4): ... here.
43514         * io/poll.c (__poll): Renamed from poll.
43515         Add libc_hidden_def.
43516         (poll): Define as weak alias.
43518         * debug/ptsname_r_chk.c: Moved to ...
43519         * login/ptsname_r_chk.c: ... here.
43520         * debug/Makefile (routines): Move ptsname_r_chk to ...
43521         * login/Makefile (routines): ... here.
43522         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
43523         * login/Versions (libc: GLIBC_2.4): ... here.
43525         * posix/getlogin.c: Moved to ...
43526         * login/getlogin.c: ... here.
43527         * posix/getlogin_r.c: Moved to ...
43528         * login/getlogin_r.c: ... here.
43529         * posix/getlogin_r.c: Moved to ...
43530         * login/getlogin_r.c: ... here.
43531         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
43532         * login/Makefile (routines): ... here.
43533         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
43534         * login/Versions (libc: GLIBC_2.0): ... here.
43536         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
43537         (setrlimit): Define as weak alias.
43539         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
43540         Call __ names for open, ftruncate, and close.
43541         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
43542         (truncate): Define as weak alias.
43544 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
43546         * math/gen-libm-test.pl (parse_args): Initialize x before each
43547         test of frexp, modf and remquo.
43549         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
43550         test signgam value.
43552 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43554         [BZ #15418]
43555         [BZ #15419]
43556         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
43557         internal tests.
43558         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43560 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43562         * elf/dl-writev.h: New file.
43563         * elf/dl-misc.c: Include it.
43564         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
43565         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
43567 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
43569         * math/libm-test.inc (noXFails): Remove variable.
43570         (noXPasses): Likewise.
43571         (BUILD_COMPLEX_INT): Remove macro.
43572         (print_screen): Remove xfail argument.
43573         (print_screen_max_error): Likewise.
43574         (update_stats): Likewise.
43575         (print_max_error): Likewise.  Update calls to other affected
43576         functions.
43577         (print_complex_max_error): Likewise.
43578         (test_single_exception): Update calls to print_screen.
43579         (test_single_errno): Likewise.
43580         (check_float_internal): Remove xfail argument.  Update calls to
43581         other affected functions.
43582         (check_float): Likewise.
43583         (check_complex): Likewise.
43584         (check_int): Likewise.
43585         (check_long): Likewise.
43586         (check_bool): Likewise.
43587         (check_longlong): Likewise.
43588         (main): Don't print noXFails and noXPasses.
43589         * math/gen-libm-test.pl (top level): Don't mention expected
43590         failure handling in comment.
43591         (new_test): Don't handle expected failures.
43592         (parse_args): Don't mention expected failure handling in comment.
43593         (generate_testfile): Don't handle expected failures.
43594         (parse_ulps): Likewise.
43595         (print_ulps_file): Likewise.
43596         (get_failure): Remove function.
43597         (output_test): Don't handle expected failures.
43598         * make/README.libm-test: Don't mention expected failure handling.
43600         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
43601         (minus_zero): Likewise.
43602         (plus_infty): Likewise.
43603         (minus_infty): Likewise.
43604         (qnan_value): Likewise.
43605         (max_value): Likewise.
43606         (min_value): Likewise.
43607         (min_subnorm_value): Likewise.
43608         (initialize): Do not initialize those variables dynamically.
43610 2013-05-03  Roland McGrath  <roland@hack.frob.com>
43612         * io/open.c (__open_2): Moved to ...
43613         * io/open_2.c: ... this new file.
43614         * io/open64.c (__open64_2): Moved to ...
43615         * io/open64_2.c: ... this new file.
43616         * io/openat.c (__openat_2): Moved to ...
43617         * io/openat_2.c: ... this new file.
43618         * io/openat64.c (__openat64_2): Moved to ...
43619         * io/openat64_2.c: ... this new file.
43620         * io/Makefile (routines): Add them.
43621         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
43622         * sysdeps/unix/sysv/linux/open_2.c: File removed.
43623         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
43624         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
43625         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
43626         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
43627         (__openat64): Add hidden_ver.
43628         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
43629         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
43631         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
43632         Separately conditionalize setting of GLRO(dl_sysinfo) so
43633         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
43634         as well, but the actual setting is only under [NEED_DL_SYSINFO].
43636 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43638         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
43639         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
43640         definition.
43641         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
43642         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43643         (_libc_vdso_platform_setup): Add __vdso_time initialization.
43644         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
43645         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
43647 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
43649         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
43650         test signgam value.
43652         * math/libm-test.inc (hypot_test): Do not use
43653         IGNORE_ZERO_INF_SIGN.
43655 2013-05-03  Andreas Jaeger  <aj@suse.de>
43657         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
43658         Linux 3.9.
43659         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
43660         (PF_MAX): Adjust for VSOCK change.
43662 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43666 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
43668         [BZ #15264]
43669         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
43670         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
43671         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
43673 2013-05-02  David S. Miller  <davem@davemloft.net>
43675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43677 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
43679         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
43681 2013-05-01  Roland McGrath  <roland@hack.frob.com>
43683         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
43685 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
43687         [BZ #14952]
43688         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
43689         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43690         Use __attribute__ ((__gnu_inline__)).
43691         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43692         Don't use __attribute__ ((__gnu_inline__)).
43694 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
43696         [BZ #15423]
43697         * math/s_catan.c (__catan): Handle small real or imaginary part of
43698         input specially to avoid spurious underflow.
43699         * math/s_catanf.c (__catanf): Likewise.
43700         * math/s_catanh.c (__catanh): Likewise.
43701         * math/s_catanhf.c (__catanhf): Likewise.
43702         * math/s_catanhl.c (__catanhl): Likewise.
43703         * math/s_catanl.c (__catanl): Likewise.
43704         * math/libm-test.inc (catan_test): Add more tests.
43705         (catanh_test): Likewise.
43706         * sysdeps/i386/fpu/libm-test-ulps: Update.
43707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43709 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43713 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
43715         [BZ #15416]
43716         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
43717         accurately for denominator in atan2.
43718         * math/s_catanf.c (__catanf): Likewise.
43719         * math/s_catanh.c (__catanh): Likewise.
43720         * math/s_catanhf.c (__catanhf): Likewise.
43721         * math/s_catanhl.c (__catanhl): Likewise.
43722         * math/s_catanl.c (__catanl): Likewise.
43723         * math/libm-test.inc (catan_test): Add more tests.
43724         (catanh_test): Likewise.
43725         * sysdeps/i386/fpu/libm-test-ulps: Update.
43726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43728 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43730         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
43732         * benchtests/Makefile (bench): Remove slow benchmarks.
43733         * benchtests/atan-inputs: Add slow benchmark inputs.
43734         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
43735         (BENCH_FUNC): Accept variant offset.
43736         (VARIANT): Define.
43737         * benchtests/bench-skeleton.c (main): Run benchmark for each
43738         variant.
43739         * benchtests/cos-inputs: Add slow benchmark inputs.
43740         * benchtests/exp-inputs: Likewise.
43741         * benchtests/pow-inputs: Likewise.
43742         * benchtests/sin-inputs: Likewise.
43743         * benchtests/slowatan-inputs: Remove.
43744         * benchtests/slowatan.c: Remove.
43745         * benchtests/slowcos-inputs: Remove.
43746         * benchtests/slowcos.c: Remove.
43747         * benchtests/slowexp-inputs: Remove.
43748         * benchtests/slowexp.c: Remove.
43749         * benchtests/slowpow-inputs: Remove.
43750         * benchtests/slowpow.c: Remove.
43751         * benchtests/slowsin-inputs: Remove.
43752         * benchtests/slowsin.c: Remove.
43753         * benchtests/slowtan-inputs: Remove.
43754         * benchtests/slowtan.c: Remove.
43755         * benchtests/tan-inputs: Add slow benchmark inputs.
43756         * scripts/bench.pl: Parse comments and directives.
43758         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
43759         in CPPFLAGS.
43760         ($(objpfx)bench-%.c): Remove *-ITER.
43761         * benchtests/bench-modf.c: Remove definition of ITER.
43762         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
43763         (main): Loop for DURATION seconds instead of fixed number of
43764         iterations.
43765         * scripts/bench.pl: Don't expect iterations in parameters.
43767 2013-04-29  Roland McGrath  <roland@hack.frob.com>
43769         * io/fchdir.c (__fchdir): Renamed from fchdir.
43770         (fchdir): Define as weak alias.
43772 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43774         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
43775         (ERRNO_EDOM): Likewise.
43776         (ERRNO_ERANGE): Likewise.
43777         (noErrnoTests): New variable.
43778         (init_max_error): Set errno to 0.
43779         (test_single_errno): New function.
43780         (test_errno): Likewise.
43781         (check_float_internal): Call test_errno.  Set errno to 0.
43782         (check_complex): Refer to errno tests in comment.
43783         (check_int): Call test_errno.  Set errno to 0.
43784         (check_long): Likewise.
43785         (check_bool): Likewise.
43786         (check_longlong): Likewise.
43787         (cos_test): Use ERRNO_* flags for errno tests instead of
43788         check_int.
43789         (expm1_test): Likewise.
43790         (fmod_test): Likewise.
43791         (ilogb_test): Likewise.
43792         (lgamma_test): Likewise.
43793         (pow_test): Likewise.
43794         (remainder_test): Likewise.
43795         (sin_test): Likewise.
43796         (tan_test): Likewise.
43797         (yn_test): Likewise.
43798         (initialize): Set errno to 0.
43799         (main): Print number of errno tests.
43800         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
43802 2013-04-29  Andreas Jaeger  <aj@suse.de>
43804         [BZ #15084]
43805         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
43806         and RES_USEVC.
43808         [BZ #15085]
43809         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
43810         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
43811         unimplemented.
43813         [BZ #15380]
43814         * stdlib/random.c (__initstate): Return NULL if
43815         __initstate fails.
43817         [BZ #15086]
43818         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
43819         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
43820         RES_SNGLKUPREOP.
43822 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43826 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43828         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
43829         of individual tests.
43830         (casin_test): Likewise.
43831         (casinh_test): Likewise.
43833 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
43835         [BZ #15409]
43836         * math/s_catan.c (__catan): Handle arguments with large real or
43837         imaginary part separately without squaring.
43838         * math/s_catanf.c (__catanf): Likewise.
43839         * math/s_catanh.c (__catanh): Likewise.
43840         * math/s_catanhf.c (__catanhf): Likewise.
43841         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43842         and redefine.
43843         (__catanhl): Handle arguments with large real or imaginary part
43844         separately without squaring.
43845         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43846         and redefine.
43847         (__catanl): Handle arguments with large real or imaginary part
43848         separately without squaring.
43849         * math/libm-test.inc (catan_test): Add more tests.
43850         (catanh_test): Likewise.
43851         * sysdeps/i386/fpu/libm-test-ulps: Update.
43852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43854 2013-04-27  Andreas Jaeger  <aj@suse.de>
43856         [BZ #15007]
43857         * stdlib/stdlib.h: Update guards for qecvt.
43858         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
43859         <stdlib.h>.
43861 2013-04-27  Allan McRae  <allan@archlinux.org>
43863         * sysdeps/i386/fpu/libm-test-ulps: Update.
43865 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
43867         [BZ #15406]
43868         * math/s_catan.c: Include <float.h>.
43869         (__catan): Ensure underflow exception occurs for underflowed
43870         result.
43871         * math/s_catanf.c: Include <float.h>.
43872         (__catanf): Ensure underflow exception occurs for underflowed
43873         result.
43874         * math/s_catanh.c: Include <float.h>.
43875         (__catanh): Ensure underflow exception occurs for underflowed
43876         result.
43877         * math/s_catanhf.c: Include <float.h>.
43878         (__catanhf): Ensure underflow exception occurs for underflowed
43879         result.
43880         * math/s_catanhl.c: Include <float.h>.
43881         (__catanhl): Ensure underflow exception occurs for underflowed
43882         result.
43883         * math/s_catanl.c: Include <float.h>.
43884         (__catanl): Ensure underflow exception occurs for underflowed
43885         result.
43886         * math/libm-test.inc (catan_test): Add more tests.
43887         (catanh_test): Likewise.
43889         [BZ #15405]
43890         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
43891         underflowed result.
43892         * math/s_ccoshf.c (__ccoshf): Likewise.
43893         * math/s_ccoshl.c (__ccoshl): Likewise.
43894         * math/s_csin.c (__csin): Likewise.
43895         * math/s_csinf.c (__csinf): Likewise.
43896         * math/s_csinh.c (__csinh): Likewise.
43897         * math/s_csinhf.c (__csinhf): Likewise.
43898         * math/s_csinhl.c (__csinhl): Likewise.
43899         * math/s_csinl.c (__csinl): Likewise.
43900         * math/libm-test.inc (ccos_test): Add more tests.
43901         (ccosh_test): Likewise.
43902         (csin_test): Likewise.
43903         (csinh_test): Likewise.
43905 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43907         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
43908         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
43909         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
43910         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
43911         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
43912         powerpc/power5+/fpu folders.
43913         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
43916 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43918         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43920 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
43922         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
43923         additions to variable.
43924         [$(config-machine) = x86_64] (modules-names): Likewise.
43925         ($(objpfx)tst-audit3): Remove dependency.
43926         ($(objpfx)tst-audit3.out): Likewise.
43927         ($(objpfx)tst-audit4): Likewise.
43928         ($(objpfx)tst-audit4.out): Likewise.
43929         ($(objpfx)tst-audit5): Likewise.
43930         ($(objpfx)tst-audit5.out): Likewise.
43931         ($(objpfx)tst-audit6): Likewise.
43932         ($(objpfx)tst-audit6.out): Likewise.
43933         ($(objpfx)tst-audit7): Likewise.
43934         ($(objpfx)tst-audit7.out): Likewise.
43935         (tst-audit3-ENV): Remove variable.
43936         (tst-audit4-ENV): Likewise.
43937         (tst-audit5-ENV): Likewise.
43938         (tst-audit6-ENV): Likewise.
43939         (tst-audit7-ENV): Likewise.
43940         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
43941         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
43942         addition to variable.
43943         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
43944         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
43945         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
43946         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
43947         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
43948         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
43949         tst-audit3, tst-audit4 and tst-audit5.
43950         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
43951         tst-audit6 and tst-audit7.
43952         [$(subdir) = elf] (modules-names): Add audit modules for those
43953         tests.
43954         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
43955         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
43956         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
43957         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
43958         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
43959         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
43960         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
43961         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
43962         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
43963         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
43964         [$(subdir) = elf] (tst-audit3-ENV): New variable.
43965         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
43966         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
43967         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
43968         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
43969         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
43970         Likewise.
43971         [$(subdir) = elf && $(config-cflags-avx) = yes]
43972         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
43973         [$(subdir) = elf && $(config-cflags-avx) = yes]
43974         (CFLAGS-tst-auditmod4a.c): Likewise.
43975         [$(subdir) = elf && $(config-cflags-avx) = yes]
43976         (CFLAGS-tst-auditmod4b.c): Likewise.
43977         [$(subdir) = elf && $(config-cflags-avx) = yes]
43978         (CFLAGS-tst-auditmod6b.c): Likewise.
43979         [$(subdir) = elf && $(config-cflags-avx) = yes]
43980         (CFLAGS-tst-auditmod6c.c): Likewise.
43981         [$(subdir) = elf && $(config-cflags-avx) = yes]
43982         (CFLAGS-tst-auditmod7b.c): Likewise.
43983         * elf/tst-audit3.c: Move to ...
43984         * sysdeps/x86_64/tst-audit3.c: ... here.
43985         * elf/tst-audit4.c: Move to ...
43986         * sysdeps/x86_64/tst-audit4.c: ... here.
43987         * elf/tst-audit5.c: Move to ...
43988         * sysdeps/x86_64/tst-audit5.c: ... here.
43989         * elf/tst-audit6.c: Move to ...
43990         * sysdeps/x86_64/tst-audit6.c: ... here.
43991         * elf/tst-audit7.c: Move to ...
43992         * sysdeps/x86_64/tst-audit7.c: ... here.
43993         * elf/tst-auditmod3a.c: Move to ...
43994         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
43995         * elf/tst-auditmod3b.c: Move to ...
43996         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
43997         * elf/tst-auditmod4a.c: Move to ...
43998         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
43999         * elf/tst-auditmod4b.c: Move to ...
44000         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
44001         * elf/tst-auditmod5a.c: Move to ...
44002         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
44003         * elf/tst-auditmod5b.c: Move to ...
44004         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
44005         * elf/tst-auditmod6a.c: Move to ...
44006         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
44007         * elf/tst-auditmod6b.c: Move to ...
44008         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
44009         * elf/tst-auditmod6c.c: Move to ...
44010         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
44011         * elf/tst-auditmod7a.c: Move to ...
44012         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
44013         * elf/tst-auditmod7b.c: Move to ...
44014         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
44016 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
44018         [BZ #15366]
44019         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
44020         define unconditionally.
44021         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
44022         define unconditionally.
44023         (INT8_C, INT16_C, etc.): Likewise.
44025 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
44027         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
44028         __ehdr_start with hidden visibility.
44030         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
44032 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
44034         * math/libm-test.inc (cos_test): Use accurate hex constants.
44035         (sincost_test): Likewise.
44037 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
44039         * math/libm-test.inc (catan_test): Add more tests.
44040         (catanh_test): Likewise.
44042         * math/s_catanf.c (__catanf): Use suffixed floating-point
44043         constants.
44044         * math/s_catanhf.c (__catanhf): Likewise.
44045         * math/s_catanhl.c (__catanhl): Likewise.
44046         * math/s_catanl.c (__catanl): Likewise.
44048         [BZ #15394]
44049         * math/s_catan.c (__catan): Calculate imaginary part of result
44050         with log1p not log unless computing log of number close to 0.
44051         * math/s_catanf.c (__catanf): Likewise.
44052         * math/s_catanl.c (__catanl): Likewise.
44053         * math/s_catanh.c (__catanh): Calculate real part of result with
44054         log1p not log unless computing log of number close to 0.
44055         * math/s_catanhf.c (__catanhf): Likewise.
44056         * math/s_catanhl.c (__catanhl): Likewise.
44057         * math/libm-test.inc (catan_test): Add more tests.
44058         (catanh_test): Likewise.
44059         * sysdeps/i386/fpu/libm-test-ulps: Update.
44060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44062 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44064         * benchtests/Makefile: Mention files in which fast and slow
44065         paths of math functions are implemented.
44067 2013-04-23  Roland McGrath  <roland@hack.frob.com>
44069         * sysdeps/posix/timespec_get.c: New file.
44071 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44073         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
44074         POWER.
44075         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
44076         for POWER.
44077         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
44078         powerpc/power5/fpu folders.
44079         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
44080         * benchtests/Makefile: Add modf testcase.
44081         * benchtests/bench-modf.c: New file: Benchmark test for mo
44083 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44085         [BZ #14888]
44086         * time/Makefile (tests): Add tst-strptime-whitespace.
44087         * time/strptime_l.c (get_number): Use ISSPACE.
44088         (__strptime_internal): Likewise.
44089         * time/tst-strptime-whitespace.c: New test case.
44091 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
44093         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
44094         member.
44095         (_nss_files_init): Set it here.
44097 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
44099         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
44100         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
44101         unsigned.
44103 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
44105         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
44107 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44109         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
44110         size just once.
44112 2013-04-21  David S. Miller  <davem@davemloft.net>
44114         * po/ru.po: Update Russion translation from translation project.
44116 2013-04-17  Adam Conrad  <adconrad@0c3.net>
44118         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
44119         and setfsgid.
44121 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
44123         * configure.in: Remove i386 configure warning. Remove i386 case.
44124         * configure: Regenerate.
44125         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
44126         Add example to error message.
44127         * sysdeps/i386/configure: Regenerate.
44129 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44131         * benchtests/Makefile (bench): Add cos, tan, slowcos and
44132         slowtan.
44133         * benchtests/cos-inputs: New file.
44134         * benchtests/slowcos-inputs: New file.
44135         * benchtests/slowcos.c: New file.
44136         * benchtests/slowtan-inputs: New file.
44137         * benchtests/slowtan.c: New file.
44138         * benchtests/tan-inputs: New file.
44140 2013-04-16  Roland McGrath  <roland@hack.frob.com>
44142         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
44143         considered kosher.
44145 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44147         * benchtests/Makefile: Include cppflags-iterator.mk to add
44148         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
44150         * Makefile.in (bench-clean): New target.
44151         * benchtests/Makefile (bench-clean): Likewise.
44153 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
44155         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
44157 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
44159         * stdio-common/tstdiomisc.c: Fix coding-style violation.
44161 2013-04-15  Andreas Schwab  <schwab@suse.de>
44163         * nscd/grpcache.c (cache_addgr): Properly check for short write.
44164         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44165         * nscd/pwdcache.c (cache_addpw): Likewise.
44166         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
44167         more than recsize.
44169 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44171         * benchtests/Makefile (bench): Write all output to
44172         bench-out.tmp together.
44174 2013-04-15  Andreas Schwab  <schwab@suse.de>
44176         * nscd/nscd.c (main): Don't fork again after closing files.
44178 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44180         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
44182         * benchtests/Rules (bench-deps): Collect dependencies into a
44183         single variable.  Add Makefile to dependencies.
44184         ($(objpfx)bench-%.c): Depend on bench-deps.
44186 2013-04-12  Roland McGrath  <roland@hack.frob.com>
44187             Xavier Roche  <roche+kml2@exalead.com>
44189         [BZ #15361]
44190         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
44191         just that it's a file descriptor.
44192         * manual/llio.texi (Synchronizing AIO Operations): Update description
44193         for EBADF error from aio_fsync.
44195 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44197         * Rules (bench): Move target definition...
44198         * benchtests/Makefile: ... here.
44200 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
44202         * math/libm-test.inc (cos_test): Fix PI/2 test.
44203         (sincos_test): Likewise.
44204         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44205         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
44207 2013-04-11  Andreas Schwab  <schwab@suse.de>
44209         [BZ #13988]
44210         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
44211         accept exponent character only when digits were seen.
44212         * stdio-common/Makefile (tests): Add bug26.
44213         * stdio-common/bug26.c: New file.
44215         [BZ #14293]
44216         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
44217         non-freeable.
44219 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44221         * Makeconfig (rtld-prefix): Define built linker prefix.
44222         * Rules (run-bench): Use it.
44223         * math/Makefile (run-regen-ulps): Likewise.
44225         * Rules (bench): Remove eval.
44227 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44228             Roland McGrath  <roland@hack.frob.com>
44229             Ondrej Bilka  <neleai@seznam.cz>
44231         [BZ #15346]
44232         * time/getdate.c: Include ctype.h and alloca.h.
44233         (__getdate_r): Trim leading and trailing spaces of input.
44234         * time/tst-getdate.c (tests): Add tests with leading and
44235         trailing spaces.
44237 2013-04-08  Roland McGrath  <roland@hack.frob.com>
44239         [BZ #14280]
44240         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
44241         when computing value.
44243 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44245         * math/README.libm-test (How can I generate "libm-test-ulps"?):
44246         Use testrun.sh to run libm tests.
44248         [BZ #15309]
44249         * elf/dl-open.c (dl_open_worker): memset all of seen array.
44251 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
44253         [BZ #15264]
44254         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
44256 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44258         * Makefile.in (regen-ulps): New target.
44259         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
44260         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
44261         [ifneq (no,$(PERL)] (regen-ulps): New target.
44262         [ifeq (no,$(PERL)] (regen-ulps): New target.
44263         * math/libm-test.inc (ulps_file_name): Define.
44264         (output_dir): New variable.
44265         (options): Add "output-dir" option.
44266         (parse_opt): Handle 'o' case.
44267         (main): If output_dir is non-NULL use it as a prefix
44268         otherwise use "".
44269         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
44271 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44273         [BZ #10060, #10062]
44274         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
44275         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
44276         fail configure if __sync_val_compare_and_swap is not inlined.
44277         * sysdeps/i386/configure: Regenerate.
44278         * configure.in: Build for i686 when configured for i386.
44279         * configure: Regenerate.
44280         * README: Remove i386 reference.
44282 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44284         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
44285         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44287 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44289         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
44290         (lmsnanval): New variables.
44291         (F): Add conversion tests.
44292         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
44293         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
44295         * stdio-common/tstdiomisc.c (F): Properly collect individual
44296         tests' results.
44298         [BZ #14686, #15336]
44299         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
44300         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
44301         Instead, use input NaN values or generate a qNaN by arithmetic
44302         operation.  Also fix bugs to comply with the standard.
44303         * math/libm-test.inc (remainder_test): Add more tests.
44305         [BZ #15335, #15342]
44306         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
44307         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
44308         input NaN values or generate a qNaN by arithmetic operation.
44310         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
44311         unreachable code.
44313         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
44314         definitions.
44316 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
44318         [BZ #14478]
44319         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
44320         underflowed result.
44321         * math/s_cexpf.c (__cexpf): Likewise.
44322         * math/s_cexpl.c (__cexpl): Likewise.
44323         * math/libm-test.inc (cexp_test): Add more tests.
44325 2013-04-03  Andreas Schwab  <schwab@suse.de>
44327         [BZ #15330]
44328         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
44329         order arrays from heap if bigger than alloca cutoff.
44331 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
44333         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
44334         (SNAN_TESTS_double): Refer to GCC PR56831.
44335         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
44336         GCC PR56828.
44338 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44340         * Rules (bench): Move bench.out after the run is complete.
44342         * Rules (bench): Echo currently running benchmark.
44344         * benchtests/Makefile (bench): Add atan and slowatan.
44345         * benchtests/atan-inputs: New file.
44346         * benchtests/slowatan-inputs: New file.
44347         * benchtests/slowatan.c: New file.
44349         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
44350         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
44351         its value.
44353         [BZ #15305]
44354         * sysdeps/unix/sysv/linux/kernel-features.h
44355         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
44356         __ASSUME_XFS_RESTRICTED_CHOWN.
44357         * sysdeps/unix/sysv/linux/pathconf.c
44358         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44359         Save and restore errno.
44361 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
44363         [BZ #15327]
44364         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
44365         arguments using __kernel_casinh.
44366         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
44367         arguments using __kernel_casinhf.
44368         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
44369         arguments using __kernel_casinhl.
44370         * math/libm-test.inc (cacosh_test): Add more tests.
44371         * sysdeps/i386/fpu/libm-test-ulps: Update.
44372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44374 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44376         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
44377         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
44379         * bench/Makefile (bench): Add sin and slowsin.
44380         * benchtests/sin-inputs: New file.
44381         * benchtests/slowsin-inputs: New file.
44382         * benchtests/slowsin.c: New file.
44384         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
44385         (bench): Add slowexp and slowpow.
44386         (exp-ITER): Increase iterations.
44387         (pow-ITER): Likewise.
44388         * benchtests/exp-inputs: Change input.
44389         * benchtests/pow-inputs: Likewise.
44390         * benchtests/slowexp-inputs: New file.
44391         * benchtests/slowexp.c: New file.
44392         * benchtests/slowpow-inputs: New file.
44393         * benchtests/slowpow.c: New file.
44395 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44397         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
44398         instructions.
44399         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44400         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
44401         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44402         * benchtests/Makefile: Add rint benchtest.
44403         * benchtests/rint-inputs: Input for rint benchtest.
44405 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44407         * Versions.def (libm): Add GLIBC_2.18.
44408         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
44409         hidden libm prototypes.
44410         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
44411         * math/Makefile (libm-calls): Add s_issignaling.
44412         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
44413         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
44414         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
44415         declaration.
44416         * math/math.h [__USE_GNU] (issignaling): New macro.
44417         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
44418         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
44419         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
44420         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
44421         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
44422         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
44423         * manual/arith.texi (issignaling): New section.
44424         * manual/libm-err-tab.pl (@all_functions): Update comment.
44425         * math/gen-libm-test.pl (parse_args): Apply special handling for
44426         issignaling.
44427         * math/libm-test.inc (print_float, issignaling_test): New
44428         functions.
44429         (check_float_internal): Add issignaling checks.
44430         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
44431         default definition.
44432         * sysdeps/powerpc/math-tests.h: New file.
44433         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
44434         tests.
44435         * math/test-snan.c (TEST_FUNC): Likewise.
44437 2013-03-30  David S. Miller  <davem@davemloft.net>
44439         * po/de.po: Update from translation team.
44441 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
44443         [BZ #10357]
44444         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44445         imaginary part less than 1.0 and real part less than 0.5
44446         specially.
44447         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44448         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44449         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
44450         (cacos_test): Add more tests.
44451         (casin_test): Likewise.
44452         (casinh_test): Likewise.
44453         * sysdeps/i386/fpu/libm-test-ulps: Update.
44454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44456 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44458         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
44459         ONE with its value.
44461         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
44462         (__pow_mp): Replace ONE and MONE with their values.
44463         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44464         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
44465         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44466         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
44467         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44468         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44470         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
44472         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
44473         (__pow_mp): Replace ZERO and MZERO with their values.
44474         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44475         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44476         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44477         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44478         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44479         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
44480         (__sqr): Likewise.
44482         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
44484         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
44486 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44488         * include/stdlib.h [!SHARED] (__call_tls_dtors):
44489         Declare with __attribute__ ((weak)).
44490         * stdlib/exit.c (__libc_atexit) [!SHARED]:
44491         Call __call_tls_dtors only if it's not NULL.
44493 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44495         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
44496         didn't do it already, then set _dl_phdr and _dl_phnum based on the
44497         magic __ehdr_start linker symbol if it's defined.
44498         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
44499         them up here if it was already done.
44501         * elf/dl-support.c (_dl_phdr): Make pointer to const.
44502         (_dl_aux_init): Use const in cast when setting it.
44503         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
44504         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
44505         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
44507         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
44508         Declare them here.
44509         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
44510         * csu/libc-tls.c: Nor here.
44511         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
44513         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
44514         (__libc_message): Never call vsyslog.
44516 2013-03-28  Alan Modra  <amodra@gmail.com>
44518         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
44519         Define as empty.
44520         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
44521         Likewise.
44523 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44525         [BZ #15214]
44526         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
44527         underflow.
44528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44530 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44532         [BZ #15304]
44533         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44534         Don't add gid passed as argument.
44536         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
44538 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
44540         [BZ #15307]
44541         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44542         imaginary part between 1.0 and 1.5 and real part less than 0.5
44543         specially.
44544         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44545         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44546         * math/libm-test.inc (cacos_test): Add more tests.
44547         (casin_test): Likewise.
44548         (casinh_test): Likewise.
44549         * sysdeps/i386/fpu/libm-test-ulps: Update.
44550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44552 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44554         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
44555         constants.
44556         (norm): Likewise.
44557         (denorm): Likewise.
44558         (__dbl_mp): Likewise.
44559         (add_magnitudes): Likewise.
44560         (sub_magnitudes): Likewise.
44561         (__add): Likewise.
44562         (__sub): Likewise.
44563         (__mul): Likewise.
44564         (__sqr): Likewise.
44565         (__inv): Likewise.
44566         (__dvd): Likewise.
44568         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
44569         commented code.
44570         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
44571         (__dubcos): Likewise.
44572         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
44573         (__ieee754_acos): Likewise.
44574         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44575         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
44576         (__exp1): Likewise.
44577         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44578         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44579         (log1): Likewise.
44580         (my_log2): Likewise.
44581         (checkint): Likewise.
44582         * sysdeps/ieee754/dbl-64/e_remainder.c
44583         (__ieee754_remainder): Likewise.
44584         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44585         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
44586         (bsloww): Likewise.
44587         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44589         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44590         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
44591         MANTISSA_STORE_T to store computations on mantissa.  Use
44592         macros for rounding and division.
44593         (denorm): Likewise.
44594         (__dbl_mp): Likewise.
44595         (add_magnitudes): Likewise.
44596         (sub_magnitudes): Likewise.
44597         (__mul): Likewise.
44598         (__sqr): Likewise.
44599         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44600         powers of two in terms of TWOPOW macro.
44601         (mp_no): Make type of mantissa as MANTISSA_T.
44602         [!RADIXI]: Define RADIXI.
44603         [!TWO52]: Define TWO52.
44604         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44606 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44608         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
44609         llroundl symbol when building for PPC32.
44611 2013-03-24  Mark H Weaver  <mhw@netris.org>
44613         * manual/arith.texi (Normalization Functions): Fix prototypes for
44614         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
44616 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44618         [BZ #13889]
44619         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
44620         high value to check if expl overflow.
44621         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
44622         to check for underflow and overflow.
44623         * math/libm-test.inc: Add exp test.
44625 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
44627         [BZ #11120]
44628         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
44629         with NOT_IN_libc.
44631 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44633         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
44634         symbol.
44636 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44638         * math/gen-libm-test.pl (parse_args, special_functions): Properly
44639         wrap blocks consisting of several statements.
44641         * sysdeps/generic/math-tests.h: New file.
44642         * sysdeps/i386/fpu/math-tests.h: Likewise.
44643         * math/test-snan.c: Include it.
44644         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
44646 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44648         [BZ #15285]
44649         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
44650         (__ieee754_j0l): Do not improve calculations using cos of twice
44651         input for inputs above LDBL_MAX / 2.0L.
44652         (__ieee754_y0l): Likewise.
44653         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
44654         (__ieee754_j1l): Do not improve calculations using cos of twice
44655         input for inputs above LDBL_MAX / 2.0L.
44656         (__ieee754_y1l): Likewise.
44657         * math/libm-test.inc (j0_test): Add another test.
44658         (j1_test): Likewise.
44659         (y0_test): Likewise.
44660         (y1_test): Likewise.
44661         * sysdeps/i386/fpu/libm-test-ulps: Update.
44663 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44665         * Rules ($(objpfx)bench-%.c): Include code from a C source
44666         file.
44668 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44670         [BZ #15287]
44671         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44672         imaginary part 1.0 and real part less than 0.5 specially.
44673         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44674         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44675         * math/libm-test.inc (cacos_test): Add more tests.
44676         (casin_test): Likewise.
44677         (casinh_test): Likewise.
44678         * sysdeps/i386/fpu/libm-test-ulps: Update.
44679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44681 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44683         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
44684         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
44686 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
44688         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
44689         * config.make.in (config-cflags-sse4): Remove variable.
44690         (config-cflags-avx): Likewise.
44691         (config-cflags-sse2avx): Likewise.
44692         (config-cflags-novzeroupper): Likewise.
44693         (config-asflags-i686): Likewise.
44694         (have-mfma4): Likewise.
44695         (have-as-vis3): Likewise.
44696         (MIG): Likewise.
44697         * configure.in (MIG): Do not AC_SUBST.
44698         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
44699         (libc_cv_cc_sse4): Do not AC_SUBST.
44700         (libc_cv_cc_avx): Likewise.
44701         (libc_cv_cc_sse2avx): Likewise.
44702         (libc_cv_cc_novzeroupper): Likewise.
44703         (libc_cv_cc_fma4): Likewise.
44704         (libc_cv_as_i686): Likewise.
44705         (libc_cv_sparc_as_vis3): Likewise.
44706         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
44707         LIBC_CONFIG_VAR.
44708         (config-asflags-i686): Likewise.
44709         (config-cflags-avx): Likewise.
44710         (config-cflags-sse2avx): Likewise.
44711         (have-mfma4): Likewise.
44712         (config-cflags-novzeroupper): Likewise.
44713         * sysdeps/mach/configure.in (MIG): Likewise.
44714         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
44715         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
44716         LIBC_CONFIG_VAR.
44717         (config-cflags-avx): Likewise.
44718         (config-cflags-sse2avx): Likewise.
44719         (have-mfma4): Likewise.
44720         (config-cflags-novzeroupper): Likewise.
44721         * configure: Regenerated.
44722         * sysdeps/i386/configure: Likewise.
44723         * sysdeps/mach/configure: Likewise.
44724         * sysdeps/sparc/configure: Likewise.
44725         * sysdeps/x86_64/configure: Likewise.
44727 2013-03-20  Roland McGrath  <roland@hack.frob.com>
44729         [BZ #14812]
44730         * locale/programs/localedef.c (options): Put N_ translation marker
44731         on argument names, not just descriptions.
44733 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44735         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
44737 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
44739         [BZ #14176]
44740         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
44742 2013-03-19  Roland McGrath  <roland@hack.frob.com>
44744         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
44745         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
44746         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
44747         [!BEFORE_ABORT] (before_abort): New function.
44748         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
44749         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
44750         (writev_for_fatal): New function.
44751         (WRITEV_FOR_FATAL): New macro; call that.
44752         (backtrace_and_maps): New function.
44753         (BEFORE_ABORT): New macro; call that.
44754         (struct str_list): Type removed.
44755         (__libc_message, __libc_fatal): Functions removed.
44756         Include <sysdeps/posix/libc_fatal.c> instead.
44758 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
44760         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
44761         constants.
44762         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
44763         double constants.
44765 2013-03-19  Andreas Schwab  <schwab@suse.de>
44767         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
44768         * sysdeps/gnu/configure: Regenerate.
44770         * configure.in: Substitute libc_cv_rtlddir.
44771         * configure: Regenerate.
44772         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
44773         * Makeconfig (rtlddir, inst_rtlddir): New variables.
44774         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
44775         * elf/Makefile (install-others, CFLAGS-interp.c)
44776         (ldso_install, common-ldd-rewrite): Likewise.
44777         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
44778         $(inst_slibdir)/$(rtld-installed-name).
44779         * scripts/rellns-sh: Add -p option.
44780         * Makerules (make-shlib-link): Use rellns-sh to get relative name
44781         for source.
44783 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44785         * manual/nptl.texi: Renamed to ...
44786         * manual/threads.texi: ... this.
44787         * manual/Makefile (chapters): Update.
44789 2013-03-18  Roland McGrath  <roland@hack.frob.com>
44791         [BZ #14812]
44792         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
44793         on argument names, not just descriptions.
44794         * malloc/memusagestat.c (options): Likewise.
44795         * nss/getent.c (options): Likewise.
44797 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
44799         [BZ #14812]
44800         * iconv/iconv_prog.c (options): Put N_ translation marker
44801         on argument names, not just descriptions.
44802         * iconv/iconvconfig.c (options): Likewise.
44804 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
44806         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
44807         implementation which is faster on all x86_64 architectures.
44808         Tested on AMD, Intel Nehalem, SNB, IVB.
44809         * sysdeps/x86_64/strnlen.S: Likewise.
44811         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44812         Remove all multiarch strlen and strnlen versions.
44813         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44814         Remove strlen and strnlen related parts.
44816         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
44817         Inline strlen part.
44818         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
44820         * sysdeps/x86_64/multiarch/strlen.S: Remove.
44821         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
44822         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
44823         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
44824         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44825         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
44827 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
44829         * manual/memory.texi (Malloc Tunable Parameters):
44830         Sort parameters alphabetically. Add comments for missing entries.
44832 2013-03-17  David S. Miller  <davem@davemloft.net>
44834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44836 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
44838         [BZ #15283]
44839         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
44840         for arguments at most half maximum finite value.
44841         * math/libm-test.inc (j0_test): Add more tests.
44842         (j1_test): Likewise.
44843         (y0_test): Likewise.
44844         (y1_test): Likewise.
44845         * sysdeps/i386/fpu/libm-test-ulps: Update.
44846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44848         [BZ #14155]
44849         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
44850         1 / x and functions P and Q for arguments above 0x1p256L.
44851         (__ieee754_y0l): Likewise.
44852         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
44853         (__ieee754_y1l): Likewise.
44854         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
44855         (j1_test): Likewise.
44856         (y0_test): Likewise.
44857         (y1_test): Likewise.
44859 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
44861         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
44862         variable.
44864 2013-03-15  Roland McGrath  <roland@hack.frob.com>
44866         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
44867         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
44868         zero since it's initialized to EXEC_PAGESIZE.
44870         * sysdeps/unix/sysv/linux/ldsodefs.h
44871         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
44872         * sysdeps/generic/ldsodefs.h: ... here.
44874 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
44876         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
44878         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
44879         math/test-snan.c.
44880         * math/test-snan.c: Renamed from
44881         sysdeps/powerpc/fpu/test-powerpc-snan.c.
44882         * math/Makefile (tests): Add test-snan.
44883         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
44884         test-powerpc-snan.
44886         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
44887         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
44888         functions.
44889         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
44890         __builtin_nan family of functions.
44891         * math/libm-test.inc (initialize): Initialize qnan_value with
44892         __builtin_nan family of functions.
44893         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
44894         Remove variables.
44895         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
44896         Remove functions.
44897         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
44898         storage class.  Initialize qNaN_var and sNaN_var with
44899         __builtin_nan and __builtin_nans families of functions,
44900         respectively.
44902         * math/libm-test.inc (acosh_test): Also test with qNaN input.
44903         (sqrt_test): Remove duplicate test with qNaN input.
44904         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
44905         (round_test, signbit_test, significand_test): Note missing +/-Inf
44906         as well as qNaN tests.
44908         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
44909         qNaN_var.  Fix a few strings, too.
44910         * math/libm-test.inc (nan_value): Rename to qnan_value.
44911         * math/gen-libm-test.pl (%beautify): Adjust to that.
44912         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
44913         * math/test-misc.c (main): Likewise.
44914         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
44915         to __qnan_bytes, and __qnan_union, respectively.
44916         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
44917         Likewise.
44918         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
44919         and lqnanval, respectively.
44920         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
44921         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
44922         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
44923         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
44925         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
44926         * math/test-misc.c (main) [__x86_64__]: Enable test for long
44927         doubles.
44929         * math/test-misc.c (main): Fix copy'n'pastos.
44930         * misc/tst-efgcvt.c (special): Likewise.
44932         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
44933         Remove declarations.
44935 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44937         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
44938         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
44939         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
44940         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
44942 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44944         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
44945         macro to return vdso values correctly in IFUNC implementations.
44946         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44947         Optimization by using IFUNC.
44949 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44950             Richard Henderson  <rth@redhat.com>
44951             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44953         * Makefile.in (bench): New target.
44954         * NEWS: Mention the benchmark framework.
44955         * Rules (bench): Likewise.
44956         (binaries-bench): Generate binaries for functions to
44957         benchmark.
44958         * benchtests/Makefile: New makefile for benchmark tests.
44959         * benchtests/bench-skeleton.c: New skeleton file for benchmark
44960         programs.
44961         * benchtests/exp-inputs: New input file for EXP function.
44962         * benchtests/pow-inputs: New input file for POW function.
44963         * scripts/bench.pl: New script to generate source files for
44964         benchmark programs.
44966 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44968         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44969         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
44970         computations on mantissa.  Use macros for rounding and
44971         division.
44972         (denorm): Likewise.
44973         (__dbl_mp): Likewise.
44974         (add_magnitudes): Likewise.
44975         (sub_magnitudes): Likewise.
44976         (__mul): Likewise.
44977         (__sqr): Likewise.
44978         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44979         powers of two in terms of TWOPOW macro.
44980         (mp_no): Make type of mantissa as MANTISSA_T.
44981         [!RADIXI]: Define RADIXI.
44982         [!TWO52]: Define TWO52.
44983         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44985         * manual/nptl.texi (cindex): Modify threads to pthreads.
44987 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
44989         * sysdeps/x86_64/preconfigure: Regenerated.
44991 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
44993         [BZ #14155]
44994         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
44995         0x1p28 and above.
44996         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
44997         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
44998         0x1p28 and above.
44999         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
45000         * math/libm-test.inc (j0_test): Do not allow one spurious
45001         underflow exception.
45002         (y1_test): Likewise.
45004 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45006         * manual/Makefile (chapters): Add nptl.
45007         * manual/debug.texi (Debugging Support): Add link to Threads
45008         chapter.
45009         * manual/nptl.texi: New file.
45011         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
45013 2013-03-14  Petr Baudis  <pasky@ucw.cz>
45015         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
45016         for non-NULL pointer before the memory validity test. Pointed
45017         out by Holger Brunck <holger.brunck@keymile.com>.
45019 2013-03-13  Andreas Schwab  <schwab@suse.de>
45021         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
45022         instead of .os.
45024 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
45026         * timezone/zic.c: Update from tzcode 2013b.
45028 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
45030         * manual/install.texi (Configuring and compiling):
45031         Mention i686 and i586.
45032         * INSTALL: Regenerate.
45034 2013-03-12  Roland McGrath  <roland@hack.frob.com>
45036         * sysdeps/init_array/elf-init.c: New file.
45037         * csu/elf-init.c
45038         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
45039         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
45041         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
45042         __gmon_start__ as global, but as static with a .preinit_array pointer.
45043         * sysdeps/init_array/gmon-start.c: New file.  Use that.
45044         * sysdeps/init_array/crti.S: New file, empty except for comments.
45045         * sysdeps/init_array/crtn.S: Likewise.
45047 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
45049         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
45050         definining bcopy.
45051         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45052         Remove Prefer_SSE_for_memop.
45053         * sysdeps/x86_64/multiarch/init-arch.h: Remove
45054         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
45055         HAS_PREFER_SSE_FOR_MEMOP.
45056         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
45057         memset-x86-64.
45058         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45059         Remove bzero, memset ifunc support.
45060         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
45061         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
45062         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45063         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45065 2013-03-11  Andreas Schwab  <schwab@suse.de>
45067         [BZ #15234]
45068         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
45069         by SHLIB_COMPAT.
45070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
45071         (GLIBC_2.16): Remove pthread_atfork.
45073 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
45075         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
45076         (ptestcases.h): Likewise.
45078 2013-03-08  Roland McGrath  <roland@hack.frob.com>
45080         * Makeconfig ($(common-objpfx)config.status): Depend on
45081         sysdeps/*/preconfigure{,.in} too.
45083 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
45085         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
45086         (__free_hook): Use void * instead of __malloc_ptr_t.
45087         (__malloc_hook): Likewise.
45088         (__realloc_hook): Likewise.
45089         (__memalign_hook): Likewise.
45090         (__after_morecore_hook): Likewise.
45091         * malloc/arena.c (save_malloc_hook): Likewise.
45092         (save_free_hook): Likewise.
45093         * malloc/hooks.c (malloc_hook_ini): Likewise.
45094         (realloc_hook_ini): Likewise.
45095         (memalign_hook_ini): Likewise.
45096         * malloc/malloc.c (malloc_hook_ini): Likewise.
45097         (realloc_hook_ini): Likewise.
45098         (memalign_hook_ini): Likewise.
45099         (__free_hook): Likewise.
45100         (__malloc_hook): Likewise.
45101         (__realloc_hook): Likewise.
45102         (__memalign_hook): Likewise.
45103         (__libc_malloc): Likewise.
45104         (__libc_free): Likewise.
45105         (__libc_realloc): Likewise.
45106         (__libc_memalign): Likewise.
45107         (__libc_valloc): Likewise.
45108         (__libc_pvalloc): Likewise.
45109         (__libc_calloc): Likewise.
45110         (__posix_memalign): Likewise.
45111         * malloc/morecore.c (__sbrk): Likewise.
45112         (__default_morecore): Likewise.
45114         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
45116         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
45117         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
45118         __malloc_ptrdiff_t.
45120         * malloc/malloc.h (__malloc_size_t): Remove macro.
45121         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
45122         __malloc_size_t.
45123         (old_memalign_hook): Likewise.
45124         (old_realloc_hook): Likewise.
45125         (struct hdr): Likewise.
45126         (flood): Likewise.
45127         (mallochook): Likewise.
45128         (memalignhook): Likewise.
45129         (reallochook): Likewise.
45130         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
45131         (tr_old_realloc_hook): Likewise.
45132         (tr_old_memalign_hook): Likewise.
45133         (tr_mallochook): Likewise.
45134         (tr_reallochook): Likewise.
45135         (tr_memalignhook): Likewise.
45137 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45139         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
45140         default_ldbl_pack and using as default implementation.
45141         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
45142         implementation.
45143         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
45144         redundant definition.
45145         (ldbl_insert_mantissa): Likewise.
45146         (ldbl_canonicalize): Likewise.
45147         (ldbl_nearbyint): Likewise.
45148         (ldbl_pack): Rename to ldbl_pack_ppc.
45149         (ldbl_unpack): Rename to ldbl_unpack_ppc.
45150         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
45151         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
45153 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45155         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
45156         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
45157         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
45158         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
45159         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
45160         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
45161         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
45162         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
45164 2013-03-07  Andreas Jaeger  <aj@suse.de>
45166         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45167         bits/mman-linux.h.
45169 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45171         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
45172         Include mpa.h and declare __MPEXP.
45173         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
45174         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45175         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45176         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
45177         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45178         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45179         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
45181         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
45182         (__slowpow): Use long double EXPL and LOGL functions to
45183         compute POW.
45184         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45185         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45186         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
45187         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45188         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45189         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
45191         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
45192         intermediate variable to calculate exponent.
45193         (__sqr): Likewise.
45194         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45195         Likewise.
45196         (__sqr): Likewise.
45198         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
45199         [!NO__SQR]: Define __sqr.
45200         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
45201         and NO__SQR.  Remove all code except __mul and __sqr.  Include
45202         sysdeps/ieee754/dbl-64/mpa.c.
45203         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45205         [BZ #12723]
45206         * posix/Makefile (tests): Add tst-pathconf.
45207         * posix/tst-pathconf.c: New test case.
45208         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
45209         _PC_PIPE_BUF.
45210         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
45212 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
45214         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
45216 2013-03-06  Andreas Jaeger  <aj@suse.de>
45218         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
45219         definition via __MAP_ANONYMOUS.
45221         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
45222         it's not part of Linux headers.
45224         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
45225         (MAP_HUGE_MASK): Define.
45227         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45228         Define.
45229         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45230         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45231         Define.
45232         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45233         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45234         Define.
45235         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45236         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
45237         Define.
45238         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45240         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
45241         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
45242         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
45243         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
45244         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
45245         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
45247         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45248         Handle f2fs.
45250         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45251         Handle f2fs and efivarfs.
45253         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
45254         f2fs.
45256         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
45257         (EFIVARFS_MAGIC): Add.
45258         (F2FS_LINK_MAX): Add.
45260 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45262         * stdio-common/vfprintf.c: Replace __builtin_expect with
45263         __glibc_unlikely.
45265 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
45267         [BZ #13550]
45268         * sysdeps/generic/bp-sym.h: Remove file.
45269         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
45270         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
45271         <bp-sym.h> and <bp-asm.h>.
45272         (__longjmp): Don't use BP_SYM.
45273         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
45274         and <bp-asm.h>.
45275         (memcpy): Don't use BP_SYM.
45276         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
45277         <bp-sym.h> and <bp-asm.h>.
45278         (memcpy): Don't use BP_SYM.
45279         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
45280         <bp-asm.h>.
45281         (memcpy): Don't use BP_SYM.
45282         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
45283         <bp-asm.h>.
45284         (memset): Don't use BP_SYM.
45285         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45286         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45287         (__bzero): Don't use BP_SYM.
45288         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45289         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45290         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
45291         <bp-sym.h> and <bp-asm.h>.
45292         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45293         pointers.
45294         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
45295         <bp-sym.h> and <bp-asm.h>.
45296         (memcpy): Don't use BP_SYM.
45297         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
45298         <bp-sym.h> and <bp-asm.h>.
45299         (memset): Don't use BP_SYM.
45300         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45301         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45302         (__bzero): Don't use BP_SYM.
45303         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45304         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45305         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
45306         <bp-sym.h> and <bp-asm.h>.
45307         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45308         pointers.
45309         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
45310         <bp-sym.h> and <bp-asm.h>.
45311         (memcpy): Don't use BP_SYM.
45312         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
45313         <bp-sym.h> and <bp-asm.h>.
45314         (memset): Don't use BP_SYM.
45315         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45316         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45317         (__bzero): Don't use BP_SYM.
45318         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45319         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45320         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
45321         <bp-sym.h> and <bp-asm.h>.
45322         (__memchr): Don't use BP_SYM.
45323         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
45324         <bp-sym.h> and <bp-asm.h>.
45325         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45326         pointers.
45327         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
45328         <bp-sym.h> and <bp-asm.h>.
45329         (memcpy): Don't use BP_SYM.
45330         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
45331         <bp-sym.h> and <bp-asm.h>.
45332         (__mempcpy): Don't use BP_SYM.
45333         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
45334         <bp-sym.h> and <bp-asm.h>.
45335         (__memrchr): Don't use BP_SYM.
45336         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
45337         <bp-sym.h> and <bp-asm.h>.
45338         (memset): Don't use BP_SYM.
45339         (__bzero): Likewise.
45340         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
45341         <bp-sym.h> and <bp-asm.h>.
45342         (__rawmemchr): Don't use BP_SYM.
45343         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
45344         <bp-sym.h> and <bp-asm.h>.
45345         (__STRCMP): Don't use BP_SYM.
45346         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
45347         <bp-sym.h> and <bp-asm.h>.
45348         (strchr): Don't use BP_SYM.
45349         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
45350         <bp-sym.h> and <bp-asm.h>.
45351         (__strchrnul): Don't use BP_SYM.
45352         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
45353         <bp-sym.h> and <bp-asm.h>.
45354         (strlen): Don't use BP_SYM.
45355         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
45356         <bp-sym.h> and <bp-asm.h>.
45357         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45358         pointers.
45359         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
45360         <bp-sym.h> and <bp-asm.h>.
45361         (__strnlen): Don't use BP_SYM.
45362         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
45363         <bp-sym.h> and <bp-asm.h>.
45364         (__GI__setjmp): Don't use BP_SYM.
45365         (_setjmp): Likewise.
45366         (__sigsetjmp): Likewise.
45367         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
45368         (L(start_addresses)): Don't use BP_SYM.
45369         (_start): Likewise.
45370         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
45371         <bp-asm.h>.
45372         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
45373         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
45374         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45375         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45376         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
45377         <bp-asm.h>.
45378         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
45379         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
45380         about bounded pointers.
45381         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45382         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45383         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
45384         <bp-asm.h>.
45385         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45386         about bounded pointers.  Remove GKM FIXME comments.
45387         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45388         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
45389         <bp-asm.h>.
45390         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
45391         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
45392         Remove GKM FIXME comments.
45393         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45394         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45395         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
45396         <bp-asm.h>.
45397         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45398         about bounded pointers.  Remove GKM FIXME comment.
45399         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
45400         and <bp-asm.h>.
45401         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45402         pointers.
45403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
45404         <bp-sym.h> and <bp-asm.h>.
45405         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
45407         <bp-sym.h> and <bp-asm.h>.
45408         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45409         comment.
45411 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45413         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
45414         call free(NULL).
45416 2013-03-05  David S. Miller  <davem@davemloft.net>
45418         * po/es.po: Update from translation team.
45420 2013-03-05  Andreas Jaeger  <aj@suse.de>
45422         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
45423         <bits/mman-linux.h>.
45424         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45425         is fine.
45426         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
45427         <bits/mman-linux.h> to end of file.
45428         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45429         is fine.
45430         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
45431         <bits/mman-linux.h> to end of file.
45432         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45433         is fine.
45434         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
45435         <bits/mman-linux.h> to end of file.
45437         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
45438         (MCL_CURRENT, MCL_FUTURE): Define here.
45440 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45442         [BZ #15232]
45443         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
45444         attribute_hidden.
45445         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45447 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45449         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
45450         fourth parameter needed for rt_sigprocmask syscall.
45451         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45452         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45453         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
45454         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45455         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45456         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
45458 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
45460         [BZ #13550]
45461         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
45462         comment about bounded pointers.
45463         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
45464         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
45466 2013-03-04  Andreas Jaeger  <aj@suse.de>
45468         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
45469         common definitions.
45471         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
45472         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
45473         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
45474         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45475         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45476         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45478 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45480         [BZ #15055]
45481         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
45482         __ieee754_sqrl instead of __sqrl.
45484 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
45486         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
45487         * sysdeps/powerpc/fpu_control.h: ... here.
45488         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
45489         * sysdeps/powerpc/bits/fenvinline.h: ... here.
45490         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
45491         * sysdeps/powerpc/bits/mathinline.h: ... here.
45493 2013-03-01  Roland McGrath  <roland@hack.frob.com>
45495         * elf/dl-hwcaps.c (_dl_important_hwcaps):
45496         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
45497         to just [NEED_DL_SYSINFO_DSO].
45498         * elf/dl-support.c: Likewise.
45499         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45500         * elf/rtld.c (dl_main): Likewise.
45501         * elf/setup-vdso.h (setup_vdso): Likewise.
45502         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
45503         * sysdeps/unix/sysv/linux/dl-sysdep.c
45504         (_dl_discover_osversion): Likewise.
45506 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
45508         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
45509         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45511 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45513         * NEWS: Mention libm performance improvements and non-x86 PI
45514         futex support.
45516         * csu/libc-start.c (__pthread_initialize_minimal): Change
45517         function arguments.
45518         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45520 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
45522         [BZ #13550]
45523         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
45524         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
45525         <bp-sym.h> and <bp-asm.h>.
45526         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45527         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
45528         and <bp-asm.h>.
45529         (memcpy): Don't use BP_SYM.
45530         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
45531         <bp-asm.h>.
45532         (__mpn_add_n): Don't use BP_SYM.
45533         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
45534         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
45535         and <bp-asm.h>.
45536         (__mpn_addmul_1): Don't use BP_SYM.
45537         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45538         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
45539         <bp-sym.h>.
45540         (_setjmp): Don't use BP_SYM.
45541         (__novmx_setjmp): Likewise.
45542         (__GI__setjmp): Likewise.
45543         (__vmx_setjmp): Likewise.
45544         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
45545         <bp-sym.h>.
45546         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
45547         (__bzero): Don't use BP_SYM.
45548         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45549         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45550         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
45551         <bp-sym.h> and <bp-asm.h>.
45552         (memcpy): Don't use BP_SYM.
45553         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
45554         <bp-sym.h> and <bp-asm.h>.
45555         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45556         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
45557         <bp-sym.h> and <bp-asm.h>.
45558         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45559         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
45560         <bp-asm.h>.
45561         (__mpn_lshift): Don't use BP_SYM.
45562         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45563         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
45564         <bp-asm.h>.
45565         (memset): Don't use BP_SYM.
45566         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45567         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45568         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
45569         <bp-asm.h>.
45570         (__mpn_mul_1): Don't use BP_SYM.
45571         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45572         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
45573         <bp-sym.h> and <bp-asm.h>.
45574         (memcmp): Don't use BP_SYM.
45575         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
45576         <bp-sym.h> and <bp-asm.h>.
45577         (memcpy): Don't use BP_SYM.
45578         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
45579         <bp-sym.h> and <bp-asm.h>.
45580         (memset): Don't use BP_SYM.
45581         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
45582         <bp-sym.h> and <bp-asm.h>.
45583         (strncmp): Don't use BP_SYM.
45584         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
45585         <bp-sym.h> and <bp-asm.h>.
45586         (memcpy): Don't use BP_SYM.
45587         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
45588         <bp-sym.h> and <bp-asm.h>.
45589         (memset): Don't use BP_SYM.
45590         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
45591         <bp-sym.h> and <bp-asm.h>.
45592         (__memchr): Don't use BP_SYM.
45593         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
45594         <bp-sym.h> and <bp-asm.h>.
45595         (memcmp): Don't use BP_SYM.
45596         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
45597         <bp-sym.h> and <bp-asm.h>.
45598         (memcpy): Don't use BP_SYM.
45599         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
45600         <bp-sym.h> and <bp-asm.h>.
45601         (__mempcpy): Don't use BP_SYM.
45602         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
45603         <bp-sym.h> and <bp-asm.h>.
45604         (__memrchr): Don't use BP_SYM.
45605         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
45606         <bp-sym.h> and <bp-asm.h>.
45607         (memset): Don't use BP_SYM.
45608         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
45609         <bp-sym.h> and <bp-asm.h>.
45610         (__rawmemchr): Don't use BP_SYM.
45611         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
45612         <bp-sym.h> and <bp-asm.h>.
45613         (__STRCMP): Don't use BP_SYM.
45614         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
45615         <bp-sym.h> and <bp-asm.h>.
45616         (strchr): Don't use BP_SYM.
45617         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
45618         <bp-sym.h> and <bp-asm.h>.
45619         (__strchrnul): Don't use BP_SYM.
45620         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
45621         <bp-sym.h> and <bp-asm.h>.
45622         (strlen): Don't use BP_SYM.
45623         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
45624         <bp-sym.h> and <bp-asm.h>.
45625         (strncmp): Don't use BP_SYM.
45626         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
45627         <bp-sym.h> and <bp-asm.h>.
45628         (__strnlen): Don't use BP_SYM.
45629         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
45630         <bp-asm.h>.
45631         (__mpn_rshift): Don't use BP_SYM.
45632         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45633         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
45634         <bp-sym.h> and <bp-asm.h>.
45635         (__sigsetjmp): Don't use BP_SYM.
45636         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
45637         (L(start_addresses)): Don't use BP_SYM.
45638         (_start): Likewise.
45639         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
45640         <bp-asm.h>.
45641         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
45642         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45643         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45644         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
45645         <bp-asm.h>.
45646         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
45647         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45648         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45649         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
45650         <bp-asm.h>.
45651         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45652         comments.
45653         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45654         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
45655         <bp-asm.h>.
45656         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
45657         FIXME comments.
45658         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45659         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45660         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
45661         <bp-asm.h>.
45662         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45663         comment.
45664         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
45665         and <bp-asm.h>.
45666         (strncmp): Don't use BP_SYM,
45667         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
45668         <bp-asm.h>.
45669         (__mpn_sub_n): Don't use BP_SYM.
45670         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45671         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
45672         and <bp-asm.h>.
45673         (__mpn_submul_1): Don't use BP_SYM.
45674         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
45676         <bp-sym.h> and <bp-asm.h>.
45677         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
45679         <bp-sym.h> and <bp-asm.h>.
45680         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45681         comment.
45683 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45685         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
45686         Use ZK to minimize writes to Z.
45687         (sub_magnitudes): Simplify code a bit.
45688         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
45689         Use ZK to minimize writes to Z.
45690         (sub_magnitudes): Simplify code a bit.
45692 2013-02-27  Roland McGrath  <roland@hack.frob.com>
45694         * csu/gmon-start.c: Add special exception to license text.
45696 2013-02-27  Richard Henderson  <rth@redhat.com>
45698         * scripts/config.guess: Update from config.git.
45699         * scripts/config.sub: Likewise.
45701 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45703         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
45705         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
45707         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
45709         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
45711         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
45713 2013-02-26  Roland McGrath  <roland@hack.frob.com>
45715         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
45716         [$(build-shared = yes].
45718 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45720         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
45721         (__mul): Reduce iterations for calculating mantissa.
45723         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
45724         MPTWO.
45725         (__mpranred): Likewise.
45727         [BZ #15160]
45728         * malloc/memusagestat.c (main): Draw graphs for heap and stack
45729         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
45731 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
45733         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
45734         Define __attribute__.
45736 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45738         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
45739         unused.
45740         * posix/regex_internal.h (__attribute): Remove.
45741         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
45742         (re_string_context_at): Likewise.
45743         (bitset_not): Use __attribute__ and mark function as possibly
45744         unused.
45745         (bitset_merge): Likewise.
45746         (bitset_mask): Likewise.
45747         (re_string_char_size_at): Likewise.
45748         (re_string_wchar_at): Likewise.
45749         (re_string_elem_size_at): Likewise.
45751 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45753         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
45754         code.
45755         (cc32): Likewise.
45757         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
45758         (__acr): Likewise.
45759         (__cpy): Likewise.
45760         (norm): Likewise.
45761         (denorm): Likewise.
45762         (__dbl_mp): Likewise.
45763         (add_magnitudes): Likewise.
45764         (sub_magnitudes): Likewise.
45765         (__mul): Likewise.
45766         (__inv): Likewise.
45768         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
45769         style.
45771         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
45772         style.
45774         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
45775         code.
45777         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
45778         up changes with default code.
45779         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
45780         Likewise.
45782 2013-02-24  Allan McRae  <allan@archlinux.org>
45784         * manual/socket.texi (The Internet Namespace): Order menu items
45785         to match that in the file.
45787         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
45788         node listing of the info page menu.
45790 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
45792         [BZ #13550]
45793         * sysdeps/i386/bp-asm.h: Remove file.
45794         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45795         (PARMS): Do not use macros from bp-asm.h.
45796         (S1): Likewise.
45797         (S2): Likewise.
45798         (SIZE): Likewise.
45799         (__mpn_add_n): Do not use BP_SYM
45800         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
45801         "bp-asm.h".
45802         (PARMS): Do not use macros from bp-asm.h.
45803         (S1): Likewise.
45804         (SIZE): Likewise.
45805         (__mpn_addmul_1): Do not use BP_SYM
45806         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
45807         "bp-asm.h".
45808         (PARMS): Do not use macros from bp-asm.h.
45809         (SIGMSK): Likewise.
45810         (_setjmp): Likewise.  Do not use BP_SYM.
45811         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
45812         "bp-asm.h".
45813         (PARMS): Do not use macros from bp-asm.h.
45814         (SIGMSK): Likewise.
45815         (setjmp): Likewise.  Do not use BP_SYM.
45816         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
45817         "bp-asm.h".
45818         (PARMS): Do not use macros from bp-asm.h.
45819         (__frexp): Do not use BP_SYM.
45820         (frexp): Likewise.
45821         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
45822         "bp-asm.h".
45823         (PARMS): Do not use macros from bp-asm.h.
45824         (__frexpf): Do not use BP_SYM.
45825         (frexpf): Likewise.
45826         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
45827         "bp-asm.h".
45828         (PARMS): Do not use macros from bp-asm.h.
45829         (__frexpl): Do not use BP_SYM.
45830         (frexpl): Likewise.
45831         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
45832         "bp-asm.h".
45833         (PARMS): Do not use macros from bp-asm.h.
45834         (__remquo): Do not use BP_SYM.
45835         (remquo): Likewise.
45836         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
45837         "bp-asm.h".
45838         (PARMS): Do not use macros from bp-asm.h.
45839         (__remquof): Do not use BP_SYM.
45840         (remquof): Likewise.
45841         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
45842         "bp-asm.h".
45843         (PARMS): Do not use macros from bp-asm.h.
45844         (__remquol): Do not use BP_SYM.
45845         (remquol): Likewise.
45846         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
45847         "bp-asm.h".
45848         (PARMS): Do not use macros from bp-asm.h.
45849         (DEST): Likewise.
45850         (SRC): Likewise.
45851         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
45852         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
45853         "bp-asm.h".
45854         (PARMS): Do not use macros from bp-asm.h.
45855         (strlen): Do not use BP_SYM.
45856         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
45857         "bp-asm.h".
45858         (PARMS): Do not use macros from bp-asm.h.
45859         (S1): Likewise.
45860         (S2): Likewise.
45861         (SIZE): Likewise.
45862         (__mpn_add_n): Do not use BP_SYM.
45863         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
45864         "bp-asm.h".
45865         (PARMS): Do not use macros from bp-asm.h.
45866         (S1): Likewise.
45867         (SIZE): Likewise.
45868         (__mpn_addmul_1): Do not use BP_SYM.
45869         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
45870         weak_alias.
45871         (bzero): Likewise.
45872         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
45873         "bp-asm.h".
45874         (PARMS): Do not use macros from bp-asm.h.
45875         (S): Likewise.
45876         (SIZE): Likewise.
45877         (__mpn_lshift): Do not use BP_SYM.
45878         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
45879         "bp-asm.h".
45880         (PARMS): Do not use macros from bp-asm.h.
45881         (DEST): Likewise.
45882         (SRC): Likewise.
45883         (LEN): Likewise.
45884         (memcpy): Likewise.  Do not use BP_SYM.
45885         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
45886         libc_hidden_def and weak_alias.
45887         (mempcpy): Do not use BP_SYM in weak_alias.
45888         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
45889         "bp-asm.h".
45890         (PARMS): Do not use macros from bp-asm.h.
45891         (DEST): Likewise.
45892         (LEN): Likewise.
45893         [!BZERO_P] (CHR): Likewise.
45894         (memset): Likewise.  Do not use BP_SYM.
45895         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
45896         "bp-asm.h".
45897         (PARMS): Do not use macros from bp-asm.h.
45898         (S1): Likewise.
45899         (SIZE): Likewise.
45900         (__mpn_mul_1): Do not use BP_SYM.
45901         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
45902         "bp-asm.h".
45903         (PARMS): Do not use macros from bp-asm.h.
45904         (S): Likewise.
45905         (SIZE): Likewise.
45906         (__mpn_rshift): Do not use BP_SYM.
45907         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
45908         "bp-asm.h".
45909         (PARMS): Do not use macros from bp-asm.h.
45910         (STR): Likewise.
45911         (CHR): Likewise.
45912         (strchr): Likewise.  Do not use BP_SYM.
45913         (index): Do not use BP_SYM in weak_alias.
45914         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
45915         "bp-asm.h".
45916         (PARMS): Do not use macros from bp-asm.h.
45917         (DEST): Likewise.
45918         (SRC): Likewise.
45919         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
45920         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
45921         "bp-asm.h".
45922         (PARMS): Do not use macros from bp-asm.h.
45923         (strlen): Do not use BP_SYM.
45924         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
45925         "bp-asm.h".
45926         (PARMS): Do not use macros from bp-asm.h.
45927         (S1): Likewise.
45928         (S2): Likewise.
45929         (SIZE): Likewise.
45930         (__mpn_sub_n): Do not use BP_SYM.
45931         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
45932         "bp-asm.h".
45933         (PARMS): Do not use macros from bp-asm.h.
45934         (S1): Likewise.
45935         (SIZE): Likewise.
45936         (__mpn_submul_1): Do not use BP_SYM.
45937         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
45938         "bp-asm.h".
45939         (PARMS): Do not use macros from bp-asm.h.
45940         (S1): Likewise.
45941         (S2): Likewise.
45942         (SIZE): Likewise.
45943         (__mpn_add_n): Do not use BP_SYM.
45944         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
45945         weak_alias.
45946         (bzero): Likewise.
45947         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
45948         "bp-asm.h".
45949         (PARMS): Do not use macros from bp-asm.h.
45950         (BLK2): Likewise.
45951         (LEN): Likewise.
45952         (memcmp): Do not use BP_SYM.
45953         (bcmp): Do not use BP_SYM in weak_alias.
45954         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
45955         "bp-asm.h".
45956         (PARMS): Do not use macros from bp-asm.h.
45957         (DEST): Likewise.
45958         (SRC): Likewise.
45959         (LEN): Likewise.
45960         (memcpy): Likewise.  Do not use BP_SYM.
45961         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
45962         "bp-asm.h".
45963         (PARMS): Do not use macros from bp-asm.h.
45964         (DEST): Likewise.
45965         (SRC): Likewise.
45966         (LEN): Likewise.
45967         (memmove): Likewise.  Do not use BP_SYM.
45968         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
45969         "bp-asm.h".
45970         (PARMS): Do not use macros from bp-asm.h.
45971         (DEST): Likewise.
45972         (SRC): Likewise.
45973         (LEN): Likewise.
45974         (__mempcpy): Likewise.  Do not use BP_SYM.
45975         (mempcpy): Do not use BP_SYM in weak_alias.
45976         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
45977         "bp-asm.h".
45978         (PARMS): Do not use macros from bp-asm.h.
45979         (DEST): Likewise.
45980         (LEN): Likewise.
45981         [!BZERO_P] (CHR): Likewise.
45982         (memset): Likewise.  Do not use BP_SYM.
45983         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
45984         "bp-asm.h".
45985         (PARMS): Do not use macros from bp-asm.h.
45986         (STR2): Likewise.
45987         (strcmp): Do not use BP_SYM.
45988         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
45989         "bp-asm.h".
45990         (PARMS): Do not use macros from bp-asm.h.
45991         (STR): Likewise.
45992         (DELIM): Likewise.
45993         [USE_AS_STRTOK_R] (SAVE): Likewise.
45994         (FUNCTION): Likewise.  Do not use BP_SYM.
45995         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
45996         aliases.
45997         (strtok_r): Likewise.
45998         (__GI___strtok_r): Likewise.
45999         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46000         (PARMS): Do not use macros from bp-asm.h.
46001         (S): Likewise.
46002         (SIZE): Likewise.
46003         (__mpn_lshift): Do not use BP_SYM.
46004         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46005         (PARMS): Do not use macros from bp-asm.h.
46006         (STR): Likewise.
46007         (CHR): Likewise.
46008         (__memchr): Do not use BP_SYM.
46009         (memchr): Do not use BP_SYM in weak_alias.
46010         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46011         (PARMS): Do not use macros from bp-asm.h.
46012         (BLK2): Likewise.
46013         (LEN): Likewise.
46014         (memcmp): Do not use BP_SYM.
46015         (bcmp): Do not use BP_SYM in weak_alias.
46016         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
46017         (PARMS): Do not use macros from bp-asm.h.
46018         (S1): Likewise.
46019         (SIZE): Likewise.
46020         (__mpn_mul_1): Do not use BP_SYM.
46021         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
46022         "bp-asm.h".
46023         (PARMS): Do not use macros from bp-asm.h.
46024         (STR): Likewise.
46025         (CHR): Likewise.
46026         (__rawmemchr): Do not use BP_SYM.
46027         (rawmemchr): Do not use BP_SYM in weak_alias.
46028         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46029         (PARMS): Do not use macros from bp-asm.h.
46030         (S): Likewise.
46031         (SIZE): Likewise.
46032         (__mpn_rshift): Do not use BP_SYM.
46033         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46034         (PARMS): Do not use macros from bp-asm.h.
46035         (SIGMSK): Likewise.
46036         (__sigsetjmp): Likewise.  Do not use BP_SYM.
46037         * sysdeps/i386/start.S: Do not include "bp-sym.h".
46038         (_start): Do not use BP_SYM.
46039         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
46040         (PARMS): Do not use macros from bp-asm.h.
46041         (DEST): Likewise.
46042         (SRC): Likewise.
46043         (__stpcpy): Likewise.  Do not use BP_SYM.
46044         (stpcpy): Do not use BP_SYM in weak_alias.
46045         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
46046         "bp-asm.h".
46047         (PARMS): Do not use macros from bp-asm.h.
46048         (DEST): Likewise.
46049         (SRC): Likewise.
46050         (LEN): Likewise.
46051         (__stpncpy): Likewise.  Do not use BP_SYM.
46052         (stpncpy): Do not use BP_SYM in weak_alias.
46053         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46054         (PARMS): Do not use macros from bp-asm.h.
46055         (STR): Likewise.
46056         (CHR): Likewise.
46057         (strchr): Likewise.  Do not use BP_SYM.
46058         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
46059         "bp-asm.h".
46060         (PARMS): Do not use macros from bp-asm.h.
46061         (STR): Likewise.
46062         (CHR): Likewise.
46063         (__strchrnul): Likewise.  Do not use BP_SYM.
46064         (strchrnul): Do not use BP_SYM in weak_alias.
46065         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
46066         "bp-asm.h".
46067         (PARMS): Do not use macros from bp-asm.h.
46068         (STOP): Likewise.
46069         (strcspn): Do not use BP_SYM.
46070         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
46071         "bp-asm.h".
46072         (PARMS): Do not use macros from bp-asm.h.
46073         (STR): Likewise.
46074         (STOP): Likewise.
46075         (strpbrk): Likewise.  Do not use BP_SYM.
46076         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
46077         "bp-asm.h".
46078         (PARMS): Do not use macros from bp-asm.h.
46079         (STR): Likewise.
46080         (CHR): Likewise.
46081         (strrchr): Likewise.  Do not use BP_SYM.
46082         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
46083         (PARMS): Do not use macros from bp-asm.h.
46084         (SKIP): Likewise.
46085         (strspn): Do not use BP_SYM.
46086         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
46087         (PARMS): Do not use macros from bp-asm.h.
46088         (STR): Likewise.
46089         (DELIM): Likewise.
46090         (SAVE): Likewise.
46091         (FUNCTION): Likewise.  Do not use BP_SYM.
46092         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
46093         aliases.
46094         (strtok_r): Likewise.
46095         (__GI___strtok_r): Likewise.
46096         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46097         (PARMS): Do not use macros from bp-asm.h.
46098         (S1): Likewise.
46099         (S2): Likewise.
46100         (SIZE): Likewise.
46101         (__mpn_sub_n): Do not use BP_SYM.
46102         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
46103         "bp-asm.h".
46104         (PARMS): Do not use macros from bp-asm.h.
46105         (S1): Likewise.
46106         (SIZE): Likewise.
46107         (__mpn_submul_1): Do not use BP_SYM.
46108         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
46109         <bp-sym.h>.
46110         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
46111         and <bp-asm.h>.
46112         (PARMS): Do not use macros from bp-asm.h.
46113         (FLAGS): Likewise.
46114         (PTID): Likewise.
46115         (TLS): Likewise.
46116         (CTID): Likewise.
46117         (__clone): Do not use BP_SYM.
46118         (clone): Do not use BP_SYM in weak_alias.
46119         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
46120         and <bp-asm.h>.
46121         (PARMS): Do not use macros from bp-asm.h.
46122         (LEN): Likewise.
46123         (__mmap64): Do not use BP_SYM.
46124         (mmap64): Do not use BP_SYM in weak_alias.
46125         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46126         <bp-sym.h> and <bp-asm.h>.
46127         (PARMS): Do not use macros from bp-asm.h.
46128         (__posix_fadvise64_l64): Do not use BP_SYM.
46129         * sysdeps/unix/sysv/linux/i386/semtimedop.S
46130         (PARMS): Do not use macros from bp-asm.h.
46131         (NSOPS): Likewise.
46132         (semtimedop): Do not use BP_SYM.
46133         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
46134         and <bp-asm.h>.
46136 2013-02-21  Allan McRae  <allan@archlinux.org>
46138         * manual/message.texi (Charset conversion in gettext):
46139         Move @end statement to beginning of line.
46141 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46143         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
46144         static.
46145         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46146         Likewise.
46148         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
46149         (denorm): Likewise.
46150         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
46151         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
46153 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46155         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
46156         tail-call to the resolved function if pltexit isn't needed.
46158 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46160         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
46161         or Y being zero as being unlikely.
46162         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46163         Likewise.
46165 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
46167         * manual/nss.texi (System Databases and Name Service Switch):
46168         Remove frobnicate @pxref.
46170 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46172         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46173         __attribute__ ((unused)) to __attribute__ ((__unused__)).
46175 2013-02-20  Petr Machata  <pmachata@redhat.com>
46177         * elf/elf.h (R_ARM_TARGET1): New macro.
46178         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
46179         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
46180         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
46181         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
46182         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
46183         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
46184         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
46185         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
46186         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
46187         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
46188         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
46189         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
46190         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
46191         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
46192         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
46193         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
46194         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
46195         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
46196         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
46197         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
46198         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
46199         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
46200         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
46201         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
46202         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
46203         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
46204         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
46205         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
46206         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
46207         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
46208         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
46209         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
46210         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
46211         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
46212         (R_ARM_THM_GOT_BREL12): Likewise.
46213         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
46214         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
46215         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
46216         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
46217         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
46218         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
46219         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
46220         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
46221         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
46223 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46225         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46226         __attribute_used__ to __attribute__ ((unused)).
46228 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46230         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
46231         powerpc mpa.c.
46232         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
46233         comment formatting.
46234         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
46236 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
46238         [BZ #13550]
46239         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
46240         Remove macro.
46241         (ENTER): Remove both macro definitions.
46242         (LEAVE): Likewise.
46243         (CHECK_BOUNDS_LOW): Likewise.
46244         (CHECK_BOUNDS_HIGH): Likewise.
46245         (CHECK_BOUNDS_BOTH): Likewise.
46246         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
46247         (RETURN_BOUNDED_POINTER): Likewise.
46248         (RETURN_NULL_BOUNDED_POINTER): Likewise.
46249         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
46250         (POP_ERRNO_LOCATION_RETURN): Likewise.
46251         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
46252         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46253         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
46254         macros.
46255         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46256         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
46257         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
46258         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
46259         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
46260         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
46261         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
46262         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
46263         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
46264         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
46265         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
46266         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
46267         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46268         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
46269         removed macros.
46270         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46271         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
46272         macros.
46273         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46274         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
46275         * sysdeps/i386/i586/memset.S (memset): Likewise.
46276         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
46277         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46278         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
46279         macros.
46280         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46281         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
46282         Change uses of L(2) to L(out).
46283         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
46284         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
46285         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
46286         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46287         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
46288         removed macros.
46289         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46290         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
46291         macros.
46292         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46293         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
46294         (RETURN): Do not use macro LEAVE.
46295         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
46296         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
46297         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
46298         * sysdeps/i386/i686/memset.S (memset): Likewise.
46299         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
46300         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
46301         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46302         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
46303         Likewise.
46304         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46305         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
46306         L(1_2) and L(1_3) into L(1).
46307         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46308         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
46309         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46310         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
46311         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46312         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
46313         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
46314         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46315         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
46316         macros.
46317         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
46318         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46319         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
46320         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
46321         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
46322         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46323         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
46324         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
46325         * sysdeps/i386/strcspn.S (strcspn): Likewise.
46326         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
46327         * sysdeps/i386/strrchr.S (strrchr): Likewise.
46328         * sysdeps/i386/strspn.S (strspn): Likewise.
46329         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
46330         conditional code.
46331         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46332         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
46333         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46334         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
46335         L(1_3) into L(1_1).
46336         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
46337         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46338         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
46339         macros.
46340         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46342 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
46344         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
46345         macro.
46347 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46349         * math/atest-exp.c (exp_mpn): Remove ROUND.
46350         * math/atest-exp2.c (exp_mpn): Likewise.
46351         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
46353         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
46354         * stdlib/tst-tls-atexit-lib.c: Likewise.
46355         * stdlib/tst-tls-atexit.c: Likewise.
46357 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46359         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
46360         and __attribute_alloc_size__.
46362 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46364         * include/programs/xmalloc.h: Change __attribute_alloc_size to
46365         __attribute_alloc_size__.
46366         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
46367         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
46369 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46371         * include/programs/xmalloc.h: New file.
46372         * catgets/gencat.c: Include it.
46373         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
46374         * elf/pldd.c: Likewise.
46375         * iconv/iconv_charmap.c: Likewise.
46376         * iconv/iconvconfig.c: Likewise.
46377         * iconv/strtab.c: Likewise.
46378         * locale/programs/locale.c: Likewise.
46379         * locale/programs/localedef.h: Likewise.
46380         * locale/programs/simple-hash.c: Likewise.
46381         * nscd/nscd.h: Likewise.
46382         * nss/makedb.c: Likewise.
46383         * sysdeps/generic/ldconfig.h: Likewise.
46385 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46387         * Versions.def: Add GLIBC_2.18.
46388         * include/link.h (struct link_map): New member l_tls_dtor_count.
46389         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
46390         (__call_tls_dtors): Likewise.
46391         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
46392         __cxa_thread_atexit_impl.
46393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46394         Likewise.
46395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46396         Likewise.
46397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46398         Likewise.
46399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46400         Likewise.
46401         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
46403         Likewise.
46404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
46405         Likewise.
46406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46408         Likewise.
46409         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
46410         (tests): Add test case tst-tls-atexit.
46411         (modules-names): Add shared library for tst-tls-atexit.
46412         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
46413         (GLIBC_PRIVATE): Add __call_tls_dtors.
46414         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
46415         for libstdc++.
46416         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
46417         * stdlib/tst-tls-atexit.c: New test case.
46418         * stdlib/tst-tls-atexit-lib.c: New test case.
46420         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
46422         * elf/Versions (ld): Add _dl_find_dso_for_object.
46423         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
46424         * elf/dl-open.c (_dl_find_dso_for_object): New function.
46425         (dl_open_worker): Use _dl_find_dso_for_object.
46426         * elf/dl-sym.c (do_sym): Likewise.
46427         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
46429 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46431         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
46432         Syntactic changes only.
46433         (_dl_runtime_profile): Do a tail-call to the resolved function.
46435 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
46437         [BZ #13550]
46438         * sysdeps/x86_64/bp-asm.h: Remove file.
46439         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
46440         <bp-sym.h> and <bp-asm.h>.
46441         (__clone): Do not use BP_SYM.
46442         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
46443         <bp-sym.h> and <bp-asm.h>.
46444         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46445         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
46446         "bp-asm.h".
46447         (_setjmp): Do not use BP_SYM.
46448         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
46449         "bp-asm.h".
46450         (setjmp): Do not use BP_SYM.
46451         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
46452         libc_hidden_def.
46453         (mempcpy): Do not use BP_SYM in weak_alias.
46454         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
46455         "bp-asm.h".
46456         (strchr): Do not use BP_SYM.
46457         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
46458         "bp-asm.h".
46459         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
46460         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
46461         (_start): Do not use BP_SYM.
46462         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
46463         "bp-asm.h".
46464         (strcat): Do not use BP_SYM.
46465         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
46466         "bp-asm.h".
46467         (STRCMP): Do not use BP_SYM.
46468         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
46469         "bp-asm.h".
46470         (STRCPY): Do not use BP_SYM.
46471         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
46472         "bp-asm.h".
46473         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
46474         "bp-asm.h".
46475         (FUNCTION): Do not use BP_SYM.
46476         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
46477         weak_alias.
46478         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
46480 2013-02-17  Andreas Jaeger  <aj@suse.de>
46482         * time/Versions: Sort entries.
46483         * string/Versions: Likewise.
46484         * resolv/Versions: Likewise.
46485         * posix/Versions: Likewise.
46486         * iconv/Versions: Likewise.
46487         * elf/Versions: Likewise.
46488         * wcsmbs/Versions: Likewise.
46490 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46492         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
46493         loop termination condition.
46495         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
46496         variable to calculate EZ.
46497         (__sqr): Likewise.
46499         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
46500         the lower precision input.
46502 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
46504         [BZ #13550]
46505         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
46506         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
46507         (run-via-rtld-prefix): Do not handle %-bp tests.
46508         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
46509         (all-object-suffixes): Remove .ob.
46510         (bppfx): Remove variable.
46511         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
46512         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
46513         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
46514         [$(build-bounded) = yes] (libtype.ob): Likewise.
46515         * Makerules (elide-routines.ob): Remove variable.
46516         (do-tests-clean): Do not handle *-bp.out.
46517         (common-mostlyclean): Do not handle *-bp and *-bp.out.
46518         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
46519         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
46520         (tests): Do not include $(tests-bp.out).
46521         (xtests): Do not include $(xtests-bp.out).
46522         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
46523         [$(build-bounded) = yes] ($(addprefix
46524         $(objpfx),$(binaries-bounded))): Remove rule.
46525         ($(objpfx)%-bp.out): Remove rule.
46526         * config.make.in (build-bounded): Remove variable.
46527         * crypt/Makefile [$(build-bounded) = yes]
46528         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
46529         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
46530         append to variable.
46531         [$(build-bounded) = yes] (install-lib): Likewise.
46532         [$(build-bounded) = yes] (generated): Likewise.
46533         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
46534         Remove rule.
46535         * intl/Makefile [$(build-bounded) = yes]
46536         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
46537         * math/Makefile [$(build-bounded) = yes]
46538         ($(tests:%=$(objpfx)%-bp): Likewise.
46539         * misc/Makefile [$(build-bounded) = yes]
46540         ($(objpfx)tst-tsearch-bp): Likewise.
46541         * nptl/Makeconfig (bounded-thread-library): Remove variable.
46542         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
46543         Remove dependency.
46544         * string/Makefile (o-objects.ob): Remove variable.
46545         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
46546         (CFLAGS-.ob): Remove variable.
46547         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
46548         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
46549         both definitions of variable.
46550         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
46551         (ASFLAGS-.ob): Remove variable.
46553 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
46555         [BZ #13550]
46556         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
46557         Remove __BOUNDED_POINTERS__ from condition.
46558         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
46559         * string/bits/string2.h [!__NO_STRING_INLINES &&
46560         !__BOUNDED_POINTERS__]: Likewise.
46561         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
46562         Likewise.
46563         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
46564         Remove conditional code.
46565         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
46566         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
46567         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
46568         condition.
46570         [BZ #13550]
46571         * csu/libc-start.c: Do not include <bp-sym.h>.
46572         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
46573         * elf/dl-open.c: Do not include <bp-sym.h>.
46574         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
46575         * math/fegetenv.c: Do not include <bp-sym.h>.
46576         (fegetenv): Do not use BP_SYM in versioned symbols.
46577         * nptl/sysdeps/pthread/bits/libc-lockP.h
46578         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
46579         <bp-sym.h>.
46580         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46581         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
46582         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46583         (__pthread_mutex_destroy): Likewise.
46584         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46585         (__pthread_mutex_lock): Likewise.
46586         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46587         (__pthread_mutex_trylock): Likewise.
46588         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46589         (__pthread_mutex_unlock): Likewise.
46590         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46591         (__pthread_mutexattr_init): Likewise.
46592         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46593         (__pthread_mutexattr_destroy): Likewise.
46594         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46595         (__pthread_mutexattr_settype): Likewise.
46596         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46597         (__pthread_rwlock_init): Likewise.
46598         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46599         (__pthread_rwlock_destroy): Likewise.
46600         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46601         (__pthread_rwlock_rdlock): Likewise.
46602         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46603         (__pthread_rwlock_tryrdlock): Likewise.
46604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46605         (__pthread_rwlock_wrlock): Likewise.
46606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46607         (__pthread_rwlock_trywrlock): Likewise.
46608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46609         (__pthread_rwlock_unlock): Likewise.
46610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46611         (__pthread_key_create): Likewise.
46612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46613         (__pthread_setspecific): Likewise.
46614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46615         (__pthread_getspecific): Likewise.
46616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
46617         Likewise.
46618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46619         (_pthread_cleanup_push_defer): Likewise.
46620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46621         (_pthread_cleanup_pop_restore): Likewise.
46622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46623         (pthread_setcancelstate): Likewise.
46624         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
46625         <bp-sym.h>.
46626         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
46627         (memchr): Do not use BP_SYM in weak_alias.
46628         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
46629         (fegetenv): Do not use BP_SYM in versioned symbols.
46630         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
46631         (fesetenv): Do not use BP_SYM in versioned symbols.
46632         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46633         (feupdateenv): Do not use BP_SYM in versioned symbols.
46634         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46635         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46636         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
46637         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
46638         (open64): Do not use BP_SYM in weak_alias.
46639         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
46640         (fegetenv): Do not use BP_SYM in versioned symbols.
46641         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
46642         (fesetenv): Do not use BP_SYM in versioned symbols.
46643         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46644         (feupdateenv): Do not use BP_SYM in versioned symbols.
46645         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
46646         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
46647         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
46648         (feraiseexcept): Do not use BP_SYM in versioned symbols.
46649         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46650         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46651         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
46652         <bp-sym.h>.
46653         (__libc_start_main): Do not use BP_SYM.
46655 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46657         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
46658         redundant return line.
46659         (norm): Likewise.
46660         (denorm): Likewise.
46661         (dbl_mp): Likewise.
46662         (sub_magnitudes): Likewise.
46663         (__add): Likewise.
46664         (__sub): Likewise.
46665         (__mul): Likewise.
46666         (__inv): Likewise.
46667         (__dvd): Likewise.
46668         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
46669         (norm): Likewise.
46670         (denorm): Likewise.
46671         (dbl_mp): Likewise.
46672         (sub_magnitudes): Likewise.
46673         (__add): Likewise.
46674         (__sub): Likewise.
46675         (__mul): Likewise.
46676         (__inv): Likewise.
46677         (__dvd): Likewise.
46679         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
46680         instead of __mul.
46681         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46682         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
46683         (cc32): Likewise.
46685         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
46686         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
46687         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
46688         of __mul for squares.
46689         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
46690         function
46691         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
46692         Likewise.
46693         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
46694         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46696 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
46698         [BZ #13550]
46699         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
46700         code.
46701         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
46702         prototype or function definition.  Rename ubp_* variables and
46703         parameters.  Remove argv definitions conditional on
46704         [__BOUNDED_POINTERS__].
46705         * debug/backtrace.c (__backtrace): Do not use __unbounded.
46706         * elf/dl-runtime.c (_dl_fixup): Likewise.
46707         * include/set-hooks.h (RUN_HOOK): Likewise.
46708         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
46709         definition.
46710         * string/strcpy.c (strcpy): Do not use __unbounded.
46711         * sysdeps/generic/frame.h (struct layout): Likewise.
46712         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
46713         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
46714         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
46715         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
46716         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
46717         (__backtrace): Likewise.
46718         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
46719         use __ptrvalue.
46720         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
46721         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46722         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
46723         Likewise.
46724         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
46725         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
46726         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46727         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46728         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
46729         Do not use __unbounded.
46730         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
46731         Rename __unboundedrlimits parameter to rlimits in prototype.
46732         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
46733         Do not use __unbounded.
46734         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
46735         not use __ptrvalue.
46736         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46737         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
46738         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46739         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
46740         __ptrvalue or __unbounded.
46741         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
46742         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
46743         use __unbounded.
46744         (__new_msgctl): Do not use __ptrvalue.
46745         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
46746         __unbounded.
46747         (__libc_msgrcv): Do not use __ptrvalue.
46748         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
46749         startup_info): Do not use __unbounded.
46750         (__libc_start_main): Likewise.  Rename ubp_* variables and
46751         parameters.  Remove argv definitions conditional on
46752         [__BOUNDED_POINTERS__].
46753         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
46754         __ptrvalue.
46755         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
46756         use __unbounded.
46757         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
46758         or __ptrvalue.
46759         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
46760         use __unbounded.
46761         (__new_shmctl): Do not use __ptrvalue.
46762         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
46763         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
46764         Likewise.
46765         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
46766         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
46767         (__libc_sigaction): Likewise.
46768         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
46769         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
46770         Likewise.
46771         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46773 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
46775         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
46777         * string/mempcpy.c: Implement by calling memcpy.
46779 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46781         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
46783         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
46784         evaluation.
46786         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
46787         values in the mantissa.
46789         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
46790         minimize writes to Z.
46791         (sub_magnitudes): Simplify code a bit.
46793 2013-02-12  Roland McGrath  <roland@hack.frob.com>
46795         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
46796         from the message.  The linker prefixes all warnings with that already.
46798 2013-02-12  Andreas Schwab  <schwab@suse.de>
46800         [BZ #15078]
46801         * posix/regexec.c (extend_buffers): Add parameter min_len.
46802         (check_matching): Pass minimum needed length.
46803         (clean_state_log_if_needed): Likewise.
46804         (get_subexp): Likewise.
46805         * posix/Makefile (tests): Add bug-regex34.
46806         (bug-regex34-ENV): Define.
46807         * posix/bug-regex34.c: New file.
46809         [BZ #11561]
46810         * posix/regcomp.c (parse_bracket_exp): When looking up collating
46811         elements compare against the byte sequence of it, not its name.
46812         * posix/Makefile (tests): Add bug-regex35.
46813         (bug-regex35-ENV): Define.
46814         * posix/bug-regex35.c: New file.
46816 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46818         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
46819         comment.
46820         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
46821         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
46822         (CHECK_EOL): Add undef.
46824 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
46826         * bits/stdlib-bsearch.h: New file.
46827         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
46828         * stdlib/stdlib.h: Likewise.
46830 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46832         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
46833         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
46834         declaration.
46835         * manual/search.texi (Array Search Function): Add missing const in
46836         lfind prototype.
46837         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
46838         declaration to use rlim_t.
46839         (Basic Scheduling Functions): Remove erroneous const from
46840         sched_getparam prototype.  Remove erroneous * from
46841         sched_get_priority_max and sched_get_priority_min prototypes.
46842         (Resource Usage): Fix summary @comment on vtimes to refer to
46843         sys/vtimes.h rather than vtimes.h.
46844         Add missing *s in vtimes prototype.
46845         (Limits on Resources): Fix ulimit prototype to return long int.
46846         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
46847         prototypes to use long int rather than double.
46848         (BSD Random): Fix initstate and setstate to use char *, not void *.
46849         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
46850         prototype to make second argument 'struct aiocb64 *const[]'.
46851         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
46852         (Status of AIO Operations): Remove erroneous const in aio_return and
46853         aio_return64 prototypes.
46854         (Synchronizing I/O): Fix sync prototype to return void.
46855         * manual/startup.texi (Suboptions): Remove an erroneous const in
46856         getsubopt prototype.
46857         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
46858         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
46859         use size_t rather than int.
46860         (Scanning All Users): Likewise for getpwent_r.
46861         (Setting Groups): Add missing const to setgroups prototype.
46862         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
46863         * manual/socket.texi (Host Names): Fix gethostbyaddr and
46864         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
46865         'const void *' rather than 'const char *'.
46866         (Host Address Functions): Likewise for inet_ntop.
46867         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
46868         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
46869         ssize_t for return value.
46870         (Sending Data): Likewise for send, sendto, sendmsg.
46871         (Socket Option Functions): Add a missing const in setsockopt prototype.
46872         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
46873         use wchar_t for the argument.
46874         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
46875         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
46876         take no arguments.
46877         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
46878         double/float/long double for second argument.
46879         Fix return types of significand, significandf, significandl.
46880         * manual/filesys.texi (Setting Permissions): Use mode_t for second
46881         argument in fchmod prototype.
46882         (File Owner): Use uid_t and gid_t in fchown prototype.
46883         (File Times): Add const to utimes, futimes, and lutimes prototypes.
46884         (Making Special Files): Use mode_t and dev_t in mknod prototype.
46885         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
46886         use 'const struct dirent **' as argument types to CMP function pointer
46887         argument.
46888         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
46889         (File Times): Fix summary magic @comment for struct utimbuf and utime
46890         to refer to utime.h, not time.h.
46891         * manual/string.texi (Argz Functions): Add missing const in
46892         argz_extract and argz_next prototypes.
46893         (Finding Tokens in a String): Likewise for basename.
46894         (String/Array Comparison): Fix typo in wcscasecmp prototype.
46895         (Copying and Concatenation): Fix typo in wmemmove prototype.
46896         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
46897         (Signal Stack): Remove erroneous const in sigstack prototype.
46898         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
46899         prototype.
46900         (Simple Calendar Time): Likewise for stime.
46901         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
46902         prototype.
46903         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
46904         say sys/sysctl.h instead.
46905         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
46906         and vsyslog prototypes.
46908 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46910         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
46911         Remove.
46913 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46915         * misc/sys/mman.h: Fix typo in mremap comment.
46917 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46919         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
46920         the '\0' terminator.
46922 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46924         [BZ #13550]
46925         * debug/segfault.c: Don't include <bp-checks.h>.
46926         * sysdeps/generic/bp-checks.h: Remove file.
46927         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
46928         (__GETDENTS): Don't use CHECK_N.
46929         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
46930         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
46931         (__getgroups): Don't use CHECK_N.
46932         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
46933         (setgroups): Don't use CHECK_N.
46934         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
46935         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
46936         (__libc_msgrcv): Don't use CHECK_N.
46937         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
46938         (__libc_msgsnd): Don't use CHECK_N.
46939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
46940         <bp-checks.h>.
46941         (__libc_pread): Don't use CHECK_N.
46942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
46943         include <bp-checks.h>.
46944         (__libc_pread64): Don't use CHECK_N.
46945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
46946         include <bp-checks.h>.
46947         (__libc_pwrite): Don't use CHECK_N.
46948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
46949         include <bp-checks.h>.
46950         (__libc_pwrite64): Don't use CHECK_N.
46951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
46952         <bp-checks.h>.
46953         (__libc_pread): Don't use CHECK_N.
46954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
46955         include <bp-checks.h>.
46956         (__libc_pread64): Don't use CHECK_N.
46957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
46958         include <bp-checks.h>.
46959         (__libc_pwrite): Don't use CHECK_N.
46960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
46961         include <bp-checks.h>.
46962         (__libc_pwrite64): Don't use CHECK_N.
46963         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
46964         (do_pread): Don't use CHECK_N.
46965         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
46966         (do_pread64): Don't use CHECK_N.
46967         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
46968         (do_pwrite): Don't use CHECK_N.
46969         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
46970         (do_pwrite64): Don't use CHECK_N.
46971         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
46972         (__libc_readv): Don't use CHECK_N.
46973         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
46974         (semop): Don't use CHECK_N.
46975         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
46976         <bp-checks.h>.
46977         (semtimedop): Don't use CHECK_N.
46978         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
46979         (__libc_pread): Don't use CHECK_N.
46980         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
46981         <bp-checks.h>.
46982         (__libc_pread64): Don't use CHECK_N.
46983         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
46984         <bp-checks.h>.
46985         (__libc_pwrite): Don't use CHECK_N.
46986         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
46987         <bp-checks.h>.
46988         (__libc_pwrite64): Don't use CHECK_N.
46989         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
46990         <bp-checks.h>.
46991         (__libc_msgrcv): Don't use CHECK_N.
46992         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
46993         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
46994         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
46995         (__libc_writev): Don't use CHECK_N.
46997 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46999         * string/strcpy.c: Removed unused variable.
47001         * Makeconfig (+sysdep-includes): Define with := rather than =.
47002         Use an existing include/ subdir of each sysdeps dir before it.
47004 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47006         * nscd/connection.c (register_traced_file): Comment function.
47007         [HAVE_INOTIFY] (union __inev): Define.
47008         [HAVE_INOTIFY] (inotify_check_files): New function.
47009         [HAVE_INOTIFY] (clear_db_cache): Likewise.
47010         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
47011         clear_db_cache.
47012         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
47014 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47016         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
47017         loaded if not already and that a failure is permanent.
47019 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
47021         [BZ #15006]
47022         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
47023         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
47025 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
47027         [BZ #13550]
47028         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
47029         (CHECK_1_NULL_OK): Likewise.
47030         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
47031         (__fxstat): Do not use CHECK_1.
47032         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
47033         <bp-checks.h>.
47034         (___fxstat64): Do not use CHECK_1.
47035         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47036         <bp-checks.h>.
47037         (__fxstatat): Do not use CHECK_1.
47038         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47039         <bp-checks.h>.
47040         (__fxstatat64): Do not use CHECK_1.
47041         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
47042         <bp-checks.h>.
47043         (__fxstat): Do not use CHECK_1.
47044         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47045         <bp-checks.h>.
47046         (__fxstatat): Do not use CHECK_1.
47047         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47048         <bp-checks.h>.
47049         (__getresgid): Do not use CHECK_1.
47050         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47051         <bp-checks.h>.
47052         (__getresuid): Do not use CHECK_1.
47053         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
47054         <bp-checks.h>.
47055         (__lxstat): Do not use CHECK_1.
47056         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47057         <bp-checks.h>.
47058         (__old_msgctl): Do not use CHECK_1.
47059         (__new_msgctl): Likewise.
47060         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
47061         <bp-checks.h>.
47062         (__new_setrlimit): Do not use CHECK_1.
47063         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47064         <bp-checks.h>.
47065         (__old_shmctl): Do not use CHECK_1.
47066         (__new_shmctl): Likewise.
47067         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
47068         <bp-checks.h>.
47069         (__xstat): Do not use CHECK_1.
47070         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
47071         (__lxstat): Do not use CHECK_1.
47072         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
47073         <bp-checks.h>.
47074         (___lxstat64): Do not use CHECK_1.
47075         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
47076         (__old_msgctl): Do not use CHECK_1.
47077         (__new_msgctl): Likewise.
47078         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
47079         <bp-checks.h>.
47080         (__gettimeofday): Do not use CHECK_1.
47081         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
47082         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
47083         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
47084         <bp-checks.h>.
47085         (__gettimeofday): Do not use CHECK_1.
47086         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
47087         (__old_shmctl): Do not use CHECK_1_NULL_OK.
47088         (__new_shmctl): Do not use CHECK_1.
47089         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
47090         <bp-checks.h>.
47091         (do_sigtimedwait): Do not use CHECK_1.
47092         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
47093         <bp-checks.h>.
47094         (do_sigwaitinfo): Do not use CHECK_1.
47095         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
47096         <bp-checks.h>.
47097         (msgctl): Do not use CHECK_1.
47098         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
47099         <bp-checks.h>.
47100         (shmctl): Do not use CHECK_1.
47101         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
47102         (ustat): Do not use CHECK_1.
47103         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
47104         <bp-checks.h>.
47105         (__fxstat): Do not use CHECK_1.
47106         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47107         <bp-checks.h>.
47108         (__fxstatat): Do not use CHECK_1.
47109         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
47110         <bp-checks.h>.
47111         (__lxstat): Do not use CHECK_1.
47112         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
47113         <bp-checks.h>.
47114         (__xstat): Do not use CHECK_1.
47115         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
47116         (__xstat): Do not use CHECK_1.
47117         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
47118         (___xstat64): Do not use CHECK_1.
47120         [BZ #13550]
47121         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
47122         definitions.
47123         (CHECK_BOUNDS_HIGH): Likewise.
47124         * string/strcpy.c: Do not include <bp-checks.h>.
47125         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
47127 2013-02-07  Roland McGrath  <roland@hack.frob.com>
47129         * nscd/nscd-client.h (__nscd_drop_map_ref):
47130         Add __attribute__ ((unused)).
47131         * nis/nss-nisplus.h (niserr2nss): Likewise.
47133         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
47134         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
47136         * csu/libc-tls.c (init_static_tls, init_slotinfo):
47137         Remove inline keyword.
47138         * include/rounding-mode.h (round_away): Likewise.
47139         * libio/wfileops.c (adjust_wide_data): Likewise.
47140         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
47141         (__m128i_strloadu_tolower): Likewise.
47142         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
47143         (__m128i_strloadu_tolower): Likewise.
47144         * time/mktime.c (ydhms_diff): Likewise.
47145         * locale/elem-hash.h (elem_hash): Likewise.
47146         * locale/setlocale.c (setdata): Likewise.
47147         * posix/regex_internal.h (re_string_char_size_at): Likewise.
47148         (re_string_wchar_at): Likewise.
47149         (bitset_not, bitset_merge, bitset_mask): Likewise.
47150         [!(__GNUC__ > 3)] (inline): Remove macro.
47151         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
47152         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
47153         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
47154         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
47155         * string/memcmp.c (memcmp_bytes): Likewise.
47156         * locale/programs/locarchive.c (compute_hashval): Likewise.
47157         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
47158         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
47159         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
47160         * nss/getent.c (print_rpc, print_protocols): Likewise.
47161         (print_passwd, print_group, print_aliases): Likewise.
47162         * nis/nss-nisplus.h (niserr2nss): Likewise.
47163         * nscd/connections.c (restart_p): Likewise.
47164         Change return type to bool.
47166 2013-02-05  Roland McGrath  <roland@hack.frob.com>
47168         * Makeconfig (all-Depend-files): Add existing
47169         $(sorted-subdirs:=/Depend) files.
47170         (all-subdirs): Remove nss.
47171         * sysdeps/unix/inet/Subdirs: Add it here instead.
47172         * hesiod/Depend: New file.
47174         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
47175         instead of calling alloca.
47177         * io/lseek.c (__lseek): Rename to __libc_lseek.
47178         Define __lseek as an alias.
47180         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
47182 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
47184         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
47185         else clause and remove check for non-standard endianness.
47187 2013-02-04  David S. Miller  <davem@davemloft.net>
47189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47191 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
47193         [BZ #13550]
47194         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
47195         (__ubp_memchr): Remove prototype.
47196         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
47197         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47198         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
47199         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47200         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
47201         Remove alias.
47202         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
47203         (__ubp_memchr): Likewise.
47204         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
47205         (__ubp_memchr): Likewise.
47206         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
47207         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
47208         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
47209         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
47210         CHECK_STRING.
47211         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47212         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
47213         (__getcwd): Do not use CHECK_STRING.
47214         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47215         <bp-checks.h>.
47216         (__real_chown): Do not use CHECK_STRING.
47217         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
47218         <bp-checks.h>.
47219         (fchownat): Do not use CHECK_STRING.
47220         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
47221         CHECK_STRING.
47222         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47223         <bp-checks.h>.
47224         (__lchown): Do not use CHECK_STRING.
47225         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47226         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47227         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47228         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
47229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47230         include <bp-checks.h>.
47231         (truncate64): Do not use CHECK_STRING.
47232         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47233         <bp-checks.h>.
47234         (__real_chown): Do not use CHECK_STRING.
47235         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47236         <bp-checks.h>.
47237         (__lchown): Do not use CHECK_STRING.
47238         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47239         <bp-checks.h>.
47240         (__chown): Do not use CHECK_STRING.
47241         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
47242         <bp-checks.h>.
47243         (truncate64): Do not use CHECK_STRING.
47244         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
47245         Likewise.
47246         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
47247         (__xmknod): Do not use CHECK_STRING.
47248         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47249         <bp-checks.h>.
47250         (__xmknodat): Do not use CHECK_STRING.
47251         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47252         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
47254 2013-02-04  Andreas Schwab  <schwab@suse.de>
47256         [BZ #14142]
47257         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
47258         * include/netdb.h: Likewise for h_errno.
47259         * elf/tst-stackguard1.c: Include <tls.h>.
47261 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
47263         * elf/link.h (struct link_map): Extend the l_addr comment.
47264         * include/link.h (struct link_map): Likewise.
47266 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
47268         [BZ #13550]
47269         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
47270         (BOUNDED_1): Remove macro.
47271         * debug/backtrace.c: Don't include <bp-checks.h>.
47272         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
47273         (__backtrace): Likewise.
47274         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
47275         <bp-checks.h>.
47276         (__backtrace): Don't use BOUNDED_1.
47277         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
47278         <bp-checks.h>.
47279         (__backtrace): Don't use BOUNDED_1.
47280         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
47281         (__backtrace): Don't use BOUNDED_1.
47282         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
47283         (shmat): Don't use BOUNDED_N.
47285 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
47287         [BZ #13550]
47288         * sysdeps/generic/bp-start.h: Remove file.
47289         * csu/libc-start.c: Don't include <bp-start.h>.
47290         (LIBC_START_MAIN): Set up __environ directly instead of using
47291         INIT_ARGV_and_ENVIRON.
47292         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
47293         <bp-start.h>.
47295         [BZ #13550]
47296         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
47297         definitions.
47298         (CHECK_FCNTL): Likewise.
47299         (CHECK_N_PAGES): Likewise.
47301         [BZ #13550]
47302         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
47303         definitions.
47304         (CHECK_SIGSET_NULL_OK): Likewise.
47305         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
47306         <bp-checks.h>.
47307         (sigpending): Don't use CHECK_SIGSET.
47308         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
47309         <bp-checks.h>.
47310         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47311         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
47312         <bp-checks.h>.
47313         (do_sigsuspend): Don't use CHECK_SIGSET.
47314         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
47315         use CHECK_SIGSET.
47316         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
47317         (do_sigwait): Don't use CHECK_SIGSET.
47318         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
47319         use CHECK_SIGSET.
47320         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
47321         include <bp-checks.h>.
47322         (sigpending): Don't use CHECK_SIGSET.
47323         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
47324         include <bp-checks.h>.
47325         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47326         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
47327         <bp-checks.h>.
47328         (sigpending): Don't use CHECK_SIGSET.
47329         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
47330         <bp-checks.h>.
47331         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47333         [BZ #13550]
47334         * sysdeps/generic/bp-semctl.h: Remove file.
47335         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
47336         <bp-checks.h> and <bp-semctl.h>.
47337         (__old_semctl): Don't use CHECK_SEMCTL.
47338         (__new_semctl): Likewise.
47339         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
47340         and <bp-semctl.h>.
47341         (__old_semctl): Don't use CHECK_SEMCTL.
47342         (__new_semctl): Likewise.
47343         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
47344         <bp-checks.h> and <bp-semctl.h>.
47345         (__old_semctl): Don't use CHECK_SEMCTL.
47346         (__new_semctl): Likewise.
47347         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
47348         <bp-checks.h> and <bp-semctl.h>.
47349         (semctl): Don't use CHECK_SEMCTL.
47351         [BZ #13550]
47352         * Makerules (elide-bp-thunks): Remove variable.
47353         (elide-routines.oS): Don't use $(elide-bp-thunks).
47354         (elide-routines.os): Likewise.
47355         (elide-routines.o): Likewise.
47356         (elide-routines.op): Likewise.
47357         (elide-routines.og): Likewise.
47358         (objects): Don't use $(bp-thunks).
47359         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
47360         include.
47361         (common-generated): Do not add s-proto-bp.d.
47362         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
47363         (int): Likewise.
47364         (typ): Likewise.
47365         Do not generate makefile rules for bounded-pointer thunks.
47366         * sysdeps/generic/bp-thunks.h: Remove file.
47367         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
47368         * sysdeps/unix/s-proto-bp.S: Likewise.
47370         [BZ #15062]
47371         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
47372         parts of result separately when argument is not close to line from
47373         -i to i and one part of argument is small.
47374         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47375         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47376         * math/libm-test.inc (cacos_test): Add more tests.
47377         (casin_test): Likewise.
47378         (casinh_test): Likewise.
47379         * sysdeps/i386/fpu/libm-test-ulps: Update.
47380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47382 2013-01-31  David S. Miller  <davem@davemloft.net>
47384         * po/de.po: Update from translation team.
47386 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
47388         * time/tzfile.c: Include stdint.h for SIZE_MAX.
47390 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
47392         * configure.in (_AC_PROG_CC_C89): New definition.
47393         * configure: Regenerate.
47395         * configure.in (AC_PROG_CPP): New definition.
47396         * configure: Regenerate.
47398 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47400         * debug/tst-backtrace.h: New file.
47401         * debug/tst-backtrace2.c: Include tst-backtrace.h.
47402         (ret): Remove variable.
47403         (x): Likewise.
47404         (FAIL): Remove macro.
47405         (NO_INLINE): Likewise.
47406         (fn1): Use match function instead of strstr.
47407         * debug/tst-backtrace3.c: Include tst-backtrace.h.
47408         (ret): Remove variable.
47409         (x): Likewise.
47410         (FAIL): Remove macro.
47411         (NO_INLINE): Likewise.
47412         (fn): Use match function instead of strstr.
47413         * debug/tst-backtrace4.c: Include tst-backtrace.h.
47414         (ret): Remove variable.
47415         (x): Likewise.
47416         (FAIL): Remove macro.
47417         (NO_INLINE): Likewise.
47418         (handle_signal): Use match function instead of strstr.
47419         * debug/tst-backtrace5.c: Include tst-backtrace.h.
47420         (ret): Remove variable.
47421         (x): Likewise.
47422         (FAIL): Remove macro.
47423         (NO_INLINE): Likewise.
47424         (handle_signal): Use match function instead of strstr.
47426 2013-01-23  Roland McGrath  <roland@hack.frob.com>
47428         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
47430 2013-01-23  David S. Miller  <davem@davemloft.net>
47432         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
47433         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
47434         argument of CAS if possible.
47435         * sysdeps/sparc/sparc64/bits/atomic.h
47436         (__arch_compare_and_exchange_val_32_acq): Likewise.
47437         (__arch_compare_and_exchange_val_64_acq): Likewise.
47439 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
47441         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
47442         * sysdeps/posix/ulimit.c: ... this.
47443         Include <limits.h>.
47444         * sysdeps/unix/bsd/ulimit.c: Remove file.
47446 2013-01-23  Adam Conrad  <adconrad@0c3.net>
47448         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
47449         (LDFLAGS-tst-array5): Likewise.
47451 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47453         [BZ #15036]
47454         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
47455         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
47456         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
47457         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
47459 2013-01-21  David S. Miller  <davem@davemloft.net>
47461         * sysdeps/sparc/backtrace.c: New file.
47462         * sysdeps/sparc/sparc32/backtrace.h: New file.
47463         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
47464         * sysdeps/sparc/sparc64/backtrace.h: New file.
47465         * sysdeps/sparc/sparc64/backtrace.c: Delete.
47466         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
47467         -funwind-tables.
47469 2013-01-21  Andreas Schwab  <schwab@suse.de>
47471         [BZ #15020]
47472         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
47473         closed its stdout.
47475 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
47477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
47478         "mpa2.h".
47479         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47481 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
47482             Mark Mitchell  <mark@codesourcery.com>
47483             Tom de Vries  <tom@codesourcery.com>
47484             Paul Pluzhnikov  <ppluzhnikov@google.com>
47486         * debug/tst-backtrace2.c: New file.
47487         * debug/tst-backtrace3.c: Likewise.
47488         * debug/tst-backtrace4.c: Likewise.
47489         * debug/tst-backtrace5.c: Likewise.
47490         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
47491         (CFLAGS-tst-backtrace3.c): Likewise.
47492         (CFLAGS-tst-backtrace4.c): Likewise.
47493         (CFLAGS-tst-backtrace5.c): Likewise.
47494         (LDFLAGS-tst-backtrace2): Likewise.
47495         (LDFLAGS-tst-backtrace3): Likewise.
47496         (LDFLAGS-tst-backtrace4): Likewise.
47497         (LDFLAGS-tst-backtrace5): Likewise.
47498         (tests): Add new tests tst-backtrace2, tst-backtrace3,
47499         tst-backtrace4 and tst-backtrace5.
47501 2013-01-18  Anton Blanchard  <anton@samba.org>
47502             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47504         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
47505         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
47506         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
47507         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
47508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47509         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
47510         "+r" and remove output regs list as redundant.  Add explicit inline
47511         asm to specify register of return val to work around compiler codegen
47512         bug.  Remove (int) cast on return value.  Add return type parameter to
47513         use in macro so that this macro does not truncate return value for
47514         64-bit values.
47515         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
47516         pass to INTERNAL_VSYSCALL_NCS.
47517         (INLINE_VSYSCALL): Add 'long int' as return type to
47518         INTERNAL_VSYSCALL_NCS macro invocation.
47519         (INTERNAL_VSYSCALL): Add 'long int' as return type to
47520         INTERNAL_VSYSCALL_NCS macro invocation.
47521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47523 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47525         [BZ #14496]
47526         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
47527         Fix application of SIMD FP exception mask.
47529         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
47530         mp_no from a power of two.
47531         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
47532         __mpexp_twomm1.  Use __pow_mp.
47534         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
47535         multiplication.
47537 2013-01-17  David S. Miller  <davem@davemloft.net>
47539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47541 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47543         [BZ #15023]
47544         * include/complex.h: Condition contents on [!_COMPLEX_H].
47545         (__kernel_casinhf): New prototype.
47546         (__kernel_casinh): Likewise.
47547         (__kernel_casinhl): Likewise.
47548         * math/Makefile (libm_calls): Add k_casinh.
47549         * math/k_casinh.c: New file.
47550         * math/k_casinhf.c: Likewise.
47551         * math/k_casinhl.c: Likewise.
47552         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
47553         finite nonzero arguments.
47554         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
47555         finite nonzero arguments.
47556         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
47557         finite nonzero arguments.
47558         * math/s_casinh.c: Do not include <float.h>.
47559         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
47560         * math/s_casinhf.c: Do not include <float.h>.
47561         (__casinhf): Move code for finite nonzero arguments to
47562         k_casinhf.c.
47563         * math/s_casinhl.c: Do not include <float.h>.
47564         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
47565         redefine.
47566         (__casinhl): Move code for finite nonzero arguments to
47567         k_casinhl.c.
47568         * math/libm-test.inc (cacos_test): Add more tests.
47569         * sysdeps/i386/fpu/libm-test-ulps: Update.
47570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47572 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
47574         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
47575         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
47576         [!HAVE_MREMAP]: Remove [defined linux] case.
47577         * malloc/arena.c: Do not include <malloc-sysdep.h>.
47579 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47581         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
47583 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
47585         * elf/elf.h (R_386_SIZE32): New relocation.
47586         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
47587         R_386_SIZE32.
47588         (elf_machine_rela): Likewise.
47589         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47590         R_X86_64_SIZE64 and R_X86_64_SIZE32.
47592 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47594         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
47595         (FP_FAST_FMA): Do not define.
47596         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
47597         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
47598         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
47599         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
47600         !_SOFT_FLOAT]: Likewise.
47601         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
47602         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
47603         value.
47604         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
47605         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
47606         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
47607         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
47608         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
47609         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
47610         file.
47612 2013-01-16  Andreas Schwab  <schwab@suse.de>
47614         [BZ #14327]
47615         * include/stdlib.h (__mktemp): Add declaration.
47616         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
47617         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
47619 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47621         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
47622         definitions.
47623         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47624         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
47625         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
47626         definitions here.
47627         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
47628         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
47629         definitions.
47630         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
47631         and ONE.
47632         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
47633         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
47634         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
47635         definitions.
47636         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
47637         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
47638         definitions.
47639         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47641         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
47643 2013-01-15  David S. Miller  <davem@davemloft.net>
47645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47646         trunc{,f} to libm-sysdep_routes.
47647         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
47649         file.
47650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
47651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
47652         file.
47653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
47654         file.
47655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
47656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
47657         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
47658         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
47659         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
47660         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
47661         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
47662         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
47664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47665         nearbyint{,f} to libm-sysdep_routes.
47666         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
47668         New file.
47669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
47670         file.
47671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
47672         New file.
47673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
47674         file.
47675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
47676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
47677         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
47678         file.
47679         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
47680         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
47681         file.
47682         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
47683         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
47684         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
47686         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47687         libc_feholdexcept and libc_fesetenv.
47689 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
47691         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
47693 2013-01-14  David S. Miller  <davem@davemloft.net>
47695         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
47696         (SPARC_ASM_VIS2_IFUNC): Likewise.
47697         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
47698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
47699         use of 'siam' instruction.
47700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
47701         Likewise.
47702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
47703         Likewise.
47704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
47705         Likewise.
47706         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
47707         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
47708         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
47709         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
47710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
47711         file.
47712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
47713         file.
47714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
47715         file.
47716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
47717         file.
47718         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
47719         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
47720         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
47721         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
47722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
47723         new VIS2 routines.
47724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47727         Likewise.
47728         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47729         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47730         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47731         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
47733         routines to libm-sysdep_routines.
47734         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47737         fdim/fdimf to libm-sysdep_routines.
47738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
47739         file.
47740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
47741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
47742         file.
47743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
47744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
47745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
47746         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
47747         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
47748         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
47749         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
47751 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47753         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
47754         to optimize copies.
47756         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
47757         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47758         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47760         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
47761         local variable MPTWO.
47762         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47763         Likewise.
47765 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47767         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
47768         GLOB_NOESCAPE.
47770 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47772         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
47774 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47776         * manual/pattern.texi (glob_t): Document gl_flags.
47777         (glob64_t): Likewise.
47779 2013-01-11  David S. Miller  <davem@davemloft.net>
47781         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
47782         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
47783         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
47784         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
47785         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
47786         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
47787         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
47788         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
47789         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
47790         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
47791         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
47792         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
47793         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
47795         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47796         sparc V9 rather than using V8 code.
47797         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47798         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47800         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47801         Move to...
47802         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
47803         Here.
47805 2013-01-11  Roland McGrath  <roland@hack.frob.com>
47807         [BZ #14941]
47808         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
47809         not in the main loop.
47810         * configure: Regenerated.
47812 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
47814         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
47815         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
47816         to just #else.
47817         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
47818         [!__GLIBC_HAVE_LONG_LONG] case.
47819         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
47820         condition to just #else.
47821         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
47822         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
47823         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
47824         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
47825         unconditional.
47826         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
47827         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47828         #elif condition to just #else.
47829         * sysdeps/unix/sysv/linux/sys/sysmacros.h
47830         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
47831         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47832         #elif condition to just #else.
47834 2013-01-11  Steve Ellcey  <sellcey@mips.com>
47836         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
47837         (EF_MIPS_ARCH_64): Fix value.
47838         (EF_MIPS_ARCH_32R2): New.
47839         (EF_MIPS_ARCH_64R2): New.
47841 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
47843         * Makeconfig (+link-pie-before-libc): New.
47844         (+link-pie-after-libc): Likewise.
47845         (+link-pie-tests): Likewise.
47846         (+link-pie): Rewritten.
47847         (link-before-libc): Remove $(config-LDFLAGS).
47848         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
47849         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
47850         (config-LDFLAGS): Renamed to ...
47851         (rtld-LDFLAGS): This.
47852         (rtld-tests-LDFLAGS): New macro.
47853         (link-libc-rpath-link): Likewise.
47854         (link-libc-tests-rpath-link): Likewise.
47855         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
47856         (link-libc): Prepand $(link-libc-rpath-link).
47857         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
47858         (test-program-prefix): New macro.
47859         (test-via-rtld-prefix): Likewise.
47860         (test-program-cmd): Likewise.
47861         (host-test-program-cmd): Likewise.
47862         * Makefile ($(common-objpfx)testrun.sh): Replace
47863         $(run-program-prefix) with $(test-program-prefix).
47864         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
47865         $(rtld-LDFLAGS).
47866         ($(common-objpfx)shlib.lds): Likewise.
47867         (build-module-helper): Likewise.
47868         ($(common-objpfx)format.lds): Likewise.
47869         * Rules (binaries-pie-tests): New.
47870         (binaries-pie-notests): Likewise.
47871         (binaries-pie): Rewritten.
47872         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
47873         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
47874         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
47875         (make-test-out): Replace $(host-built-program-cmd) with
47876         $(host-test-program-cmd).
47877         * config.make.in (build-hardcoded-path-in-tests): New variable.
47878         * configure.in (--enable-hardcoded-path-in-tests): New configure
47879         option.
47880         (hardcoded_path_in_tests): New AC_SUBST.
47881         * configure: Regenerated.
47882         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
47883         $(built-program-cmd) with $(test-program-cmd).
47884         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
47885         (test_program_cmd): This.
47886         * elf/Makefile ($(objpfx)order.out): Run test with
47887         $(test-program-prefix).
47888         ($(objpfx)order2.out): Likewise.
47889         ($(objpfx)tst-initorder.out): Likewise.
47890         ($(objpfx)tst-initorder2.out): Likewise.
47891         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
47892         $(test-program-cmd).
47893         ($(objpfx)tst-array1-static.out): Likewise.
47894         ($(objpfx)tst-array2.out): Likewise.
47895         ($(objpfx)tst-array3.out): Likewise.
47896         ($(objpfx)tst-array4.out): Likewise.
47897         ($(objpfx)tst-array5.out): Likewise.
47898         ($(objpfx)tst-array5-static.out): Likewise.
47899         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
47900         $(test-program-cmd).
47901         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
47902         $(run-program-prefix) with $(test-program-prefix).
47903         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
47904         (test_program_prefix): This.
47905         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
47906         $(run-program-prefix) with $(test-program-prefix).
47907         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
47908         (test_program_prefix): This.
47909         * iconvdata/tst-tables.sh: Likewise.
47910         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
47911         $(run-program-prefix) with $(test-program-prefix).
47912         ($(objpfx)tst-translit.out): Likewise.
47913         ($(objpfx)tst-gettext2.out): Likewise.
47914         ($(objpfx)tst-gettext4.out): Likewise.
47915         ($(objpfx)tst-gettext6.out): Likewise.
47916         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
47917         (test_program_prefix): This.
47918         * intl/tst-gettext2.sh: Likewise.
47919         * intl/tst-gettext4.sh  Likewise.
47920         * intl/tst-gettext6.sh: Likewise.
47921         * intl/tst-translit.sh: Likewise.
47922         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
47923         with $(test-program-cmd).
47924         * libio/Makefile ($(objpfx)test-freopen.out): Replace
47925         $(run-program-prefix) with $(test-program-prefix).
47926         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
47927         (test_program_prefix): This.
47928         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
47929         $(run-program-prefix) with $(test-program-prefix).
47930         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
47931         (test_program_prefix): This.
47932         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
47933         * posix/Makefile ($(objpfx)globtest.out): Replace
47934         $(run-via-rtld-prefix) and $(test-wrapper) with
47935         $(test-program-prefix) and $(test-via-rtld-prefix).
47936         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
47937         $(test-program-prefix).
47938         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
47939         $(host-test-program-cmd).
47940         (tst-spawn-ARGS): Likewise.
47941         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
47942         $(test-program-prefix).
47943         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
47944         (test_via_rtld_prefix): This.
47945         (test_wrapper): Renamed to ...
47946         (test_program_prefix): This.
47947         (run_program_prefix): Replaced by test_program_prefix.
47948         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
47949         (test_program_prefix): This.
47950         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
47951         with $(host-test-program-cmd).
47952         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
47953         $(run-program-prefix) with $(test-program-prefix).
47954         ($(objpfx)tst-printf.out): Likewise.
47955         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
47956         $(test-program-cmd).
47957         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
47958         (test_program_prefix): This.
47959         * stdio-common/tst-unbputc.sh: Likewise.
47960         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
47961         $(run-program-prefix) with $(test-program-prefix).
47962         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
47963         (test_program_prefix): This.
47964         * string/Makefile ($(objpfx)tst-svc.out):  Replace
47965         $(built-program-cmd) with $(test-program-cmd).
47967 2013-01-11  Andreas Jaeger  <aj@suse.de>
47969         [BZ #15003]
47970         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
47971         value. Sync with Linux 3.7.
47973 2013-01-10  David S. Miller  <davem@davemloft.net>
47975         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
47976         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47977         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47979 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47981         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
47982         never set.
47983         * configure: Regenerated.
47985 2013-01-10  David S. Miller  <davem@davemloft.net>
47987         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47988         sparc V9 rather than using V8 code.
47989         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47990         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47992 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47994         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
47995         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
47996         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
47997         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
47998         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
47999         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
48000         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
48001         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
48002         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
48003         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
48004         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
48005         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
48006         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
48007         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
48008         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
48009         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
48010         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
48011         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
48012         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
48013         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
48014         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
48015         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
48016         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
48017         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
48018         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
48019         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
48020         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
48022 2013-01-10  David S. Miller  <davem@davemloft.net>
48024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48026 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48028         * posix/Makefile (tests-static): New variable.
48029         (tests): Add $(tests-static).
48030         (tst-exec-static-ARGS): New variable.
48031         (tst-spawn-static-ARGS): Likewise.
48032         * posix/tst-exec-static.c: New file.
48033         * posix/tst-spawn-static.c: Likewise.
48034         * posix/tst-exec.c: Support run directly.
48035         * posix/tst-spawn.c: Likewise.
48037 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
48039         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
48040         long.
48041         * math/bits/mathcalls.h (llrint): Likewise.
48042         (llround): Likewise.
48043         * stdlib/stdlib.h (struct drand48_data): Likewise.
48044         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
48045         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
48046         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
48047         Likewise.
48048         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
48049         Likewise.
48050         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
48051         (elf_greg_t): Likewise.
48052         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
48053         (__jmp_buf): Likewise.
48054         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
48055         definitions.
48056         (llrint): Likewise, for all definitions.
48057         (llrintl): Likewise.
48059         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
48060         Remove [__GNUC__] condition.
48061         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
48062         condition to just [__USE_ISOC99].
48063         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
48065 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
48067         [BZ #14200]
48068         * sysdeps/unix/sysv/linux/x86/bits/environments.h
48069         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
48070         defined.
48071         (_POSIX_V6_ILP32_OFF32): Likewise.
48072         (_XBS5_ILP32_OFF32): Likewise.
48073         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
48074         (__ILP32_OFFBIG_LDFLAGS): Likewise.
48076 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48078         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
48080         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
48081         doubles __mpexp_twomm1.  Adjust usage.
48082         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
48083         Remove.
48085 2013-01-10  Andreas Schwab  <schwab@suse.de>
48087         [BZ #14964]
48088         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
48089         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
48091 2013-01-09  David S. Miller  <davem@davemloft.net>
48093         [BZ #15003]
48094         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
48095         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
48096         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
48097         (TCP_FASTOPEN): Define.
48098         (tcp_repair_opt): New structure.
48099         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
48100         enum values.
48101         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
48102         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
48103         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
48104         (tcp_cookie_transactions): New structure.
48106 2013-01-09  Anton Blanchard  <anton@samba.org>
48108         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
48109         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
48110         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
48111         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
48113 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
48115         * include/features.h (__USE_ANSI): Remove.
48117 2013-01-09  Roland McGrath  <roland@hack.frob.com>
48119         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
48121         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
48123 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
48125         * sysdeps/s390/fpu/libm-test-ulps: Update.
48127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48129         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
48130         (__acr): Likewise.
48131         (__cpy): Likewise.
48132         (norm): Likewise.
48133         (denorm): Likewise.
48134         (__mp_dbl): Likewise.
48135         (__dbl_mp): Likewise.
48136         (add_magnitudes): Likewise.
48137         (sub_magnitudes): Likewise.
48138         (__add): Likewise.
48139         (__sub): Likewise.
48140         (__mul): Likewise.
48141         (__inv): Likewise.
48142         (__dvd): Likewise.
48143         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
48144         (__acr): Likewise.
48145         (__cpy): Likewise.
48146         (norm): Likewise.
48147         (denorm): Likewise.
48148         (__mp_dbl): Likewise.
48149         (__dbl_mp): Likewise.
48150         (add_magnitudes): Likewise.
48151         (sub_magnitudes): Likewise.
48152         (__add): Likewise.
48153         (__sub): Likewise.
48154         (__mul): Likewise.
48155         (__inv): Likewise.
48156         (__dvd): Likewise.
48157         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
48158         (__acr): Likewise.
48159         (__cpy): Likewise.
48160         (norm): Likewise.
48161         (denorm): Likewise.
48162         (__mp_dbl): Likewise.
48163         (__dbl_mp): Likewise.
48164         (add_magnitudes): Likewise.
48165         (sub_magnitudes): Likewise.
48166         (__add): Likewise.
48167         (__sub): Likewise.
48168         (__mul): Likewise.
48169         (__inv): Likewise.
48170         (__dvd): Likewise.
48172 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
48174         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
48175         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
48176         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
48177         2 && __USE_EXTERN_INLINES]: Likewise.
48179 2013-01-08  Andreas Jaeger  <aj@suse.de>
48181         [BZ# 14985]
48182         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
48183         Remove.
48184         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48185         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48187 2013-01-07  Anton Blanchard  <anton@samba.org>
48189         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
48190         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48191         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
48192         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48193         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48194         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48195         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
48196         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48197         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48198         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48199         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48200         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48201         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48202         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48203         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48204         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48205         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48206         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48207         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48208         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48209         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48210         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
48211         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48212         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48213         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
48214         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48215         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48216         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48217         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
48218         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48219         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48220         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48221         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48222         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48223         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48224         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48225         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48226         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48227         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
48228         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48229         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
48230         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48231         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48233 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
48235         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
48236         (__MALLOC_PMT): Likewise.
48237         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
48238         [__GNUC__], only on [_LIBC].
48239         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48240         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
48241         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48242         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
48243         forward declaration.
48244         (realloc_hook_ini): Likewise.
48245         (memalign_hook_ini): Likewise.
48246         (__libc_memalign): Do not use __MALLOC_PMT in variable
48247         declaration.
48248         (__libc_valloc): Likewise.
48249         (__libc_pvalloc): Likewise.
48250         (__libc_calloc): Likewise.
48251         (__posix_memalign): Likewise.
48253         [BZ #14996]
48254         * math/s_casinh.c: Include <float.h>.
48255         (__casinh): Do not do computation with squaring and square root
48256         for large arguments.
48257         * math/s_casinhf.c: Include <float.h>.
48258         (__casinhf): Do not do computation with squaring and square root
48259         for large arguments.
48260         * math/s_casinhl.c: Include <float.h>.
48261         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
48262         (__casinhl): Do not do computation with squaring and square root
48263         for large arguments.
48264         * math/libm-test.inc (casin_test): Add more tests.
48265         (casinh_test): Likewise.
48266         * sysdeps/i386/fpu/libm-test-ulps: Update.
48267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48269 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
48271         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
48272         (__x86_64_raw_data_cache_size): Likewise.
48273         (__x86_64_data_cache_size_half): Likewise.
48274         (__x86_64_raw_data_cache_size_half): Likewise.
48275         (__x86_64_shared_cache_size): Likewise.
48276         (__x86_64_raw_shared_cache_size): Likewise.
48277         (__x86_64_shared_cache_size_half): Likewise.
48278         (__x86_64_raw_shared_cache_size_half): Likewise.
48279         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
48280         to ...
48281         (__x86_data_cache_size): This.
48282         (__x86_64_raw_data_cache_size): Renamed to ...
48283         (__x86_raw_data_cache_size): This.
48284         (__x86_64_data_cache_size_half): Renamed to ...
48285         (__x86_data_cache_size_half): This.
48286         (__x86_64_raw_data_cache_size_half): Renamed to ...
48287         (__x86_raw_data_cache_size_half): This.
48288         (__x86_64_shared_cache_size): Renamed to ...
48289         (__x86_shared_cache_size): This.
48290         (__x86_64_raw_shared_cache_size): Renamed to ...
48291         (__x86_raw_shared_cache_size): This.
48292         (__x86_64_shared_cache_size_half): Renamed to ...
48293         (__x86_shared_cache_size_half): This.
48294         (__x86_64_raw_shared_cache_size_half): Renamed to ...
48295         (__x86_raw_shared_cache_size_half): This.
48296         * sysdeps/x86_64/memcpy.S: Updated.
48297         * sysdeps/x86_64/memset.S: Likewise.
48298         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48299         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48300         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48302 2013-01-04  David S. Miller  <davem@davemloft.net>
48304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48306 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
48308         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
48309         1 to avoid redefinition warning.
48310         (__USE_GNU): Don't define.
48311         (init_signaling_nan): Protoize.
48313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48315 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48317         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
48318         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
48319         (__cpymn): Likewise.
48320         (norm): Remove commented code.
48321         (denorm): Likewise.
48322         (__mp_dbl): Likewise.
48323         (__inv): Likewise.
48324         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
48325         (__cpymn): Likewise.
48326         (norm): Remove commented code.
48327         (denorm): Likewise.
48328         (__mp_dbl): Likewise.
48329         (__inv): Likewise.
48331         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
48332         mp_no value for 1.0 and 2.0.
48333         (norm): Use RADIXI instead of radixi.d.
48334         (denorm): Likewise.
48335         (__mul): Use 0.0 instead of zero.d.
48336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
48337         mp_no value for 1.0 and 2.0.
48338         (norm): Use RADIXI instead of radixi.d.
48339         (denorm): Likewise.
48340         (__mul): Use 0.0 instead of zero.d.
48342 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
48344         [BZ #14994]
48345         * math/s_casinh.c (__casinh): Reduce finite argument to first
48346         quadrant then set signs of results at the end.
48347         * math/s_casinhf.c (__casinhf): Likewise.
48348         * math/s_casinhl.c (__casinhl): Likewise.
48349         * math/libm-test.inc (casin_test): Add more tests.
48350         (casinh_test): Likewise.
48351         * sysdeps/i386/fpu/libm-test-ulps: Update.
48352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48354 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48356         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
48358         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
48360         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
48361         declarations.
48362         (denorm): Likewise.
48363         (__mp_dbl): Likewise.
48364         (__inv): Likewise.
48366         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
48367         and adjust the header comment.
48369         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
48370         variable name from declaration.
48372 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
48374         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48375         Initialize COMMON_CPUID_INDEX_7 element.
48376         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
48377         (CPUID_RTM): Likewise.
48378         (HAS_RTM): Likewise.
48379         (COMMON_CPUID_INDEX_7): New enum.
48381 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
48383         [BZ #14981]
48384         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
48385         size is zero, record memory as freed.
48387 2013-01-03  Andreas Jaeger  <aj@suse.de>
48389         * po/ia.po: Add new Interlingua translation.
48391 2012-01-03  Allan McRae  <allan@archlinux.org>
48393         * locale/programs/localedef.c: Fix description of '--posix' flag.
48395 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
48397         * NEWS: Update dates in second copyright notice.
48398         * README: Update copyright dates in example.
48399         * manual/libc.texinfo: Update copyright dates.
48400         * scripts/test-installation.pl: Update copyright date in --version
48401         output.
48403         * hurd/ctty-input.c: Fix copyright notice formatting.
48404         * hurd/ctty-output.c: Likewise.
48405         * hurd/dtable.c: Likewise.
48406         * hurd/hurd-raise.c: Likewise.
48407         * hurd/hurdprio.c: Likewise.
48408         * hurd/msgportdemux.c: Likewise.
48409         * misc/sys/file.h: Likewise.
48410         * misc/sys/ioctl.h: Likewise.
48411         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48412         * sysdeps/mach/hurd/chdir.c: Likewise.
48413         * sysdeps/mach/hurd/fchdir.c: Likewise.
48414         * sysdeps/mach/hurd/rename.c: Likewise.
48415         * sysdeps/mach/hurd/rmdir.c: Likewise.
48416         * sysdeps/mach/hurd/seekdir.c: Likewise.
48417         * sysdeps/mach/hurd/setsid.c: Likewise.
48418         * sysdeps/posix/wait3.c: Likewise.
48420         * All files with FSF copyright notices: Update copyright dates
48421         using scripts/update-copyrights.
48422         * intl/plural.c: Regenerated.
48423         * locale/programs/charmap-kw.h: Likewise.
48424         * locale/programs/locfile-kw.h: Likewise.
48426 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48428         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
48429         four values.
48431         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
48432         calculation loop and add branch prediction.
48434         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
48435         check access beyond bounds of m1np.
48437         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48438         MPTWO.
48439         (__inv): Remove local variable MPTWO to use the global
48440         constant.
48441         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
48442         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48443         variable MPTWO.
48444         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
48445         MP3HALFS static const.
48447 2013-01-01  David S. Miller  <davem@davemloft.net>
48449         * po/ca.po: Update from translation team.
48451 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
48453         * scripts/update-copyrights: New file.
48454         * Makeconfig: Reformat copyright notice.
48455         * ctype/ctype.h: Likewise.
48456         * debug/swprintf_chk.c: Likewise.
48457         * elf/dl-cache.c: Likewise.
48458         * elf/dl-debug.c: Likewise.
48459         * elf/dl-object.c: Likewise.
48460         * grp/initgroups.c: Likewise.
48461         * hurd/Makefile: Likewise.
48462         * hurd/hurd/signal.h: Likewise.
48463         * hurd/hurdfault.c: Likewise.
48464         * hurd/hurdioctl.c: Likewise.
48465         * hurd/hurdlookup.c: Likewise.
48466         * hurd/intr-msg.c: Likewise.
48467         * iconv/gconv_open.c: Likewise.
48468         * libio/swprintf.c: Likewise.
48469         * locale/lc-ctype.c: Likewise.
48470         * locale/nl_langinfo.c: Likewise.
48471         * mach/Machrules: Likewise.
48472         * mach/Makefile: Likewise.
48473         * malloc/obstack.h: Likewise.
48474         * manual/Makefile: Likewise.
48475         * manual/tsort.awk: Likewise.
48476         * misc/bits/stab.def: Likewise.
48477         * nis/nis_print_group_entry.c: Likewise.
48478         * nis/nis_table.c: Likewise.
48479         * nis/nss_compat/compat-pwd.c: Likewise.
48480         * nis/nss_compat/compat-spwd.c: Likewise.
48481         * po/Makefile: Likewise.
48482         * posix/fnmatch.c: Likewise.
48483         * posix/regex.h: Likewise.
48484         * resolv/Makefile: Likewise.
48485         * resolv/nss_dns/dns-network.c: Likewise.
48486         * resolv/res_hconf.c: Likewise.
48487         * scripts/gen-sorted.awk: Likewise.
48488         * soft-fp/soft-fp.h: Likewise.
48489         * stdio-common/printf.h: Likewise.
48490         * stdlib/monetary.h: Likewise.
48491         * stdlib/random.c: Likewise.
48492         * stdlib/random_r.c: Likewise.
48493         * sysdeps/generic/Makefile: Likewise.
48494         * sysdeps/gnu/Makefile: Likewise.
48495         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48496         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48497         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48498         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48499         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48500         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48501         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48502         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48503         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48504         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48505         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48506         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48507         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48508         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48509         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
48510         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48511         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48512         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48513         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48514         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48515         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48516         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48517         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48518         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48519         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
48520         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48521         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48522         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
48523         * sysdeps/mach/hurd/errnos.awk: Likewise.
48524         * sysdeps/mach/hurd/fork.c: Likewise.
48525         * sysdeps/mach/hurd/getcwd.c: Likewise.
48526         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
48527         * sysdeps/mach/hurd/mmap.c: Likewise.
48528         * sysdeps/mach/hurd/utimes.c: Likewise.
48529         * sysdeps/mach/hurd/xmknod.c: Likewise.
48530         * sysdeps/posix/profil.c: Likewise.
48531         * sysdeps/posix/readdir_r.c: Likewise.
48532         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48533         * sysdeps/powerpc/bits/setjmp.h: Likewise.
48534         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
48535         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48536         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48537         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48538         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48539         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48540         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48541         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48542         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48543         * sysdeps/pthread/lio_listio.c: Likewise.
48544         * sysdeps/sparc/dl-procinfo.h: Likewise.
48545         * sysdeps/unix/i386/sysdep.S: Likewise.
48546         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
48547         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
48548         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
48549         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
48550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48551         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
48552         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
48553         * sysdeps/unix/sysv/linux/speed.c: Likewise.
48554         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48555         * sysdeps/wordsize-32/divdi3.c: Likewise.
48556         * time/sys/time.h: Likewise.
48557         * wcsmbs/Makefile: Likewise.
48559 2013-01-01  David S. Miller  <davem@davemloft.net>
48561         * po/fr.po: Update from translation team.
48563         * catgets/gencat.c: Update copyright year.
48564         * csu/version.c: Likewise.
48565         * debug/catchsegv.sh: Likewise.
48566         * debug/pcprofiledump.c: Likewise.
48567         * debug/xtrace.sh: Likewise.
48568         * elf/ldconfig.c: Likewise.
48569         * elf/ldd.bash.in: Likewise.
48570         * elf/pldd.c: Likewise.
48571         * elf/sotruss.ksh: Likewise.
48572         * elf/sprof.c: Likewise.
48573         * iconv/iconv_prog.c: Likewise.
48574         * iconv/iconvconfig.c: Likewise.
48575         * locale/programs/locale.c: Likewise.
48576         * locale/programs/localedef.c: Likewise.
48577         * login/programs/pt_chown.c: Likewise.
48578         * malloc/memusage.sh: Likewise.
48579         * malloc/memusagestat.c: Likewise.
48580         * malloc/mtrace.pl: Likewise.
48581         * nscd/nscd.c: Likewise.
48582         * nss/getent.c: Likewise.
48583         * nss/makedb.c: Likewise.
48584         * posix/getconf.c: Likewise.
48586 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48588         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
48589         numbers.
48591 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
48593         * math/bits/mathcalls.h (modf): Use __nonnull.
48595 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48597         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
48598         (split): Use macro CN instead of the bare value.
48599         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
48600         could be used.
48601         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
48602         instead of the bare value.
48603         (power1): Likewise.
48605 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48607         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
48608         __ATAN_TWOM.
48609         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48611         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
48612         their values.
48613         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48614         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48615         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
48616         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48618 2012-12-28  Andreas Jaeger  <aj@suse.de>
48620         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
48621         values are from Linux 3.7.
48623         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
48624         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
48626 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48628         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
48629         TRUE case.
48631         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
48632         (norm): Likewise.
48633         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
48634         variables with preprocessor constants.
48635         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48636         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48637         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48639 2012-12-27  Bruno Haible  <bruno@clisp.org>
48641         [BZ #14317]
48642         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
48643         only if needed.
48645 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48647         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
48648         and use variable directly.
48649         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
48651         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48652         MPONE.
48653         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
48654         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48655         variable MPONE.
48656         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48657         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48658         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
48659         include directive.  Remove local variable MPONE.
48660         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
48661         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
48662         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48664 2012-12-25  David S. Miller  <davem@davemloft.net>
48666         * version.h (RELEASE): Set to "development".
48667         (VERSION): Set to "2.17.90".
48668         * NEWS: Add 2.18 section.
48670 2012-12-21  David S. Miller  <davem@davemloft.net>
48672         * po/hr.po: Update from translation team.
48674 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48676         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
48678 2012-12-19  Steve Ellcey  <sellcey@mips.com>
48680         * NEWS:  Mention new memcpy for MIPS.
48682 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48684         * manual/contrib.texi (Contributors): Spelling correction.
48686 2012-12-15  David S. Miller  <davem@davemloft.net>
48688         * po/ru.po: Update from translation team.
48690 2012-12-13  David S. Miller  <davem@davemloft.net>
48692         * NEWS: Mention IFUNC testsuite enhancements.
48694         * po/pl.po: Update from translation team.
48695         * po/bg.po: Likewise.
48697         * manual/contrib.texi (Contributors): Update entries for Hongjiu
48698         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
48700 2012-12-11  David S. Miller  <davem@davemloft.net>
48702         * po/sv.po: Update from translation team.
48704         * po/vi.po: Update from translation team.
48706         * po/cs.po: Update from translation team.
48708         * po/de.po: Update from translation team.
48709         * po/eo.po: Likewise.
48710         * po/nl.po: Likewise.
48712 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48714         [BZ #14246]
48715         * manual/argp.texi (Argp Helper Functions): Move node to follow
48716         Argp Parsing State.
48718         [BZ #14872]
48719         * manual/conf.texi (Limits on File System Capacity): Mention if
48720         terminating null is included in the max size.
48722 2012-12-10  Andreas Jaeger  <aj@suse.de>
48724         * po/cs.po: Update from translation team.
48726 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48728         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
48729         void pointer and cast to uintptr_t.
48730         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
48731         path.
48732         * sysdeps/s390/s390-64/memcpy.S: Likewise.
48733         * sysdeps/s390/s390-64/memset.S: Likewise.
48735 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
48737         [BZ #14833]
48738         * menual/message.texi (Message Translation): Fix typos.
48739         (Helper programs for gettext): Likewise.
48741 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
48743         [BZ #14898]
48744         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
48745         Change to -1.
48747 2012-12-07  David S. Miller  <davem@davemloft.net>
48749         * po/libc.pot: Update.
48751 2012-12-07  Richard Henderson  <rth@redhat.com>
48753         [BZ #10114]
48754         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
48755         normal/normal case to before the switch.
48756         (_FP_DIV): Likewise.
48758 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
48759             Mike Frysinger  <vapier@gentoo.org>
48761         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
48762         check for __NR_fadvise64_64.
48764 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
48766         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
48767         0, not just to plain "0" as a statement.
48768         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
48769         with cw.
48771 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
48773         * NEWS: Use sourceware.org in Bugzilla URL.
48775 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
48778         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48780         * stdio-common/tst-put-error.c (do_test): Add newline to the
48781         padded test to ensure flush.
48783 2012-12-05  Jeff Law  <law@redhat.com>
48785         * sunrpc/etc.rpc (fedfs_admin): Add entry.
48787 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
48789         * README: Don't refer to ports add-on as distributed separately.
48790         Mention AArch64 in list of systems supported in the ports add-on.
48792         * LICENSES: Add more non-FSF copyright and license notices.
48794         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
48795         ((unused)).
48797         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
48799         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
48800         10000 as width of padded output.
48802 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48804         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
48806         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
48807         variable LX with __attribute__ ((unused)).
48808         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48809         Likewise.
48810         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48811         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48812         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
48813         with __attribute__ ((unused)).
48815 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
48817         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
48819 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48821         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
48822         (CFLAGS-nldbl-acos.c): New variable.
48823         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
48824         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
48825         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
48826         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
48827         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
48828         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
48829         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
48830         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
48831         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
48832         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
48833         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
48834         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
48835         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
48836         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
48837         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
48838         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
48839         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
48840         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
48841         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
48842         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
48843         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
48844         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
48845         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
48846         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
48847         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
48848         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
48849         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
48850         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
48851         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
48852         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
48853         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
48854         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
48855         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
48856         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
48857         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
48858         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
48859         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
48860         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
48861         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
48862         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
48863         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
48864         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
48865         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
48866         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
48867         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
48868         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
48869         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
48870         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
48871         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
48872         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
48873         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
48874         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
48875         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
48876         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
48877         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
48878         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
48879         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
48880         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
48881         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
48882         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
48883         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
48884         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
48885         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
48886         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
48887         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
48888         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
48889         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
48890         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
48891         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
48892         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
48893         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
48894         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
48895         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
48896         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
48897         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
48898         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
48899         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
48900         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
48901         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
48902         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
48903         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
48904         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
48905         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
48906         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
48907         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
48908         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
48909         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
48910         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
48911         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
48912         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
48913         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
48914         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
48915         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
48916         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
48917         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
48918         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
48919         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
48921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48922         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48924         [BZ #14914]
48925         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
48926         whole low double instead of just low 47 bits when splitting values
48927         into two parts.
48929 2012-12-03  Allan McRae  <allan@archlinux.org>
48931         * manual/stdio.texi (Predefined Printf Handlers): Remove
48932         @hsep and @vsep usage.
48934 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
48936         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
48937         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
48939 2012-12-03  Jeff Law  <law@redhat.com>
48941         * time/sys/time.h (settimeofday): Do not mark TV argument
48942         as __nonnull.
48944 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
48946         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
48947         when currently writing and seek to current position when not.
48948         * libio/Makefile (tests): Remove bug-fclose1.
48949         * libio/bug-fclose1.c: Delete.
48951 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
48953         * manual/arith.texi (feenableexcept): Fix typo.
48954         (fedisableexcept): Likewise.
48956 2012-11-30  Roland McGrath  <roland@hack.frob.com>
48958         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
48959         second, differently-typed declaration, rather than a cast.
48961 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48963         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
48964         * include/rpc/svc.h: ... here.
48966 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
48968         [BZ #13013]
48969         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
48970         depending n and resplen2 to catch cases where answer
48971         equals answerp2.
48973 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
48975         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
48976         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
48978 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
48980         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
48982 2012-11-29  Roland McGrath  <roland@hack.frob.com>
48984         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
48986 2012-11-28  Jeff Law  <law@redhat.com>
48988         [BZ #13761]
48989         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
48990         dataset_temporary.  Track alloca usage into alloca_used.
48991         If dataset is large allocate and release it via malloc/free.
48993 2012-06-04  Florian Weimer  <fweimer@redhat.com>
48995         [BZ #14197]
48996         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
48998 2012-11-28  David S. Miller  <davem@davemloft.net>
49000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49002 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49004         [BZ #14803]
49005         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
49006         of pi/2 rounded to nearest to 64 bits.
49007         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
49008         nearest to 64 bits.
49009         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
49010         bits.
49012 2012-11-28  Jeff Law <law@redhat.com>
49013             Martin Osvald <mosvald@redhat.com>
49015         [BZ #14889]
49016         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
49017         * sunrpc/svc.c: Include time.h.
49018         (__svc_accept_failed): New function.
49019         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
49020         any reason other than EINTR, call __svc_accept_failed.
49021         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
49022         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
49024 2012-11-28  Andreas Schwab  <schwab@suse.de>
49026         * scripts/abilist.awk: Also handle indirect functions in .opd
49027         section.
49029 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
49031         [BZ #13881]
49032         * sysdeps/x86/fpu/powl_helper.c: New file.
49033         * sysdeps/x86/fpu/Makefile: Likewise.
49034         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
49035         (p3): New object.
49036         (__ieee754_powl): Use __powl_helper for finite arguments except
49037         integer exponents below 8.
49038         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
49039         (p3): New object.
49040         (__ieee754_powl): Use __powl_helper for finite arguments except
49041         integer exponents below 8.
49042         * math/libm-test.inc (pow_test): Add more tests and enable some
49043         previously disabled tests.
49044         * sysdeps/i386/fpu/libm-test-ulps: Update.
49045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49047 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49048             Carlos O'Donell  <carlos_odonell@mentor.com>
49050         * nss/makedb.c (is_prime): Assert that input is odd and greater
49051         than 4.  Note that fact in a comment too.
49052         (next_prime): Add 4 to input.
49054 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49056         [BZ #11741]
49057         * libio/Makefile (tests): Add test case tst-fwrite-error.
49058         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
49059         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
49060         * libio/tst-fwrite-error.c: New test case.
49062 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
49064         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
49065         before casting to void *.
49066         * include/libc-internal.h (__pointer_type): New macro.
49067         (__integer_if_pointer_type_sub): Likewise.
49068         (__integer_if_pointer_type): Likewise.
49069         (cast_to_integer): Likewise.
49070         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
49071         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
49072         before casting to atomic64_t.
49073         (atomic_exchange_acq): Likewise.
49074         (__arch_exchange_and_add_body): Likewise.
49075         (__arch_add_body): Likewise.
49076         (atomic_add_negative): Likewise.
49077         (atomic_add_zero): Likewise.
49079 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
49081         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
49082         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
49083         (add_fdes): Likewise.
49084         (linear_search_fdes): Likewise.
49085         (binary_search_unencoded_fdes): Likewise.
49087 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
49089         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
49091 2012-11-24  Adam Conrad  <adconrad@0c3.net>
49093         * configure.in: Autodetect C++ header directories.
49094         * configure: Regenerated.
49096 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
49098         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
49100 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
49102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49104 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
49106         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
49107         LDBL_MANT_DIG == 106]: Disable some tests.
49108         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49109         Likewise.
49110         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49111         Likewise.
49113         [BZ #14871]
49114         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
49115         input for small inputs.  Return +/- pi/2 for large inputs.
49116         * math/libm-test.inc (atan_test): Add more tests.
49118         * sysdeps/generic/unwind-dw2-fde-glibc.c
49119         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
49120         __attribute__ ((unused)).
49122         [BZ #14645]
49123         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
49124         x * y if x and y are nonzero and z is zero.
49126         [BZ #14811]
49127         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
49128         nonzero exponents with absolute value below 0x1p-117 to +/-
49129         0x1p-117.
49131         [BZ #14869]
49132         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
49133         up arguments below 2**-450, not just those below 2**-500.
49134         * math/libm-test.inc (hypot_test): Add another test.
49136         [BZ #14868]
49137         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
49138         Return a+b for ratio over 2**120, not 2**60.
49139         * math/libm-test.inc (hypot_test): Add another test.
49141         * math/libm-test.inc (clog_test): Use
49142         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
49143         (clog10_test): Likewise.
49145         [BZ #6778]
49146         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
49148 2012-11-22  Andreas Schwab  <schwab@suse.de>
49150         * sysdeps/i386/fpu/libm-test-ulps: Update.
49152 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
49154         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
49155         printf output with newline.
49157 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
49159         [BZ #14865]
49160         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
49161         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
49162         -z nodlopen, -z initfirst and -z execstack support.
49163         * configure: Regenerated.
49165         * elf/elf.h (DF_1_NODIRECT): New macro.
49166         (DF_1_IGNMULDEF): Likewise.
49167         (DF_1_NOKSYMS): Likewise.
49168         (DF_1_NOHDR): Likewise.
49169         (DF_1_EDITED): Likewise.
49170         (DF_1_NORELOC): Likewise.
49171         (DF_1_SYMINTPOSE): Likewise.
49172         (DF_1_GLOBAUDIT): Likewise.
49173         (DF_1_SINGLETON): Likewise.
49174         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
49175         DT_1_SUPPORTED_MASK bits.
49176         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
49178 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
49180         * sysdeps/unix/make-syscalls.sh: Document prefixes.
49182 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
49184         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
49185         macro.
49187         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
49188         (sendmmsg): Move declarations...
49189         * socket/sys/socket.h: ... here.
49190         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
49191         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
49192         include it from...
49193         * socket/recvmmsg.c: ... this new file.
49194         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
49195         (sendmmsg): Rename to __sendmmsg, create weak alias and make
49196         definition of __sendmmsg hidden.
49197         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
49198         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
49199         Move ENOSYS stub into and include it from...
49200         * socket/sendmmsg.c: ... this new file.
49201         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
49202         (sysdep_routines): Move recvmmsg and sendmmsg...
49203         * socket/Makefile (routines): ... here.
49204         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
49205         (GLIBC_PRIVATE): Add __sendmmsg.
49206         * include/sys/socket.h (__sendmmsg): Add declarations.
49207         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
49208         sendmmsg.
49210 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
49212         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
49213         variable I1 with __attribute__ ((unused)).
49214         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49216 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49218         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
49219         DUMMY variables with __attribute__ ((unused)).
49221         * bits/byteswap.h: Include <bits/types.h>.
49222         (__bswap_64): Use __uint64_t instead of unsigned long long int.
49224 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49226         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
49227         string_t.  Do not manually set errno.
49228         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
49229         length with __strnlen.  Make sure to both set errno and return it on
49230         failure.
49232 2012-11-19  David S. Miller  <davem@davemloft.net>
49234         With help from Joseph Myers.
49235         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
49236         very large arguments properly.
49237         * math/libm-test.inc (atan_test): New tests.
49238         (atan2_test): New tests.
49239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49240         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49242 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49244         [BZ #14856]
49245         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
49246         Define to 3.
49248         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
49249         [POSIX] (EADDRNOTAVAIL): Likewise.
49250         [POSIX] (EAFNOSUPPORT): Likewise.
49251         [POSIX] (EALREADY): Likewise.
49252         [POSIX] (ECONNABORTED): Likewise.
49253         [POSIX] (ECONNREFUSED): Likewise.
49254         [POSIX] (ECONNRESET): Likewise.
49255         [POSIX] (EDESTADDRREQ): Likewise.
49256         [POSIX] (EDQUOT): Likewise.
49257         [POSIX] (EHOSTUNREACH): Likewise.
49258         [POSIX] (EIDRM): Likewise.
49259         [POSIX] (EISCONN): Likewise.
49260         [POSIX] (ELOOP): Likewise.
49261         [POSIX] (EMULTIHOP): Likewise.
49262         [POSIX] (ENETDOWN): Likewise.
49263         [POSIX] (ENETUNREACH): Likewise.
49264         [POSIX] (ENOBUFS): Likewise.
49265         [POSIX] (ENODATA): Likewise.
49266         [POSIX] (ENOLINK): Likewise.
49267         [POSIX] (ENOMSG): Likewise.
49268         [POSIX] (ENOPROTOOPT): Likewise.
49269         [POSIX] (ENOSR): Likewise.
49270         [POSIX] (ENOSTR): Likewise.
49271         [POSIX] (ENOTCONN): Likewise.
49272         [POSIX] (ENOTSOCK): Likewise.
49273         [POSIX] (EOPNOTSUPP): Likewise.
49274         [POSIX] (EOVERFLOW): Likewise.
49275         [POSIX] (EPROTO): Likewise.
49276         [POSIX] (EPROTONOSUPPORT): Likewise.
49277         [POSIX] (EPROTOTYPE): Likewise.
49278         [POSIX] (ESTALE): Likewise.
49279         [POSIX] (ETIME): Likewise.
49280         [POSIX] (ETXTBSY): Likewise.
49281         [POSIX] (EWOULDBLOCK): Likewise.
49282         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
49283         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
49284         [POSIX] (SEEK_CUR): Likewise.
49285         [POSIX] (SEEK_END): Likewise.
49286         [POSIX || UNIX98] (mode_t): Do not require.
49287         [POSIX] (off_t): Likewise.
49288         [POSIX] (pid_t): Likewise.
49289         [POSIX] (sys/stat.h): Do not allow header.
49290         [POSIX] (unistd.h): Likewise.
49291         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
49292         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
49293         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
49294         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
49295         require.
49296         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
49297         sigevent): Specify elements.
49298         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
49299         entry.
49300         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
49301         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
49303         * conform/data/cpio.h-data [POSIX]: Disable whole file.
49304         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
49305         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
49306         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
49307         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
49308         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
49309         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
49310         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
49311         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
49312         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
49313         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
49314         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
49315         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
49316         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
49317         Likewise.
49318         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
49319         Likewise.
49320         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
49321         Likewise.
49322         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
49323         Likewise.
49324         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
49325         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
49326         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
49327         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
49328         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
49329         Specify lower bound on value.
49330         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
49331         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
49332         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
49333         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
49334         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
49335         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
49336         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
49337         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
49338         value.
49339         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
49340         as optional.
49341         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
49342         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
49343         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
49344         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
49345         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
49346         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
49347         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
49348         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
49349         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
49350         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
49351         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
49352         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
49353         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
49354         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
49355         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
49356         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
49357         entry.
49358         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
49359         optional.
49360         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
49361         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
49362         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
49363         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
49364         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
49365         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
49366         Likewise.
49367         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
49368         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
49369         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
49370         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
49371         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
49372         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
49373         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
49374         as optional.
49375         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
49376         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
49377         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
49378         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
49379         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
49380         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
49381         specify as optional.
49382         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
49383         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
49384         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
49385         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
49386         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
49387         [XPG3] (NL_LANGMAX): Likewise.
49388         [POSIX || XPG3] (NL_MSGMAX): Likewise.
49389         [POSIX || XPG3] (NL_NMAX): Likewise.
49390         [POSIX || XPG3] (NL_SETMAX): Likewise.
49391         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
49392         [XPG3] (NZERO): Likewise.
49393         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
49394         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
49395         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
49396         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
49397         (REG_ERANGE): Expect.
49398         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
49399         optional-constant.
49400         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
49401         Use (void) in prototype.
49402         [POSIX] (*_t): Allow.
49403         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
49404         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
49405         (WRDE_BADVAL): Expect.
49407         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
49408         expect.
49409         [XPG3 || XPG4] (O_RSYNC): Likewise.
49410         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
49411         Likewise.
49412         [XPG3 || XPG4] (pthread_sigmask): Likewise.
49413         [XPG3 || XPG4] (sigqueue): Likewise.
49414         [XPG3 || XPG4] (sigtimedwait): Likewise.
49415         [XPG3 || XPG4] (sigwaitinfo): Likewise.
49416         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
49417         [XPG3 || XPG4] (vsnprintf): Likewise.
49418         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
49419         Likewise.
49420         [XPG3 || XPG4] (blksize_t): Likewise.
49421         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
49422         Likewise.
49423         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
49424         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49425         [XPG3 || XPG4] (struct itimerspec): Likewise.
49426         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
49427         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
49428         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
49429         [XPG3 || XPG4] (clockid_t): Likewise.
49430         [XPG3 || XPG4] (timer_t): Likewise.
49431         [XPG3 || XPG4] (clock_getres): Likewise.
49432         [XPG3 || XPG4] (clock_gettime): Likewise.
49433         [XPG3 || XPG4] (clock_settime): Likewise.
49434         [XPG3 || XPG4] (nanosleep): Likewise.
49435         [XPG3 || XPG4] (timer_create): Likewise.
49436         [XPG3 || XPG4] (timer_delete): Likewise.
49437         [XPG3 || XPG4] (timer_gettime): Likewise.
49438         [XPG3 || XPG4] (timer_getoverrun): Likewise.
49439         [XPG3 || XPG4] (timer_settime): Likewise.
49440         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
49441         [XPG3 || XPG4] (getlogin_r): Likewise.
49442         [XPG3 || XPG4] (pread): Likewise.
49443         [XPG3 || XPG4] (pthread_atfork): Likewise.
49444         [XPG3 || XPG4] (pwrite): Likewise.
49446         [BZ #14835]
49447         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
49448         <bits/siginfo.h>.
49450 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49452         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
49453         finalizing MALLSTREAM.
49455         * sysdeps/mach/hurd/syncfs.c: New file.
49457 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49459         [BZ #14719]
49460         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
49461         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
49462         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
49463         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
49464         (_nss_dns_gethostbyname4_r): Likewise.
49465         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
49466         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
49468 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
49470         [BZ #13763]
49471         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
49473 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
49475         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
49476         * elf/cache.c (print_entry): Print ",AArch64" for
49477         FLAG_AARCH64_LIB64
49479         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
49480         * elf/cache.c (print_entry): Print ",hard-float" for
49481         FLAG_ARM_LIBHF.
49483 2012-11-18  David S. Miller  <davem@davemloft.net>
49485         With help from Joseph Myers.
49486         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
49487         cutoff to 2**-13.
49488         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
49489         cutoff to 2**-25.
49490         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
49491         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
49492         small.
49493         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
49494         * math/libm-test.inc (y0_test): New tests.
49495         (y1_test): New tests.
49496         * sysdeps/i386/fpu/libm-test-ulps: Update.
49497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49500 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
49502         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
49503         64-bit targets.
49504         * configure: Regenerated.
49506 2012-11-17  David S. Miller  <davem@davemloft.net>
49508         [BZ #14811]
49509         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
49510         nonzero exponents with absolute value below 0x1p-128 to +/-
49511         0x1p-128.
49513 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
49515         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
49517         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
49519         * posix/getconf-speclist.c: New file.
49520         * posix/posix-envs.def: Likewise.
49521         * posix/confstr.c (START_ENV_GROUP): New macro.
49522         (END_ENV_GROUP): Likewise.
49523         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49524         (KNOWN_PRESENT_ENV_STRING): Likewise.
49525         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49526         (UNKNOWN_ENVIRONMENT): Likewise.
49527         (confstr): Include posix-envs.def instead of handling
49528         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
49529         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
49530         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
49531         (END_ENV_GROUP): Likewise.
49532         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49533         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49534         (UNKNOWN_ENVIRONMENT): Likewise.
49535         (__sysconf): Include posix-envs.def instead of handling associated
49536         cases directly here.
49537         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
49538         preprocessing getconf-speclist.c rather than running getconf or
49539         generating empty file.
49541 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
49543         * scripts/check-local-headers.sh: Ignore 'mach' headers.
49545 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
49547         [BZ #14672]
49548         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
49550 2012-11-16  David S. Miller  <davem@davemloft.net>
49552         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
49553         smaller than LDBL_EPSILON/2.0L, just return xm1.
49555 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
49557         * elf/tst-array1.c (init): Set constructor priority to 1000.
49558         (fini): Set destructor priority to 1000.
49559         * elf/tst-array2dep.c: Likewise.
49561 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49563         [BZ #11741]
49564         * libio/fileops.c (_IO_new_file_write): Correctly return error.
49565         (_IO_new_file_xsputn): Also return EOF if none of the input
49566         data was written when overflow failed.
49567         * libio/iopadn.c (_IO_padn): Likewise.
49568         * libio/iowpadn.c (_IO_wpadn): Likewise.
49569         * stdio-common/tst-put-error.c: Add copyright notice.
49570         (do_test): Add case for printing padded string.
49571         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
49572         _IO_padn returned error.
49573         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
49574         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
49575         return EOF.
49577 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49579         * libio/libioP.h: Add comment note that the references to C++
49580         bits are now obsolete.
49582 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49584         * math/libm-test.inc (check_complex): Use asprintf.
49586 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
49588         * debug/pcprofiledump.c (print_version): Update copyright year.
49589         * malloc/memusagestat.c (print_version): Likewise.
49591 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
49593         [BZ #14831]
49594         * elf/Makefile (tests): Add tst-audit8.
49595         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
49596         ($(objpfx)tst-audit8.out): New target.
49597         (tst-audit8-ENV): New variable.
49598         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
49599         audit if l_reloc_result is NULL.
49600         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
49601         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
49602         * elf/tst-audit8.c: New file.
49604 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49606         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
49607         * misc/Makefile (CFLAGS-select.c): Define.
49608         * posix/Makefile (CFLAGS-pause.c): Define.
49610 2012-11-13  David S. Miller  <davem@davemloft.net>
49612         * crypt/Makefile: Move test targets after toplevel Rules
49613         inclusion.  Grab any necessary sysdep routines when linking.
49614         * crypt/md5.c (md5_process_block): Remove define, we will always
49615         name it __md5_process_block.
49616         (md5_finish_ctx): Update md5_process_block call.
49617         (md5_stream): Likewise.
49618         (md5_process_bytes): Likewise.
49619         (md5_process_block): Rename to __md5_process_block and move to ...
49620         * crypt/md5-block.c: ... here.
49621         * crypt/sha256.c (sha256_process_block): Move to ...
49622         * crypt/sha256-block.c: ... here.
49623         * crypt/sha512.c (sha512_process_block): Move to ...
49624         * crypt/sha512-block.c: ... here.
49625         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
49626         path.
49627         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
49628         * sysdeps/sparc/sparc64/multiarch/Makefile
49629         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
49630         crypt subdir.
49631         (localedef-aux): Add md5 crypto assembler when in locale subdir.
49632         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
49633         multiarch changes.
49634         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
49635         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
49636         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
49637         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
49638         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
49639         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
49640         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
49641         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
49642         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
49643         file.
49644         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
49645         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
49646         file.
49647         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
49649 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
49651         * timezone/tzselect.ksh: Update from tzcode git revision
49652         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
49653         * timezone/zdump.c: Likewise.
49654         * timezone/zic.c: Likewise.
49655         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
49656         in TZVERSION setting, not $(PKGVERSION).
49657         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
49658         REPORT_BUGS_TO settings.
49660         [BZ #14838]
49661         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
49662         macro.
49664 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49666         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
49667         detection to immediately after _FP_ROUND().
49668         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
49669         bits are 0.
49671 2012-11-11  David S. Miller  <davem@davemloft.net>
49673         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
49674         inttypes.h
49675         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
49676         __close rather than their public counterparts.
49678 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
49680         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
49681         file.
49682         [UNIX98] (sem_timedwait): Do not expect.
49683         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
49684         [XPG4 || UNIX98] (sockatmark): Do not expect.
49685         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
49686         (clock_getcpuclockid): Do not expect.
49687         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
49688         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
49689         Do not expect.
49690         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
49691         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
49692         [UNIX98] (vwscanf): Likewise.
49693         [UNIX98] (vswscanf): Likewise.
49695 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
49697         * timezone/version.h: Remove file.
49698         * timezone/README: Do not refer to version.h.
49699         * timezone/Makefile ($(objpfx)zic.o): New dependency on
49700         $(objpfx)version.h.
49701         ($(objpfx)zdump.o): Likewise.
49702         ($(objpfx)version.h): New target.
49704         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
49705         2012i.
49706         * timezone/README: Don't mention modification to tzselect.ksh.
49707         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
49708         work on unmodified tzselect.ksh.  Substitute version numbers in
49709         tzselect.ksh.
49711         * Makefile (format-me): Remove.
49712         (INSTALL): Adjust indentation.  Use commands directly instead of
49713         using $(format-me).
49715         * aclocal.m4 (ACX_PKGVERSION): New macro.
49716         (ACX_BUGURL): Likewise.
49717         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
49718         (PKGVERSION): New AC_DEFINE_UNQUOTED.
49719         (REPORT_BUGS_TO): Likewise.
49720         * configure: Regenerated.
49721         * config.h.in (PKGVERSION): New macro.
49722         (REPORT_BUGS_TO): Likewise.
49723         * config.make.in (PKGVERSION): New variable.
49724         (PKGVERSION_TEXI): Likewise.
49725         (REPORT_BUGS_TO): Likewise.
49726         (REPORT_BUGS_TEXI): Likewise.
49727         * Makefile (format-me): Use -I$(common-objpfx)manual.
49728         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
49729         ($(common-objpfx)manual/%): New target.
49730         (manual/%): Remove target.
49731         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
49732         (print_version): Use PKGVERSION.
49733         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
49734         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
49735         and REPORT_BUGS_TO.
49736         ($(objpfx)xtrace): Likewise.
49737         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
49738         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
49739         (print_version): Use PKGVERSION.
49740         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
49741         (do_version): Use PKGVERSION.
49742         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
49743         REPORT_BUGS_TO.
49744         (common-ldd-rewrite): Likewise.
49745         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
49746         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
49747         (print_version): Use PKGVERSION.
49748         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
49749         * elf/pldd.c (argp_program_bug_address): Remove variable.
49750         (more_help): New function.
49751         (argp): Use more_help.
49752         (print_version): Use PKGVERSION.
49753         * elf/sln.c (main): Use PKGVERSION.
49754         (usage): Use REPORT_BUGS_TO.
49755         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
49756         (top level): Use PKGVERSION.
49757         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
49758         (print_version): Use PKGVERSION.
49759         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
49760         (print_version): Use PKGVERSION.
49761         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
49762         (print_version): Use PKGVERSION.
49763         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
49764         (print_version): Use PKGVERSION.
49765         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
49766         (print_version): Use PKGVERSION.
49767         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
49768         (print_version): Use PKGVERSION.
49769         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
49770         and BUGURL.
49771         ($(objpfx)memusage): Likewise.
49772         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
49773         (do_version): Use PKGVERSION.
49774         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
49775         (print_version): Use PKGVERSION.
49776         * malloc/mtrace.pl ($PACKAGE): Remove variable.
49777         ($PKGVERSION): New variable.
49778         ($REPORT_BUGS_TO): Likewise.
49779         (usage): Use $REPORT_BUGS_TO.
49780         (top level): Use $PKGVERSION.
49781         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
49782         ($(objpfx)pkgvers.texi): New rule.
49783         ($(objpfx)stamp-pkgvers): Likewise.
49784         * manual/install.texi: Include pkgvers.texi.
49785         (--with-pkgversion): Document new configure option.
49786         (--with-bugurl): Likewise.
49787         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
49788         than necessarily for this particular distribution.  Use
49789         REPORT_BUGS_TO for where to report bugs.
49790         * INSTALL: Regenerated.
49791         * manual/libc.texinfo: Include pkgvers.texi.
49792         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
49793         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
49794         (print_version): Use PKGVERSION.
49795         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
49796         (print_version): Use PKGVERSION.
49797         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
49798         (print_version): Use PKGVERSION.
49799         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
49800         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
49801         macro.
49802         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
49803         (print_version): Use PKGVERSION.
49804         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
49805         (print_version): Use PKGVERSION.
49806         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
49807         and PKGVERSION.
49809         * timezone/checktab.awk: Update from tzcode 2012i.
49810         * timezone/ialloc.c: Likewise.
49811         * timezone/private.h: Likewise.
49812         * timezone/scheck.c: Likewise.
49813         * timezone/tzfile.h: Likewise.
49814         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
49815         (TZVERSION): Hardcode tzcode version number.
49816         * timezone/zdump.c: Update from tzcode 2012i.
49817         * timezone/zic.c: Likewise.
49818         * timezone/version.h: New file.
49819         * timezone/README: Describe version.h.  Update upstream location.
49821         [BZ #14824]
49822         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
49823         (mktemp): Enable declaration.
49824         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
49825         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
49826         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
49827         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
49828         Likewise.
49829         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
49830         Likewise.
49831         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
49832         Likewise.
49833         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
49834         Likewise.
49835         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
49836         Likewise.
49837         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
49838         Likewise.
49840         [BZ #14821]
49841         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
49842         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
49843         for copies of such integer values.
49844         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49845         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49847 2012-11-09  Andreas Jaeger  <aj@suse.de>
49849         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
49850         definitions and declarations that are provided by
49851         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49853 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49855         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
49856         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
49857         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
49858         definition.
49860 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49862         * elf/elf.h: Update comment before AArch64 relocations.
49864 2012-11-07  David S. Miller  <davem@davemloft.net>
49866         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
49867         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49868         (__start_context): Declare.
49869         (__makecontext_ret): Delete.
49870         (__makecontext): Hook up __start_context instead of
49871         __makecontext_ret.
49872         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
49873         (sysdep_routines): Add __start_context when in stdlib.
49875 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49877         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
49878         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
49879         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
49880         hardcoded "nm".
49881         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
49882         (READELF): New variable.  Use it instead of hardcoded "readelf".
49884 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49886         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
49887         * sysdeps/x86/Makefile: Here.
49888         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
49889         * sysdeps/x86/tst-xmmymm.sh: This.
49891 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49893         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
49894         expectations.
49895         [UNIX98] (pthread_barrier_t): Do not expect.
49896         [UNIX98] (pthread_barrierattr_t): Likewise.
49897         [UNIX98] (pthread_spinlock_t): Likewise.
49898         [UNIX98] (pthread_barrier_destroy): Likewise.
49899         [UNIX98] (pthread_barrier_init): Likewise.
49900         [UNIX98] (pthread_barrier_wait): Likewise.
49901         [UNIX98] (pthread_barrierattr_destroy): Likewise.
49902         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
49903         [UNIX98] (pthread_barrierattr_init): Likewise.
49904         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
49905         [UNIX98] (pthread_getcpuclockid): Likewise.
49906         [UNIX98] (pthread_mutex_timedlock): Likewise.
49907         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
49908         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
49909         [UNIX98] (pthread_sigmask): Likewise.
49910         [UNIX98] (pthread_spin_destroy): Likewise.
49911         [UNIX98] (pthread_spin_init): Likewise.
49912         [UNIX98] (pthread_spin_lock): Likewise.
49913         [UNIX98] (pthread_spin_trylock): Likewise.
49914         [UNIX98] (pthread_spin_unlock): Likewise.
49915         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
49916         Do not expect.
49917         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
49918         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
49919         [XPG3 || XPG4] (pthread_cond_t): Likewise.
49920         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
49921         [XPG3 || XPG4] (pthread_key_t): Likewise.
49922         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
49923         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
49924         [XPG3 || XPG4] (pthread_once_t): Likewise.
49925         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
49926         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
49927         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
49928         [XPG3 || XPG4] (pthread_t): Likewise.
49930         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
49931         not expect.
49932         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
49934         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
49935         Change function return type to int.
49937         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
49938         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
49939         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
49940         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
49941         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
49942         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
49943         [!POSIX] (posix_madvise): Likewise.
49944         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
49945         && !UNIX98].
49946         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
49947         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
49948         (mode_t): Likewise.
49949         (posix_mem_offset): Likewise.
49950         (posix_typed_mem_get_info): Likewise.
49951         (posix_typed_mem_open): Likewise.
49953         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
49954         Change condition to [XOPEN2K8].
49956         * conform/conformtest.pl: Preprocess allow-header data with -x c
49957         instead of from stdin.
49958         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
49959         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
49960         [C99-based standards] (cerfc): Likewise.
49961         [C99-based standards] (cexp2): Likewise.
49962         [C99-based standards] (cexpm1): Likewise.
49963         [C99-based standards] (clog10): Likewise.
49964         [C99-based standards] (clog1p): Likewise.
49965         [C99-based standards] (clog2): Likewise.
49966         [C99-based standards] (clgamma): Likewise.
49967         [C99-based standards] (ctgamma): Likewise.
49968         [C99-based standards] (cerff): Likewise.
49969         [C99-based standards] (cerfcf): Likewise.
49970         [C99-based standards] (cexp2f): Likewise.
49971         [C99-based standards] (cexpm1f): Likewise.
49972         [C99-based standards] (clog10f): Likewise.
49973         [C99-based standards] (clog1pf): Likewise.
49974         [C99-based standards] (clog2f): Likewise.
49975         [C99-based standards] (clgammaf): Likewise.
49976         [C99-based standards] (ctgammaf): Likewise.
49977         [C99-based standards] (cerfl): Likewise.
49978         [C99-based standards] (cerfcl): Likewise.
49979         [C99-based standards] (cexp2l): Likewise.
49980         [C99-based standards] (cexpm1l): Likewise.
49981         [C99-based standards] (clog10l): Likewise.
49982         [C99-based standards] (clog1pl): Likewise.
49983         [C99-based standards] (clog2l): Likewise.
49984         [C99-based standards] (clgammal): Likewise.
49985         [C99-based standards] (ctgammal): Likewise.
49986         * conform/data/inttypes.h-data [C99-based standards]: Include
49987         stdint.h-data.  Remove all expectations for stdint.h contents.
49988         [C99-based standards] (PRI*): Do not allow.
49989         [C99-based standards] (SCN*): Likewise.
49990         [C99-based standards] (*_t): Likewise.
49991         [C99-based-standards] (PRId8): Expect macro.
49992         [C99-based-standards] (PRIi8): Likewise.
49993         [C99-based-standards] (PRIo8): Likewise.
49994         [C99-based-standards] (PRIu8): Likewise.
49995         [C99-based-standards] (PRIx8): Likewise.
49996         [C99-based-standards] (PRIX8): Likewise.
49997         [C99-based-standards] (SCNd8): Likewise.
49998         [C99-based-standards] (SCNi8): Likewise.
49999         [C99-based-standards] (SCNo8): Likewise.
50000         [C99-based-standards] (SCNu8): Likewise.
50001         [C99-based-standards] (SCNx8): Likewise.
50002         [C99-based-standards] (PRIdLEAST8): Likewise.
50003         [C99-based-standards] (PRIiLEAST8): Likewise.
50004         [C99-based-standards] (PRIoLEAST8): Likewise.
50005         [C99-based-standards] (PRIuLEAST8): Likewise.
50006         [C99-based-standards] (PRIxLEAST8): Likewise.
50007         [C99-based-standards] (PRIXLEAST8): Likewise.
50008         [C99-based-standards] (SCNdLEAST8): Likewise.
50009         [C99-based-standards] (SCNiLEAST8): Likewise.
50010         [C99-based-standards] (SCNoLEAST8): Likewise.
50011         [C99-based-standards] (SCNuLEAST8): Likewise.
50012         [C99-based-standards] (SCNxLEAST8): Likewise.
50013         [C99-based-standards] (PRIdFAST8): Likewise.
50014         [C99-based-standards] (PRIiFAST8): Likewise.
50015         [C99-based-standards] (PRIoFAST8): Likewise.
50016         [C99-based-standards] (PRIuFAST8): Likewise.
50017         [C99-based-standards] (PRIxFAST8): Likewise.
50018         [C99-based-standards] (PRIXFAST8): Likewise.
50019         [C99-based-standards] (SCNdFAST8): Likewise.
50020         [C99-based-standards] (SCNiFAST8): Likewise.
50021         [C99-based-standards] (SCNoFAST8): Likewise.
50022         [C99-based-standards] (SCNuFAST8): Likewise.
50023         [C99-based-standards] (SCNxFAST8): Likewise.
50024         [C99-based-standards] (PRId16): Likewise.
50025         [C99-based-standards] (PRIi16): Likewise.
50026         [C99-based-standards] (PRIo16): Likewise.
50027         [C99-based-standards] (PRIu16): Likewise.
50028         [C99-based-standards] (PRIx16): Likewise.
50029         [C99-based-standards] (PRIX16): Likewise.
50030         [C99-based-standards] (SCNd16): Likewise.
50031         [C99-based-standards] (SCNi16): Likewise.
50032         [C99-based-standards] (SCNo16): Likewise.
50033         [C99-based-standards] (SCNu16): Likewise.
50034         [C99-based-standards] (SCNx16): Likewise.
50035         [C99-based-standards] (PRIdLEAST16): Likewise.
50036         [C99-based-standards] (PRIiLEAST16): Likewise.
50037         [C99-based-standards] (PRIoLEAST16): Likewise.
50038         [C99-based-standards] (PRIuLEAST16): Likewise.
50039         [C99-based-standards] (PRIxLEAST16): Likewise.
50040         [C99-based-standards] (PRIXLEAST16): Likewise.
50041         [C99-based-standards] (SCNdLEAST16): Likewise.
50042         [C99-based-standards] (SCNiLEAST16): Likewise.
50043         [C99-based-standards] (SCNoLEAST16): Likewise.
50044         [C99-based-standards] (SCNuLEAST16): Likewise.
50045         [C99-based-standards] (SCNxLEAST16): Likewise.
50046         [C99-based-standards] (PRIdFAST16): Likewise.
50047         [C99-based-standards] (PRIiFAST16): Likewise.
50048         [C99-based-standards] (PRIoFAST16): Likewise.
50049         [C99-based-standards] (PRIuFAST16): Likewise.
50050         [C99-based-standards] (PRIxFAST16): Likewise.
50051         [C99-based-standards] (PRIXFAST16): Likewise.
50052         [C99-based-standards] (SCNdFAST16): Likewise.
50053         [C99-based-standards] (SCNiFAST16): Likewise.
50054         [C99-based-standards] (SCNoFAST16): Likewise.
50055         [C99-based-standards] (SCNuFAST16): Likewise.
50056         [C99-based-standards] (SCNxFAST16): Likewise.
50057         [C99-based-standards] (PRId32): Likewise.
50058         [C99-based-standards] (PRIi32): Likewise.
50059         [C99-based-standards] (PRIo32): Likewise.
50060         [C99-based-standards] (PRIu32): Likewise.
50061         [C99-based-standards] (PRIx32): Likewise.
50062         [C99-based-standards] (PRIX32): Likewise.
50063         [C99-based-standards] (SCNd32): Likewise.
50064         [C99-based-standards] (SCNi32): Likewise.
50065         [C99-based-standards] (SCNo32): Likewise.
50066         [C99-based-standards] (SCNu32): Likewise.
50067         [C99-based-standards] (SCNx32): Likewise.
50068         [C99-based-standards] (PRIdLEAST32): Likewise.
50069         [C99-based-standards] (PRIiLEAST32): Likewise.
50070         [C99-based-standards] (PRIoLEAST32): Likewise.
50071         [C99-based-standards] (PRIuLEAST32): Likewise.
50072         [C99-based-standards] (PRIxLEAST32): Likewise.
50073         [C99-based-standards] (PRIXLEAST32): Likewise.
50074         [C99-based-standards] (SCNdLEAST32): Likewise.
50075         [C99-based-standards] (SCNiLEAST32): Likewise.
50076         [C99-based-standards] (SCNoLEAST32): Likewise.
50077         [C99-based-standards] (SCNuLEAST32): Likewise.
50078         [C99-based-standards] (SCNxLEAST32): Likewise.
50079         [C99-based-standards] (PRIdFAST32): Likewise.
50080         [C99-based-standards] (PRIiFAST32): Likewise.
50081         [C99-based-standards] (PRIoFAST32): Likewise.
50082         [C99-based-standards] (PRIuFAST32): Likewise.
50083         [C99-based-standards] (PRIxFAST32): Likewise.
50084         [C99-based-standards] (PRIXFAST32): Likewise.
50085         [C99-based-standards] (SCNdFAST32): Likewise.
50086         [C99-based-standards] (SCNiFAST32): Likewise.
50087         [C99-based-standards] (SCNoFAST32): Likewise.
50088         [C99-based-standards] (SCNuFAST32): Likewise.
50089         [C99-based-standards] (SCNxFAST32): Likewise.
50090         [C99-based-standards] (PRId64): Likewise.
50091         [C99-based-standards] (PRIi64): Likewise.
50092         [C99-based-standards] (PRIo64): Likewise.
50093         [C99-based-standards] (PRIu64): Likewise.
50094         [C99-based-standards] (PRIx64): Likewise.
50095         [C99-based-standards] (PRIX64): Likewise.
50096         [C99-based-standards] (SCNd64): Likewise.
50097         [C99-based-standards] (SCNi64): Likewise.
50098         [C99-based-standards] (SCNo64): Likewise.
50099         [C99-based-standards] (SCNu64): Likewise.
50100         [C99-based-standards] (SCNx64): Likewise.
50101         [C99-based-standards] (PRIdLEAST64): Likewise.
50102         [C99-based-standards] (PRIiLEAST64): Likewise.
50103         [C99-based-standards] (PRIoLEAST64): Likewise.
50104         [C99-based-standards] (PRIuLEAST64): Likewise.
50105         [C99-based-standards] (PRIxLEAST64): Likewise.
50106         [C99-based-standards] (PRIXLEAST64): Likewise.
50107         [C99-based-standards] (SCNdLEAST64): Likewise.
50108         [C99-based-standards] (SCNiLEAST64): Likewise.
50109         [C99-based-standards] (SCNoLEAST64): Likewise.
50110         [C99-based-standards] (SCNuLEAST64): Likewise.
50111         [C99-based-standards] (SCNxLEAST64): Likewise.
50112         [C99-based-standards] (PRIdFAST64): Likewise.
50113         [C99-based-standards] (PRIiFAST64): Likewise.
50114         [C99-based-standards] (PRIoFAST64): Likewise.
50115         [C99-based-standards] (PRIuFAST64): Likewise.
50116         [C99-based-standards] (PRIxFAST64): Likewise.
50117         [C99-based-standards] (PRIXFAST64): Likewise.
50118         [C99-based-standards] (SCNdFAST64): Likewise.
50119         [C99-based-standards] (SCNiFAST64): Likewise.
50120         [C99-based-standards] (SCNoFAST64): Likewise.
50121         [C99-based-standards] (SCNuFAST64): Likewise.
50122         [C99-based-standards] (SCNxFAST64): Likewise.
50123         [C99-based-standards] (PRIdMAX): Likewise.
50124         [C99-based-standards] (PRIiMAX): Likewise.
50125         [C99-based-standards] (PRIoMAX): Likewise.
50126         [C99-based-standards] (PRIuMAX): Likewise.
50127         [C99-based-standards] (PRIxMAX): Likewise.
50128         [C99-based-standards] (PRIXMAX): Likewise.
50129         [C99-based-standards] (SCNdMAX): Likewise.
50130         [C99-based-standards] (SCNiMAX): Likewise.
50131         [C99-based-standards] (SCNoMAX): Likewise.
50132         [C99-based-standards] (SCNuMAX): Likewise.
50133         [C99-based-standards] (SCNxMAX): Likewise.
50134         [C99-based-standards] (PRIdPTR): Likewise.
50135         [C99-based-standards] (PRIiPTR): Likewise.
50136         [C99-based-standards] (PRIoPTR): Likewise.
50137         [C99-based-standards] (PRIuPTR): Likewise.
50138         [C99-based-standards] (PRIxPTR): Likewise.
50139         [C99-based-standards] (PRIXPTR): Likewise.
50140         [C99-based-standards] (SCNdPTR): Likewise.
50141         [C99-based-standards] (SCNiPTR): Likewise.
50142         [C99-based-standards] (SCNoPTR): Likewise.
50143         [C99-based-standards] (SCNuPTR): Likewise.
50144         [C99-based-standards] (SCNxPTR): Likewise.
50145         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
50146         allow.
50147         * conform/data/stdint.h-data: Update comments to clarify
50148         requirements.
50149         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
50150         type.
50151         [C99-based standards] (INT8_MAX): Likewise.
50152         [C99-based standards] (INT16_MIN): Likewise.
50153         [C99-based standards] (INT16_MAX): Likewise.
50154         [C99-based standards] (INT32_MIN): Likewise.
50155         [C99-based standards] (INT32_MAX): Likewise.
50156         [C99-based standards] (INT64_MIN): Likewise.
50157         [C99-based standards] (INT64_MAX): Likewise.
50158         [C99-based standards] (UINT8_MAX): Likewise.
50159         [C99-based standards] (UINT16_MAX): Likewise.
50160         [C99-based standards] (UINT32_MAX): Likewise.
50161         [C99-based standards] (UINT64_MAX): Likewise.
50162         [C99-based standards] (INT_LEAST8_MIN): Likewise.
50163         [C99-based standards] (INT_LEAST8_MAX): Likewise.
50164         [C99-based standards] (INT_LEAST16_MIN): Likewise.
50165         [C99-based standards] (INT_LEAST16_MAX): Likewise.
50166         [C99-based standards] (INT_LEAST32_MIN): Likewise.
50167         [C99-based standards] (INT_LEAST32_MAX): Likewise.
50168         [C99-based standards] (INT_LEAST64_MIN): Likewise.
50169         [C99-based standards] (INT_LEAST64_MAX): Likewise.
50170         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
50171         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
50172         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
50173         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
50174         [C99-based standards] (INT_FAST8_MIN): Likewise.
50175         [C99-based standards] (INT_FAST8_MAX): Likewise.
50176         [C99-based standards] (INT_FAST16_MIN): Likewise.
50177         [C99-based standards] (INT_FAST16_MAX): Likewise.
50178         [C99-based standards] (INT_FAST32_MIN): Likewise.
50179         [C99-based standards] (INT_FAST32_MAX): Likewise.
50180         [C99-based standards] (INT_FAST64_MIN): Likewise.
50181         [C99-based standards] (INT_FAST64_MAX): Likewise.
50182         [C99-based standards] (UINT_FAST8_MAX): Likewise.
50183         [C99-based standards] (UINT_FAST16_MAX): Likewise.
50184         [C99-based standards] (UINT_FAST32_MAX): Likewise.
50185         [C99-based standards] (UINT_FAST64_MAX): Likewise.
50186         [C99-based standards] (INTPTR_MIN): Likewise.
50187         [C99-based standards] (INTPTR_MAX): Likewise.
50188         [C99-based standards] (UINTPTR_MAX): Likewise.
50189         [C99-based standards] (INTMAX_MIN): Likewise.
50190         [C99-based standards] (INTMAX_MAX): Likewise.
50191         [C99-based standards] (UINTMAX_MAX): Likewise.
50192         [C99-based standards] (PTRDIFF_MIN): Likewise.
50193         [C99-based standards] (PTRDIFF_MAX): Likewise.
50194         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
50195         [C99-based standards] (SIZE_MAX): Likewise.
50196         [C99-based standards] (WCHAR_MAX): Likewise.
50197         [C99-based standards] (WINT_MAX): Likewise.
50198         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
50199         constraint on value.
50200         [C99-based standards] (WCHAR_MIN): Likewise.
50201         [C99-based standards] (WINT_MIN): Likewise.
50202         [C99-based standards] (*_t): Allow.
50203         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
50204         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
50205         Include math.h-data and complex.h-data.  Remove all expectations
50206         of math.h and complex.h contents.
50207         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
50208         at end of line.
50209         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
50210         (struct tm): Expect tag.
50211         [C99-based-standards] (wcstof): Expect function.
50212         [C99-based-standards] (wcstold): Likewise.
50213         [C99-based-standards] (wcstoll): Likewise.
50214         [C99-based-standards] (wcstoull): Likewise.
50215         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
50216         macro-int-constant.  Specify type.
50217         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
50218         constraint on value.
50219         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50220         Specify type.
50221         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
50222         Specify value.
50223         [ISO C standards]: Do not allow headers.
50224         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
50225         wcs[abcdefghijklmnopqrstuvwxyz]*.
50226         [ISO C standards] (*_t): Do not allow.
50227         * conform/data/wctype.h-data [C99-based standards] (iswblank):
50228         Expect function.
50229         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
50230         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50231         Specify type.
50232         [ISO C standards]: Do not allow headers.
50233         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
50234         is[abcdefghijklmnopqrstuvwxyz]*.
50235         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
50236         to[abcdefghijklmnopqrstuvwxyz]*.
50237         [ISO C standards] (*_t): Do not allow.
50238         * conform/data/stdalign.h-data: New file.
50239         * conform/data/stdbool.h-data: Likewise.
50240         * conform/data/stdnoreturn.h-data: Likewise.
50242 2012-11-07  Roland McGrath  <roland@hack.frob.com>
50244         [BZ #14815]
50245         * manual/filesys.texi (Directory Entries): Typo fix.
50246         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
50248 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50250         * elf/elf.h (EM_AARCH64): New macro.
50251         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
50252         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
50253         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
50254         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
50255         (R_AARCH64_TLSDESC): Likewise.
50256         (NT_ARM_TLS): Likewise.
50257         (NT_ARM_HW_BREAK): Likewise.
50258         (NT_ARM_HW_WATCH): Likewise.
50260 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50262         [BZ #14811]
50263         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
50264         (__ieee754_powl): Saturate nonzero exponents with absolute value
50265         below 0x1p-79 to +/- 0x1p-79.
50266         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
50267         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
50268         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
50269         nonzero exponents with absolute value below 0x1p-32 to +/-
50270         0x1p-32.
50271         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
50272         (__ieee754_powl): Saturate nonzero exponents with absolute value
50273         below 0x1p-79 to +/- 0x1p-79.
50274         * math/libm-test.inc (pow_test): Add more tests.
50276 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50278         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
50279         _dl_s390_cap_flags with kernel. Increase string length.
50280         (_dl_s390_platforms): Add z196 and zEC12.
50282 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50284         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
50285         Change XOPEN21K to XOPEN2K.
50287 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
50289         * string/memmove.c: Use memcpy when possible.
50291 2012-11-06  Andreas Jaeger  <aj@suse.de>
50293         * po/eo.po: Update from translation team.
50295 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
50297         [BZ #14793]
50298         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
50299         exponent and small x and y exponents, scale x or y up.  Increase
50300         by 2 the exponent used in scaling up.
50301         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50302         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50303         * math/libm-test.inc (fma_test): Add more tests.
50304         (fma_test_towardzero): Likewise.
50305         (fma_test_downward): Likewise.
50306         (fma_test_upward): Likewise.
50308 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
50310         [BZ #14805]
50311         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
50312         fenv_t *.
50314         [BZ #14801]
50315         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
50316         namespace for names of struct fields.
50317         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
50318         fenv_t fields.
50319         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
50320         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
50322 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50324         [BZ #3665]
50325         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
50327 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50329         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
50330         PTR_DEMANGLE.
50332         [BZ #5246]
50333         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
50334         PTR_DEMANGLE.
50336 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
50338         [BZ #14797]
50339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
50340         definitely overflow as x * y not x * y + z.
50341         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50342         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50343         * math/libm-test.inc (fma_test): Add more tests.
50344         (fma_test_towardzero): Likewise.
50345         (fma_test_downward): Likewise.
50346         (fma_test_upward): Likewise.
50348 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50350         [BZ #157]
50352         * include/stub-tag.h: Remove file.
50353         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
50354         '#include' of it.
50355         * manual/maint.texi (Porting): Don't reference it.
50356         * Makerules ($(objpfx)stubs): Likewise.
50357         * dirent/closedir.c: Don't include <stub-tag.h>.
50358         * dirent/dirfd.c: Likewise.
50359         * dirent/fdopendir.c: Likewise.
50360         * dirent/getdents.c: Likewise.
50361         * dirent/getdents64.c: Likewise.
50362         * dirent/opendir.c: Likewise.
50363         * dirent/readdir.c: Likewise.
50364         * dirent/readdir64.c: Likewise.
50365         * dirent/readdir64_r.c: Likewise.
50366         * dirent/readdir_r.c: Likewise.
50367         * dirent/rewinddir.c: Likewise.
50368         * dirent/seekdir.c: Likewise.
50369         * dirent/telldir.c: Likewise.
50370         * gmon/profil.c: Likewise.
50371         * grp/setgroups.c: Likewise.
50372         * inet/if_index.c: Likewise.
50373         * io/access.c: Likewise.
50374         * io/chdir.c: Likewise.
50375         * io/chmod.c: Likewise.
50376         * io/chown.c: Likewise.
50377         * io/close.c: Likewise.
50378         * io/dup.c: Likewise.
50379         * io/dup2.c: Likewise.
50380         * io/dup3.c: Likewise.
50381         * io/euidaccess.c: Likewise.
50382         * io/faccessat.c: Likewise.
50383         * io/fchdir.c: Likewise.
50384         * io/fchmod.c: Likewise.
50385         * io/fchmodat.c: Likewise.
50386         * io/fchown.c: Likewise.
50387         * io/fchownat.c: Likewise.
50388         * io/fcntl.c: Likewise.
50389         * io/flock.c: Likewise.
50390         * io/fstatfs.c: Likewise.
50391         * io/fstatfs64.c: Likewise.
50392         * io/fstatvfs.c: Likewise.
50393         * io/fstatvfs64.c: Likewise.
50394         * io/futimens.c: Likewise.
50395         * io/fxstat.c: Likewise.
50396         * io/fxstat64.c: Likewise.
50397         * io/fxstatat.c: Likewise.
50398         * io/fxstatat64.c: Likewise.
50399         * io/getcwd.c: Likewise.
50400         * io/isatty.c: Likewise.
50401         * io/lchmod.c: Likewise.
50402         * io/lchown.c: Likewise.
50403         * io/link.c: Likewise.
50404         * io/linkat.c: Likewise.
50405         * io/lseek.c: Likewise.
50406         * io/lseek64.c: Likewise.
50407         * io/lxstat64.c: Likewise.
50408         * io/mkdir.c: Likewise.
50409         * io/mkdirat.c: Likewise.
50410         * io/mkfifo.c: Likewise.
50411         * io/mkfifoat.c: Likewise.
50412         * io/open.c: Likewise.
50413         * io/open64.c: Likewise.
50414         * io/openat.c: Likewise.
50415         * io/openat64.c: Likewise.
50416         * io/pipe.c: Likewise.
50417         * io/pipe2.c: Likewise.
50418         * io/poll.c: Likewise.
50419         * io/posix_fadvise.c: Likewise.
50420         * io/posix_fadvise64.c: Likewise.
50421         * io/posix_fallocate.c: Likewise.
50422         * io/posix_fallocate64.c: Likewise.
50423         * io/read.c: Likewise.
50424         * io/readlink.c: Likewise.
50425         * io/readlinkat.c: Likewise.
50426         * io/rmdir.c: Likewise.
50427         * io/sendfile.c: Likewise.
50428         * io/sendfile64.c: Likewise.
50429         * io/statfs.c: Likewise.
50430         * io/statfs64.c: Likewise.
50431         * io/statvfs.c: Likewise.
50432         * io/statvfs64.c: Likewise.
50433         * io/symlink.c: Likewise.
50434         * io/symlinkat.c: Likewise.
50435         * io/ttyname.c: Likewise.
50436         * io/ttyname_r.c: Likewise.
50437         * io/umask.c: Likewise.
50438         * io/unlink.c: Likewise.
50439         * io/unlinkat.c: Likewise.
50440         * io/utime.c: Likewise.
50441         * io/utimensat.c: Likewise.
50442         * io/write.c: Likewise.
50443         * io/xmknod.c: Likewise.
50444         * io/xmknodat.c: Likewise.
50445         * io/xstat.c: Likewise.
50446         * io/xstat64.c: Likewise.
50447         * login/getpt.c: Likewise.
50448         * login/grantpt.c: Likewise.
50449         * login/unlockpt.c: Likewise.
50450         * math/e_acoshl.c: Likewise.
50451         * math/e_acosl.c: Likewise.
50452         * math/e_asinl.c: Likewise.
50453         * math/e_atan2l.c: Likewise.
50454         * math/e_atanhl.c: Likewise.
50455         * math/e_coshl.c: Likewise.
50456         * math/e_expl.c: Likewise.
50457         * math/e_fmodl.c: Likewise.
50458         * math/e_gammal_r.c: Likewise.
50459         * math/e_hypotl.c: Likewise.
50460         * math/e_j0l.c: Likewise.
50461         * math/e_j1l.c: Likewise.
50462         * math/e_jnl.c: Likewise.
50463         * math/e_lgammal_r.c: Likewise.
50464         * math/e_log10l.c: Likewise.
50465         * math/e_log2l.c: Likewise.
50466         * math/e_logl.c: Likewise.
50467         * math/e_powl.c: Likewise.
50468         * math/e_rem_pio2l.c: Likewise.
50469         * math/e_sinhl.c: Likewise.
50470         * math/e_sqrtl.c: Likewise.
50471         * math/fclrexcpt.c: Likewise.
50472         * math/fedisblxcpt.c: Likewise.
50473         * math/feenablxcpt.c: Likewise.
50474         * math/fegetenv.c: Likewise.
50475         * math/fegetexcept.c: Likewise.
50476         * math/fegetround.c: Likewise.
50477         * math/feholdexcpt.c: Likewise.
50478         * math/fesetenv.c: Likewise.
50479         * math/fesetround.c: Likewise.
50480         * math/feupdateenv.c: Likewise.
50481         * math/fgetexcptflg.c: Likewise.
50482         * math/fraiseexcpt.c: Likewise.
50483         * math/fsetexcptflg.c: Likewise.
50484         * math/ftestexcept.c: Likewise.
50485         * math/k_cosl.c: Likewise.
50486         * math/k_rem_pio2l.c: Likewise.
50487         * math/k_sinl.c: Likewise.
50488         * math/k_tanl.c: Likewise.
50489         * math/s_asinhl.c: Likewise.
50490         * math/s_atanl.c: Likewise.
50491         * math/s_cbrtl.c: Likewise.
50492         * math/s_erfl.c: Likewise.
50493         * math/s_expm1l.c: Likewise.
50494         * math/s_log1pl.c: Likewise.
50495         * math/s_tanhl.c: Likewise.
50496         * misc/acct.c: Likewise.
50497         * misc/brk.c: Likewise.
50498         * misc/chflags.c: Likewise.
50499         * misc/chroot.c: Likewise.
50500         * misc/fchflags.c: Likewise.
50501         * misc/fgetxattr.c: Likewise.
50502         * misc/flistxattr.c: Likewise.
50503         * misc/fremovexattr.c: Likewise.
50504         * misc/fsetxattr.c: Likewise.
50505         * misc/fsync.c: Likewise.
50506         * misc/ftruncate.c: Likewise.
50507         * misc/futimes.c: Likewise.
50508         * misc/futimesat.c: Likewise.
50509         * misc/getdomain.c: Likewise.
50510         * misc/getdtsz.c: Likewise.
50511         * misc/gethostid.c: Likewise.
50512         * misc/gethostname.c: Likewise.
50513         * misc/getloadavg.c: Likewise.
50514         * misc/getpagesize.c: Likewise.
50515         * misc/getsysstats.c: Likewise.
50516         * misc/getxattr.c: Likewise.
50517         * misc/gtty.c: Likewise.
50518         * misc/ioctl.c: Likewise.
50519         * misc/lgetxattr.c: Likewise.
50520         * misc/listxattr.c: Likewise.
50521         * misc/llistxattr.c: Likewise.
50522         * misc/lremovexattr.c: Likewise.
50523         * misc/lsetxattr.c: Likewise.
50524         * misc/lutimes.c: Likewise.
50525         * misc/madvise.c: Likewise.
50526         * misc/mincore.c: Likewise.
50527         * misc/mlock.c: Likewise.
50528         * misc/mlockall.c: Likewise.
50529         * misc/mmap.c: Likewise.
50530         * misc/mprotect.c: Likewise.
50531         * misc/msync.c: Likewise.
50532         * misc/munlock.c: Likewise.
50533         * misc/munlockall.c: Likewise.
50534         * misc/munmap.c: Likewise.
50535         * misc/preadv.c: Likewise.
50536         * misc/preadv64.c: Likewise.
50537         * misc/ptrace.c: Likewise.
50538         * misc/pwritev.c: Likewise.
50539         * misc/pwritev64.c: Likewise.
50540         * misc/readv.c: Likewise.
50541         * misc/reboot.c: Likewise.
50542         * misc/remap_file_pages.c: Likewise.
50543         * misc/removexattr.c: Likewise.
50544         * misc/revoke.c: Likewise.
50545         * misc/select.c: Likewise.
50546         * misc/setdomain.c: Likewise.
50547         * misc/setegid.c: Likewise.
50548         * misc/seteuid.c: Likewise.
50549         * misc/sethostid.c: Likewise.
50550         * misc/sethostname.c: Likewise.
50551         * misc/setregid.c: Likewise.
50552         * misc/setreuid.c: Likewise.
50553         * misc/setxattr.c: Likewise.
50554         * misc/sstk.c: Likewise.
50555         * misc/stty.c: Likewise.
50556         * misc/swapoff.c: Likewise.
50557         * misc/swapon.c: Likewise.
50558         * misc/sync.c: Likewise.
50559         * misc/syncfs.c: Likewise.
50560         * misc/syscall.c: Likewise.
50561         * misc/truncate.c: Likewise.
50562         * misc/ualarm.c: Likewise.
50563         * misc/usleep.c: Likewise.
50564         * misc/ustat.c: Likewise.
50565         * misc/utimes.c: Likewise.
50566         * misc/vhangup.c: Likewise.
50567         * misc/writev.c: Likewise.
50568         * posix/_exit.c: Likewise.
50569         * posix/alarm.c: Likewise.
50570         * posix/execve.c: Likewise.
50571         * posix/fexecve.c: Likewise.
50572         * posix/fork.c: Likewise.
50573         * posix/fpathconf.c: Likewise.
50574         * posix/getaddrinfo.c: Likewise.
50575         * posix/getegid.c: Likewise.
50576         * posix/geteuid.c: Likewise.
50577         * posix/getgid.c: Likewise.
50578         * posix/getgroups.c: Likewise.
50579         * posix/getlogin.c: Likewise.
50580         * posix/getlogin_r.c: Likewise.
50581         * posix/getpgid.c: Likewise.
50582         * posix/getpid.c: Likewise.
50583         * posix/getppid.c: Likewise.
50584         * posix/getresgid.c: Likewise.
50585         * posix/getresuid.c: Likewise.
50586         * posix/getsid.c: Likewise.
50587         * posix/getuid.c: Likewise.
50588         * posix/glob64.c: Likewise.
50589         * posix/nanosleep.c: Likewise.
50590         * posix/pathconf.c: Likewise.
50591         * posix/pause.c: Likewise.
50592         * posix/posix_madvise.c: Likewise.
50593         * posix/pread.c: Likewise.
50594         * posix/pread64.c: Likewise.
50595         * posix/pwrite.c: Likewise.
50596         * posix/pwrite64.c: Likewise.
50597         * posix/sched_getaffinity.c: Likewise.
50598         * posix/sched_getp.c: Likewise.
50599         * posix/sched_gets.c: Likewise.
50600         * posix/sched_primax.c: Likewise.
50601         * posix/sched_primin.c: Likewise.
50602         * posix/sched_rr_gi.c: Likewise.
50603         * posix/sched_setaffinity.c: Likewise.
50604         * posix/sched_setp.c: Likewise.
50605         * posix/sched_sets.c: Likewise.
50606         * posix/sched_yield.c: Likewise.
50607         * posix/setgid.c: Likewise.
50608         * posix/setlogin.c: Likewise.
50609         * posix/setpgid.c: Likewise.
50610         * posix/setresgid.c: Likewise.
50611         * posix/setresuid.c: Likewise.
50612         * posix/setsid.c: Likewise.
50613         * posix/setuid.c: Likewise.
50614         * posix/sleep.c: Likewise.
50615         * posix/spawni.c: Likewise.
50616         * posix/sysconf.c: Likewise.
50617         * posix/times.c: Likewise.
50618         * posix/wait.c: Likewise.
50619         * posix/wait3.c: Likewise.
50620         * posix/wait4.c: Likewise.
50621         * posix/waitpid.c: Likewise.
50622         * resolv/gai_sigqueue.c: Likewise.
50623         * resource/getpriority.c: Likewise.
50624         * resource/getrlimit.c: Likewise.
50625         * resource/getrusage.c: Likewise.
50626         * resource/nice.c: Likewise.
50627         * resource/setpriority.c: Likewise.
50628         * resource/setrlimit.c: Likewise.
50629         * resource/ulimit.c: Likewise.
50630         * rt/aio_cancel.c: Likewise.
50631         * rt/aio_fsync.c: Likewise.
50632         * rt/aio_read.c: Likewise.
50633         * rt/aio_sigqueue.c: Likewise.
50634         * rt/aio_suspend.c: Likewise.
50635         * rt/aio_write.c: Likewise.
50636         * rt/clock_getres.c: Likewise.
50637         * rt/clock_gettime.c: Likewise.
50638         * rt/clock_nanosleep.c: Likewise.
50639         * rt/clock_settime.c: Likewise.
50640         * rt/lio_listio.c: Likewise.
50641         * rt/mq_close.c: Likewise.
50642         * rt/mq_getattr.c: Likewise.
50643         * rt/mq_notify.c: Likewise.
50644         * rt/mq_open.c: Likewise.
50645         * rt/mq_receive.c: Likewise.
50646         * rt/mq_send.c: Likewise.
50647         * rt/mq_setattr.c: Likewise.
50648         * rt/mq_timedreceive.c: Likewise.
50649         * rt/mq_timedsend.c: Likewise.
50650         * rt/mq_unlink.c: Likewise.
50651         * rt/shm_open.c: Likewise.
50652         * rt/shm_unlink.c: Likewise.
50653         * rt/timer_create.c: Likewise.
50654         * rt/timer_delete.c: Likewise.
50655         * rt/timer_getoverr.c: Likewise.
50656         * rt/timer_gettime.c: Likewise.
50657         * rt/timer_settime.c: Likewise.
50658         * setjmp/__longjmp.c: Likewise.
50659         * setjmp/setjmp.c: Likewise.
50660         * signal/kill.c: Likewise.
50661         * signal/killpg.c: Likewise.
50662         * signal/raise.c: Likewise.
50663         * signal/sigaction.c: Likewise.
50664         * signal/sigaltstack.c: Likewise.
50665         * signal/sigblock.c: Likewise.
50666         * signal/sigignore.c: Likewise.
50667         * signal/sigintr.c: Likewise.
50668         * signal/signal.c: Likewise.
50669         * signal/sigpause.c: Likewise.
50670         * signal/sigpending.c: Likewise.
50671         * signal/sigqueue.c: Likewise.
50672         * signal/sigreturn.c: Likewise.
50673         * signal/sigset.c: Likewise.
50674         * signal/sigsetmask.c: Likewise.
50675         * signal/sigstack.c: Likewise.
50676         * signal/sigsuspend.c: Likewise.
50677         * signal/sigtimedwait.c: Likewise.
50678         * signal/sigvec.c: Likewise.
50679         * signal/sigwait.c: Likewise.
50680         * signal/sigwaitinfo.c: Likewise.
50681         * signal/sysv_signal.c: Likewise.
50682         * socket/accept.c: Likewise.
50683         * socket/accept4.c: Likewise.
50684         * socket/bind.c: Likewise.
50685         * socket/connect.c: Likewise.
50686         * socket/getpeername.c: Likewise.
50687         * socket/getsockname.c: Likewise.
50688         * socket/getsockopt.c: Likewise.
50689         * socket/isfdtype.c: Likewise.
50690         * socket/listen.c: Likewise.
50691         * socket/recv.c: Likewise.
50692         * socket/recvfrom.c: Likewise.
50693         * socket/recvmsg.c: Likewise.
50694         * socket/send.c: Likewise.
50695         * socket/sendmsg.c: Likewise.
50696         * socket/sendto.c: Likewise.
50697         * socket/setsockopt.c: Likewise.
50698         * socket/shutdown.c: Likewise.
50699         * socket/sockatmark.c: Likewise.
50700         * socket/socket.c: Likewise.
50701         * socket/socketpair.c: Likewise.
50702         * stdio-common/ctermid.c: Likewise.
50703         * stdio-common/cuserid.c: Likewise.
50704         * stdio-common/remove.c: Likewise.
50705         * stdio-common/rename.c: Likewise.
50706         * stdio-common/renameat.c: Likewise.
50707         * stdio-common/tempname.c: Likewise.
50708         * stdlib/getcontext.c: Likewise.
50709         * stdlib/makecontext.c: Likewise.
50710         * stdlib/setcontext.c: Likewise.
50711         * stdlib/swapcontext.c: Likewise.
50712         * stdlib/system.c: Likewise.
50713         * streams/fattach.c: Likewise.
50714         * streams/fdetach.c: Likewise.
50715         * streams/getmsg.c: Likewise.
50716         * streams/getpmsg.c: Likewise.
50717         * streams/putmsg.c: Likewise.
50718         * streams/putpmsg.c: Likewise.
50719         * sysdeps/unix/bsd/getpt.c: Likewise.
50720         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
50721         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
50722         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50724         Likewise.
50725         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
50726         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50727         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
50728         * sysvipc/msgctl.c: Likewise.
50729         * sysvipc/msgget.c: Likewise.
50730         * sysvipc/msgrcv.c: Likewise.
50731         * sysvipc/msgsnd.c: Likewise.
50732         * sysvipc/semctl.c: Likewise.
50733         * sysvipc/semget.c: Likewise.
50734         * sysvipc/semop.c: Likewise.
50735         * sysvipc/semtimedop.c: Likewise.
50736         * sysvipc/shmat.c: Likewise.
50737         * sysvipc/shmctl.c: Likewise.
50738         * sysvipc/shmdt.c: Likewise.
50739         * sysvipc/shmget.c: Likewise.
50740         * termios/tcdrain.c: Likewise.
50741         * termios/tcflow.c: Likewise.
50742         * termios/tcflush.c: Likewise.
50743         * termios/tcgetattr.c: Likewise.
50744         * termios/tcgetpgrp.c: Likewise.
50745         * termios/tcsendbrk.c: Likewise.
50746         * termios/tcsetattr.c: Likewise.
50747         * termios/tcsetpgrp.c: Likewise.
50748         * time/adjtime.c: Likewise.
50749         * time/clock.c: Likewise.
50750         * time/getitimer.c: Likewise.
50751         * time/gettimeofday.c: Likewise.
50752         * time/setitimer.c: Likewise.
50753         * time/settimeofday.c: Likewise.
50754         * time/stime.c: Likewise.
50755         * time/time.c: Likewise.
50757 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
50759         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
50760         /usr/old/bin.
50762         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
50763         instead of spaces.
50764         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
50766 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
50768         [BZ #14796]
50769         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
50770         FE_TONEAREST before applying Dekker multiplication and Knuth
50771         addition.  Clear inexact exceptions and check for exact zero
50772         results afterwards.
50773         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50774         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50775         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50776         * math/libm-test.inc (fma_test): Add more tests.
50777         (fma_test_towardzero): Likewise.
50778         (fma_test_downward): Likewise.
50779         (fma_test_upward): Likewise.
50780         * sysdeps/generic/math_private.h (default_libc_fesetround): New
50781         function.
50782         (libc_fesetround): New macro.
50783         (libc_fesetroundf): Likewise.
50784         (libc_fesetroundl): Likewise.
50785         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
50786         function.
50787         (libc_fesetround_387): Likewise.
50788         (libc_fesetroundf): New macro.
50789         (libc_fesetround): Likewise.
50790         (libc_fesetroundl): Likewise.
50791         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
50792         function.
50793         (libc_fesetroundf): New macro.
50794         (libc_fesetround): Likewise.
50795         (libc_fesetroundl): Likewise.
50796         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
50797         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
50798         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
50799         libm_hidden_ver.
50800         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
50801         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
50802         libm_hidden_def.
50803         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
50804         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
50805         libm_hidden_ver.
50806         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
50807         libm_hidden_def.
50809         [BZ #3439]
50810         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
50811         integer constant usable in #if and use that to give value to enum
50812         constant.
50813         (FE_DIVBYZERO): Likewise.
50814         (FE_UNDERFLOW): Likewise.
50815         (FE_OVERFLOW): Likewise.
50816         (FE_INVALID): Likewise.
50817         (FE_INVALID_SNAN): Likewise.
50818         (FE_INVALID_ISI): Likewise.
50819         (FE_INVALID_IDI): Likewise.
50820         (FE_INVALID_ZDZ): Likewise.
50821         (FE_INVALID_IMZ): Likewise.
50822         (FE_INVALID_COMPARE): Likewise.
50823         (FE_INVALID_SOFTWARE): Likewise.
50824         (FE_INVALID_SQRT): Likewise.
50825         (FE_INVALID_INTEGER_CONVERSION): Likewise.
50826         (FE_TONEAREST): Likewise.
50827         (FE_TOWARDZERO): Likewise.
50828         (FE_UPWARD): Likewise.
50829         (FE_DOWNWARD): Likewise.
50830         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
50831         (FE_DIVBYZERO): Likewise.
50832         (FE_OVERFLOW): Likewise.
50833         (FE_UNDERFLOW): Likewise.
50834         (FE_INEXACT): Likewise.
50835         (FE_TONEAREST): Likewise.
50836         (FE_DOWNWARD): Likewise.
50837         (FE_UPWARD): Likewise.
50838         (FE_TOWARDZERO): Likewise.
50839         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
50840         (FE_UNDERFLOW): Likewise.
50841         (FE_OVERFLOW): Likewise.
50842         (FE_DIVBYZERO): Likewise.
50843         (FE_INVALID): Likewise.
50844         (FE_TONEAREST): Likewise.
50845         (FE_TOWARDZERO): Likewise.
50846         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
50847         (FE_OVERFLOW): Likewise.
50848         (FE_UNDERFLOW): Likewise.
50849         (FE_DIVBYZERO): Likewise.
50850         (FE_INEXACT): Likewise.
50851         (FE_TONEAREST): Likewise.
50852         (FE_TOWARDZERO): Likewise.
50853         (FE_UPWARD): Likewise.
50854         (FE_DOWNWARD): Likewise.
50855         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
50856         (FE_DIVBYZERO): Likewise.
50857         (FE_OVERFLOW): Likewise.
50858         (FE_UNDERFLOW): Likewise.
50859         (FE_INEXACT): Likewise.
50860         (FE_TONEAREST): Likewise.
50861         (FE_DOWNWARD): Likewise.
50862         (FE_UPWARD): Likewise.
50863         (FE_TOWARDZERO): Likewise.
50865 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
50867         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
50869 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
50871         * scripts/cross-test-ssh.sh (command): Use newlines to separate
50872         commands.  Quote $PWD.
50873         (blacklist_exports): Don't use remove_newlines.  Replace "declare
50874         -x" by "export".
50875         (remove_newlines): Remove.
50877 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
50879         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
50880         * stdlib/stdlib.h (atof): Moved to ...
50881         * include/bits/stdlib-float.h: Here.  New file.
50882         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
50883         * stdlib/bits/stdlib-float.h: New file.
50884         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
50885         -mno-sse -mno-mmx.
50886         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
50887         <xmmintrin.h>.
50889 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50891         * conform/conformtest.pl (@headers): Add fenv.h.
50892         * conform/data/fenv.h-data: New file.
50893         * include/fenv.h [_ISOMAC]: Disable all contents of file except
50894         include of <math/fenv.h>.
50896         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
50897         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
50898         && !UNIX98].  Enables tests for XOPEN2K8.
50899         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
50900         POSIX2008]: Likewise.
50902         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
50903         (struct rusage): Do not expect type or its members.
50905         [BZ #3439]
50906         * math/math.h (FP_NAN): Define macro to integer constant usable in
50907         #if and use that to give value to enum constant.
50908         (FP_INFINITE): Likewise.
50909         (FP_ZERO): Likewise.
50910         (FP_SUBNORMAL): Likewise.
50911         (FP_NORMAL): Likewise.
50913 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
50915         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
50916         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
50917         arguments.
50919 2012-11-02  Roland McGrath  <roland@hack.frob.com>
50921         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
50922         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
50923         autoconf-time if not.
50924         * configure.in: Remove AC_PREREQ.
50926 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50928         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
50929         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
50930         of the internal implementation.
50932 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50934         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
50935         except include of <misc/sys/syslog.h>.
50937 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
50940         function returns with a NULL context exit with zero.
50942 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50944         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
50946 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
50948         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
50949         (run_program_cmd): This.
50950         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
50951         (tst_langinfo): New variable.  Use it.
50953 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
50955         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
50956         floating point opcodes.
50958 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50960         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
50961         variable.
50963         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
50965         * sysdeps/mach/hurd/powerpc: Remove directory.
50966         * sysdeps/mach/powerpc: Likewise.
50968 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50970         * scripts/check-local-headers.sh: Ignore c++ headers.
50972 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50974         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
50975         __libc_cleanup_region_start argument.
50977 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
50979         [BZ #14784]
50980         [BZ #14785]
50981         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
50982         x * y using scaling, not as x * y + z.
50983         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50984         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50985         * math/libm-test.inc (fma_test): Add more tests.
50986         (fma_test_towardzero): Likewise.
50987         (fma_test_downward): Likewise.
50988         (fma_test_upward): Likewise.
50990 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50992         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
50994 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50996         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
50997         New variable.
50999 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
51001         * rt/tst-shm.c (worker): Correct checking for mmap failure.
51003 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51006         Fix sort order.
51007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51008         Likewise.
51010 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51013         Fix the order of the list for glibc 2.17.
51014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51015         Likewise.
51017 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
51019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51021 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
51023         [BZ #14610]
51024         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
51025         for low part of x being zero before using __atanl (y).
51026         * math/libm-test.inc (atan2_test): Add another test.
51028         * manual/install.texi (Configuring and compiling): Document
51029         general use of test-wrapper and test-wrapper-env.
51030         * INSTALL: Regenerated.
51032         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
51033         (__fma): Do not extract and scale down low bits on after-rounding
51034         systems when result rounded to normal precision would have normal
51035         exponent.
51036         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
51037         (__fmal): Do not extract and scale down low bits on after-rounding
51038         systems when result rounded to normal precision would have normal
51039         exponent.
51040         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
51041         (__fmal): Do not extract and scale down low bits on after-rounding
51042         systems when result rounded to normal precision would have normal
51043         exponent.
51044         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
51045         macro.
51046         (fma_test): Add more tests.
51047         (fma_test_towardzero): Likewise.
51048         (fma_test_downward): Likewise.
51049         (fma_test_upward): Likewise.
51051 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
51053         * sysdeps/i386/tininess.h: Renamed to ...
51054         * sysdeps/x86/tininess.h: This.
51055         * sysdeps/x86_64/tininess.h: Removed.
51057 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51059         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
51060         input.  Use $(build-program-cmd).
51061         ($(objpfx)tst-array1-static.out): Likewise.
51062         ($(objpfx)tst-array2.out): Likewise.
51063         ($(objpfx)tst-array3.out): Likewise.
51064         ($(objpfx)tst-array4.out): Likewise.
51065         ($(objpfx)tst-array5.out): Likewise.
51066         ($(objpfx)tst-array5-static.out): Likewise.
51068 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
51070         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
51071         if defined.
51073         * nss/nsswitch.h (nss_interface_function): Provide new
51074         macro for use with NSS functions.
51075         * grp/initgroups.c: Use new macro.
51076         * nss/getXXbyYY.c: Likewise.
51077         * nss/getXXbyYY_r.c: Likewise.
51078         * nss/getXXent.c: Likewise.
51079         * nss/getXXent_r.c: Likewise.
51080         * sysdeps/posix/getaddrinfo.c: Likewise.
51082 2012-10-30  Andreas Jaeger  <aj@suse.de>
51084         * po/ru.po: Update Russion translation from translation project.
51086 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
51088         [BZ #14152]
51089         [BZ #14783]
51090         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
51091         result and shift together with sticky bit instead of replicating
51092         round-to-nearest rounding.
51093         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51094         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51095         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
51096         missing underflow exceptions.
51097         (fma_test_towardzero): Add more tests.
51098         (fma_test_downward): Likewise.
51099         (fma_test_upward): Likewise.
51101         [BZ #14047]
51102         * sysdeps/generic/tininess.h: New file.
51103         * sysdeps/i386/tininess.h: Likewise.
51104         * sysdeps/sh/tininess.h: Likewise.
51105         * sysdeps/x86_64/tininess.h: Likewise.
51106         * stdlib/tst-strtod-underflow.c: Likewise.
51107         * stdlib/tst-tininess.c: Likewise.
51108         * stdlib/strtod_l.c: Include <tininess.h>.
51109         (round_and_return): Do not set errno for exact underflow cases.
51110         Force an underflow exception when setting errno for underflow.
51111         Determine underflow based on rounding to normal precision if
51112         TININESS_AFTER_ROUNDING.
51113         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
51114         ERANGE for exact underflow cases.
51115         * stdlib/Makefile (tests): Add tst-tininess and
51116         tst-strtod-underflow.
51117         ($(objpfx)tst-tininess): Use $(link-libm).
51118         ($(objpfx)tst-strtod-underflow): Likewise.
51120 2012-10-30  Andreas Jaeger  <aj@suse.de>
51122         [BZ#14767]
51123         * elf/Makefile (tests): Remove conditional for have-initfini-array
51124         since this is now always required and the variable does not exist
51125         anymore.
51126         (tests-static): Likewise.
51127         (modules-names): Likewise.
51129         * po/eo.po: Add Esperanto translation from translation project.
51131         * elf/tst-array1.c (fini_array): Make writeable so that it can be
51132         merged with constructor/destructor.
51133         (init_array): Likewise.
51134         * elf/tst-array2dep.c (fini_array): Likewise.
51135         (init_array): Likewise.
51137 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
51139         * manual/message.texi: Delete @cartouche tags.
51141 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
51143         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
51144         EOPNOTSUPP.
51145         * sysdeps/mach/hurd/fsync.c: Likewise.
51147         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
51148         [_POSIX_REALTIME_SIGNALS]: Change condition to
51149         [_POSIX_REALTIME_SIGNALS > 0].
51151 2012-10-27  Andreas Jaeger  <aj@suse.de>
51153         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
51154         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
51155         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
51156         [__WORDSIZE != 64]: Likewise.
51158 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
51160         *  iconvdata/tst-table.sh: Remove ${SHELL}.
51161         *  iconvdata/tst-tables.sh: Likewise.
51163 2012-10-25  David S. Miller  <davem@davemloft.net>
51165         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51166         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
51167         of strtoull.
51169         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
51170         ifunc-impl-list.c
51171         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51172         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
51173         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
51174         file.
51176 2012-10-25  Roland McGrath  <roland@hack.frob.com>
51178         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51179         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
51180         __getdirentries.
51182 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51183             Jim Blandy  <jimb@codesourcery.com>
51185         * scripts/cross-test-ssh.sh: New file.
51186         * manual/install.texi (Configuring and compiling): Document use of
51187         cross-test-ssh.sh.
51188         * INSTALL: Regenerated.
51190 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
51192         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
51193         EOPNOTSUPP.
51195 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
51197         * Makeconfig (run-program-prefix): Fix comment.
51199 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51200             Jim Blandy  <jimb@codesourcery.com>
51202         * Makeconfig (test-wrapper): New variable,
51203         (test-wrapper-env): Likewise.
51204         [$(cross-compiling) = yes && $(test-wrapper) != ""]
51205         (run-built-tests): Define to yes.
51206         (run-program-prefix): Use $(test-wrapper).
51207         (built-program-cmd): Likewise.
51208         * Rules (make-test-out): Use $(test-wrapper-env) and
51209         $(host-built-program-cmd).
51210         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
51211         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
51212         tst-pathopt.sh.
51213         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
51214         $(test-wrapper-env) to tst-rtld-load-self.sh.
51215         ($(objpfx)order2.out): Use $(test-wrapper).
51216         ($(objpfx)tst-initorder.out): Likewise.
51217         ($(objpfx)tst-initorder2.out): Likewise.
51218         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
51219         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
51220         (test_wrapper_env): New variable.  Use it to run ld.so.
51221         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
51222         Use it to run ld.so.
51223         (test_wrapper_env): Likewise.
51224         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
51225         $(test-wrapper) to run-iconv-test.sh.
51226         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
51227         (ICONV): Use $test_wrapper.
51228         * posix/Makefile ($(objpfx)globtest.out): Pass
51229         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
51230         globtest.sh, not $(run-program-prefix).
51231         * posix/globtest.sh (run_via_rtld_prefix): New variable.
51232         (test_wrapper): Likewise.
51233         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
51234         set together with run_via_rtld_prefix.
51235         (run_program_prefix): Define in terms of test_wrapper and
51236         run_via_rtld_prefix.
51238 2012-10-24  Roland McGrath  <roland@hack.frob.com>
51240         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
51241         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
51242         Targets removed.
51244         [BZ #14743]
51245         * include/time.h: Remove librt_hidden_proto (clock_gettime).
51246         Declare __clock_getres, __clock_gettime, __clock_settime,
51247         __clock_nanosleep, and __clock_getcpuclockid.
51248         * rt/clock_gettime.c: Define __clock_gettime as an alias.
51249         Remove librt_hidden_def (clock_gettime).
51250         * sysdeps/unix/clock_gettime.c: Likewise.
51251         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
51252         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
51253         * rt/clock_getres.c: Define __clock_getres as an alias.
51254         * sysdeps/posix/clock_getres.c: Likewise.
51255         * rt/clock_settime.c: Define __clock_settime as an alias.
51256         * sysdeps/unix/clock_settime.c: Likewise.
51257         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
51258         * sysdeps/unix/clock_nanosleep.c: Likewise.
51259         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
51260         * rt/clock-compat.c: New file.
51261         * rt/Makefile (librt-routines): Add clock-compat and move
51262         $(clock-routines) to ...
51263         (routines): ... here, new variable.
51264         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
51265         Don't add get_clockfreq here.
51266         * rt/Versions (libc: GLIBC_2.17): New version set.
51267         Add clock_* symbols here.
51268         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
51269         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
51270         (GLIBC_2.17): Add clock_* symbols.
51271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51273         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51275         Likewise.
51276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51277         Likewise.
51278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51282         * NEWS: Mention the move.
51284         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51285         Use __open, __read, __close rather than their public counterparts.
51286         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51287         (__get_clockfreq_via_cpuinfo): Likewise.
51288         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
51289         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
51291         * config.h.in (HAVE_IFUNC): New #undef.
51292         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
51293         was successful.
51294         * configure: Regenerated.
51296 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51298         * configure.in: Move READELF check to start of file.
51299         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
51300         libc_cv_asm_gnu_indirect_function in the process.
51301         * configure: Regenerated.
51303 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51305         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
51306         send the output to /dev/null.
51307         (libc_cv_cc_with_libunwind): Likewise.
51308         (libc_cv_as_noexecstack): Likewise.
51309         * configure: Regenerate.
51311 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51313         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
51315         * posix/globtest.sh (TMPDIR): Do not set.
51316         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
51317         (testout): Likewise.
51319 2012-10-24  Andreas Jaeger  <aj@suse.de>
51321         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
51322         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
51323         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
51324         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
51325         posix_fadvise64, posix_fallocate64.
51327         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
51328         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
51329         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
51330         Likewise.
51331         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
51332         Likewise.
51333         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
51335         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
51336         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
51337         <bits/fcntl-linux.h>.
51338         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
51340         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
51341         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
51342         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
51343         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
51344         [__WORDSIZE != 64]: Likewise.
51346 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51348         * Makeconfig (run-built-tests): New variable.
51349         * Rules [$(cross-compiling) = yes]: Change condition to
51350         [$(run-built-tests) = no].
51351         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
51352         to [$(run-built-tests) = yes].
51353         * elf/Makefile [$(cross-compiling) = no]: Likewise
51354         * grp/Makefile [$(cross-compiling) = no]: Likewise.
51355         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
51356         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
51357         * intl/Makefile [$(cross-compiling) = no]: Likewise.
51358         * io/Makefile [$(cross-compiling) = no]: Likewise.
51359         * libio/Makefile [$(cross-compiling) = no]: Likewise.
51360         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
51361         * misc/Makefile [$(cross-compiling) = no]: Likewise.
51362         * posix/Makefile [$(cross-compiling) = no]: Likewise.
51363         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
51364         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
51365         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
51366         * string/Makefile [$(cross-compiling) = no]: Likewise.
51368         * posix/Makefile ($(objpfx)globtest.out): Pass
51369         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
51370         $(rtld-installed-name).
51371         * posix/globtest.sh (elf_objpfx): Remove variable.
51372         (rtld_installed_name): Likewise.
51373         (library_path): Likewise.
51374         (run_program_prefix): New variable.  Use for running globtest
51375         binary.
51377 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
51378             Joseph Myers  <joseph@codesourcery.com>
51380         * Makeconfig (host-built-program-cmd): New variable.
51381         * elf/Makefile (tst-stackguard1-ARGS): Use
51382         $(host-built-program-cmd).
51383         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
51384         (tst-spawn-ARGS): Likewise.
51385         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
51387 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51388             Jim Blandy  <jimb@codesourcery.com>
51390         * Makeconfig (run-via-rtld-prefix): New variable.
51391         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
51392         (built-program-cmd): Likewise.
51394 2012-10-22  Andreas Jaeger  <aj@suse.de>
51396         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
51397         __O_RSYNC if it exists, otherwise to O_SYNC.
51399 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
51400             Joseph Myers  <joseph@codesourcery.com>
51402         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
51403         /dev/null.
51404         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
51405         from /dev/null
51406         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
51407         /dev/null.
51409 2012-10-22  Andreas Jaeger  <aj@suse.de>
51411         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
51412         Define always.
51413         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
51415         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51416         bits/fcntl-linux.h.
51418         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
51419         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
51421         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
51422         to __O_LARGEFILE.
51423         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
51424         to __O_LARGEFILE.
51426 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
51427             Joseph Myers  <joseph@codesourcery.com>
51429         * config.make.in (NM): New variable.
51431 2012-10-21  Andreas Jaeger  <aj@suse.de>
51433         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
51434         definitions and declarations that are provided by
51435         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51437 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51439         [BZ #14683]
51440         * elf/Makefile (tests-static): Add tst-leaks1-static.
51441         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
51442         ($(objpfx)tst-leaks1-static): New rule.
51443         ($(objpfx)tst-leaks1-static-mem): Likewise.
51444         (tst-leaks1-static-ENV): New macro.
51445         * elf/dl-open.c (dl_open_worker): Check the main application
51446         only if SHARED is defined.
51447         * elf/tst-leaks1-static.c: New file.
51449 2012-10-20  Andreas Jaeger  <aj@suse.de>
51451         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
51452         generic values for Linux.
51453         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
51454         and declarations that are provided by <bits/fcntl-linux.h> and
51455         include <bits/fcntl-linux.h>.
51456         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51457         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51459 2012-10-20  Roland McGrath  <roland@hack.frob.com>
51461         * io/fcntl.h: Move include of <bits/types.h> to the top and
51462         include it unconditionally.
51464 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51466         * wcsmbs/Makefile (tests-ifunc): New variable.
51467         (tests): Add $(tests-ifunc).
51468         * wcsmbs/test-wcschr-ifunc.c: New file.
51469         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
51470         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
51471         * wcsmbs/test-wcslen-ifunc.c: Likewise.
51472         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
51473         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
51475         * string/Makefile (tests-ifunc): New variable.
51476         (tests): Add $(tests-ifunc).
51477         * string/test-memccpy.c (TEST_NAME): New macro.
51478         * string/test-memchr.c (TEST_NAME): Likewise.
51479         * string/test-memcmp.c (TEST_NAME): Likewise.
51480         * string/test-memcpy.c (TEST_NAME): Likewise.
51481         * string/test-memmem.c (TEST_NAME): Likewise.
51482         * string/test-memmove.c (TEST_NAME): Likewise.
51483         * string/test-memset.c (TEST_NAME): Likewise.
51484         * string/test-rawmemchr.c (TEST_NAME): Likewise.
51485         * string/test-stpcpy.c (TEST_NAME): Likewise.
51486         * string/test-stpncpy.c (TEST_NAME): Likewise.
51487         * string/test-strcasecmp.c (TEST_NAME): Likewise.
51488         * string/test-strcasestr.c (TEST_NAME): Likewise.
51489         * string/test-strcat.c (TEST_NAME): Likewise.
51490         * string/test-strchr.c (TEST_NAME): Likewise.
51491         * string/test-strcmp.c(TEST_NAME): Likewise.
51492         * string/test-strcpy.c (TEST_NAME): Likewise.
51493         * string/test-strcspn.c (TEST_NAME): Likewise.
51494         * string/test-strlen.c (TEST_NAME): Likewise.
51495         * string/test-strncasecmp.c (TEST_NAME): Likewise.
51496         * string/test-strncmp.c (TEST_NAME): Likewise.
51497         * string/test-strncpy.c (TEST_NAME): Likewise.
51498         * string/test-strnlen.c (TEST_NAME): Likewise.
51499         * string/test-strpbrk.c (TEST_NAME): Likewise.
51500         * string/test-strrchr.c (TEST_NAME): Likewise.
51501         * string/test-strspn.c (TEST_NAME): Likewise.
51502         * string/test-strstr.c (TEST_NAME): Likewise.
51503         * string/test-bcopy-ifunc.c: New file.
51504         * string/test-bzero-ifunc.c: Likewise.
51505         * string/test-memccpy-ifunc.c: Likewise.
51506         * string/test-memchr-ifunc.c: Likewise.
51507         * string/test-memcmp-ifunc.c: Likewise.
51508         * string/test-memcpy-ifunc.c: Likewise.
51509         * string/test-memmem-ifunc.c: Likewise.
51510         * string/test-memmove-ifunc.c: Likewise.
51511         * string/test-mempcpy-ifunc.c: Likewise.
51512         * string/test-memset-ifunc.c: Likewise.
51513         * string/test-rawmemchr-ifunc.c: Likewise.
51514         * string/test-stpcpy-ifunc.c: Likewise.
51515         * string/test-stpncpy-ifunc.c: Likewise.
51516         * string/test-strcasecmp-ifunc.c: Likewise.
51517         * string/test-strcasestr-ifunc.c: Likewise.
51518         * string/test-strcat-ifunc.c: Likewise.
51519         * string/test-strchr-ifunc.c: Likewise.
51520         * string/test-strchrnul-ifunc.c: Likewise.
51521         * string/test-strcmp-ifunc.c: Likewise.
51522         * string/test-strcpy-ifunc.c: Likewise.
51523         * string/test-strcspn-ifunc.c: Likewise.
51524         * string/test-strlen-ifunc.c: Likewise.
51525         * string/test-strncasecmp-ifunc.c: Likewise.
51526         * string/test-strncat-ifunc.c: Likewise.
51527         * string/test-strncmp-ifunc.c: Likewise.
51528         * string/test-strncpy-ifunc.c: Likewise.
51529         * string/test-strnlen-ifunc.c: Likewise.
51530         * string/test-strpbrk-ifunc.c: Likewise.
51531         * string/test-strrchr-ifunc.c: Likewise.
51532         * string/test-strspn-ifunc.c: Likewise.
51533         * string/test-strstr-ifunc.c: Likewise.
51535         * debug/Makefile (tests-ifunc): New variable.
51536         (tests): Add $(tests-ifunc).
51537         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
51538         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
51539         * debug/test-stpcpy_chk-ifunc.c: New file.
51540         * debug/test-strcpy_chk-ifunc.c: Likewise.
51542 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51544         [BZ #13601]
51545         * elf/dl-load.c (open_verify): Retry read if the entire ELF
51546         header is not read in.
51548 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
51550         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
51551         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
51552         directly.  Pass built executable to script as
51553         $(built-program-cmd).
51554         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
51555         $testprogram without using LD_LIBRARY_PATH and $ldso.
51557         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
51558         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
51559         $(rtld-installed-name).
51560         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
51561         (rtld_installed_name): Likewise.
51562         (library_path): Likewise.
51563         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
51564         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
51565         $(run-program-prefix) to tst-tables.sh.
51566         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
51567         it to run tst-table-from and tst-table-to.
51568         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
51569         Pass it to tst-table.sh.
51570         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
51571         $(run-program-prefix) to tst-gettext.sh.
51572         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
51573         tst-translit.sh.
51574         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
51575         tst-gettext2.sh.
51576         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
51577         to run tst-gettext.
51578         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
51579         to run tst-gettext2.
51580         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
51581         to run tst-translit.
51582         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
51583         $(run-program-prefix) to tst-mtrace.sh.
51584         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
51585         to run tst-mtrace.
51586         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
51587         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
51588         $(rtld-installed-name).
51589         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
51590         (rtld_installed_name): Likewise.
51591         (run_program_prefix): New variable.  Use it to run wordexp-test.
51593         * Makeconfig (ARCH): Remove all definitions.
51594         (machine): Likewise.
51595         [ARCH]: Remove conditional code.
51596         [!objdir]: Give error.
51597         [!objdir] (objpfx): Remove.
51598         [!objdir] (common-objpfx): Likewise.
51599         [!objdir] (common-objdir): Likewise.
51600         * configure.in (config_makefile): Remove.  Hardcode Makefile in
51601         AC_CONFIG_FILES call.
51602         * configure: Regenerated.
51604         [BZ #13888]
51605         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
51606         or TMPDIR.
51607         (testout): Likewise.
51609         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
51610         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
51611         $(rtld-installed-name).
51612         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
51613         (rtld_installed_name): Likwise.
51614         (runit): Remove function.
51615         (run_getconf): New variable,  Use it for running getconf binary.
51617 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
51619         [BZ #14716]
51620         * string/test-memmem.c (check_result): New function.
51621         (do_one_test): Use it.
51622         (check1): New function.
51623         (test_main): Use it.
51625 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
51627         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
51629 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
51631         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
51632         (_G_LSEEK64): Likewise.
51633         (_G_MMAP64): Likewise.
51634         (_G_FSTAT64): Likewise.
51635         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
51636         (_G_LSEEK64): Likewise.
51637         (_G_MMAP64): Likewise.
51638         (_G_FSTAT64): Likewise.
51639         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
51640         unconditional.  Call __mmap64 directly.
51641         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
51642         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
51643         __lseek64 directly.
51644         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
51645         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
51646         __mmap64 directly.
51647         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
51648         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51649         __lseek64 directly.
51650         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
51651         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51652         __lseek64 directly.
51653         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
51654         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
51655         __lseek64 directly.
51656         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
51657         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
51658         __fxstat64 directly.
51659         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
51660         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
51661         unconditional.
51662         (freopen64) [!_G_OPEN64]: Remove conditional code.
51663         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
51664         unconditional.
51665         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
51666         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
51667         unconditional.
51668         (ftello64) [!_G_LSEEK64]: Remove conditional code.
51669         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
51670         unconditional.
51671         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51672         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
51673         unconditional.
51674         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
51675         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
51676         unconditional.
51677         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51678         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
51679         unconditional.
51680         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51681         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
51682         unconditional.
51683         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51685 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51687         [BZ #12140]
51688         * manual/memory.texi (Malloc Tunable Parameters): Add note
51689         about free list pointers overwriting some perturb bytes.
51690         Wording suggested by Roland McGrath.
51692 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
51694         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
51695         (lgamma_test): Likewise.
51696         (tgamma_test): Likewise.
51698 2012-10-16  Florian Weimer  <fweimer@redhat.com>
51700         [BZ #14700]
51701         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
51702         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
51704 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
51706         * NEWS: Mention BZ #14716.
51707         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
51708         when removing AVAILABLE1_USES_J macro.
51710 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
51712         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
51713         (__bswap_64): __uint64_t for unsigned 64-bit int.
51715 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
51717         * include/string.h (memmem): Declare libc hidden alias.
51718         * string/memmem.c (memmem): Define libc hidden alias.
51719         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
51720         __read, __close instead of open, read, close.
51722 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
51724         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
51725         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
51726         global and hidden.
51727         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
51728         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
51729         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
51730         Likewise.
51731         (__rawmemchr_sse2): Likewise.
51732         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
51733         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
51734         (__strchr_sse2): Likewise.
51735         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
51736         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
51737         (__strcasecmp_sse2): Likewise.
51738         (__strncasecmp_sse2): Likewise.
51739         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
51740         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
51741         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
51742         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
51743         (__strrchr_sse2): Likewise.
51744         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
51745         ifunc-impl-list.c.
51746         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
51747         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
51748         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
51749         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51750         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
51751         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
51752         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51753         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51754         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
51755         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
51756         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
51757         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
51758         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
51759         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
51760         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
51761         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51762         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
51763         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
51764         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
51765         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
51766         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
51767         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
51768         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
51769         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51770         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
51771         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51772         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
51773         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51774         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
51775         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
51777         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
51778         global and hidden.
51779         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
51780         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
51781         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
51782         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
51783         Likewise.
51784         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
51785         Likewise.
51786         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
51787         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
51788         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
51789         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
51790         ifunc-impl-list.c.
51791         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51792         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51793         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51794         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51795         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51796         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51797         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51798         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51799         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51800         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51801         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51802         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51803         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51804         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
51805         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
51806         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51807         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
51808         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
51809         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51810         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51811         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51812         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51813         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51814         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51815         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51816         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
51817         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
51818         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
51819         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
51820         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51821         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
51822         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51823         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51824         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
51825         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51826         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51827         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51828         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51829         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51830         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51831         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
51833         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
51834         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
51835         * include/ifunc-impl-list.h: New file.
51836         * misc/ifunc-impl-list.c: Likewise.
51837         * misc/Makefile (routines): Add ifunc-impl-list.
51838         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
51839         * string/test-string.h: Include <ifunc-impl-list.h>.
51840         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
51841         TEST_NAME]: New variables.
51842         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
51843         are defined.
51844         (test_init): Call __libc_ifunc_impl_list to initialize
51845         func_list if TEST_IFUNC and TEST_NAME are defined.
51847         * string/Makefile (strop-tests): Add bcopy and bzero.
51848         * string/test-bcopy.c: New file.
51849         * string/test-bzero.c: Likewise.
51850         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
51851         defined.
51852         * string/test-memset.c: Support bzero test if TEST_BZERO is
51853         defined.
51854         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
51855         __libc_memmove.
51856         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
51857         __libc_memset.
51858         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
51859         of memset.
51861 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
51863         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
51864         * configure: Regenerated.
51866         * Makeconfig (+link-static-before-libc): Don't include
51867         $(link-static-libc).
51869         * libio/libio.h (_IO_pos_t): Remove.
51871 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51873         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
51874         McGrath.
51876 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51878         * crypt/crypt-entry.c: Include fips-private.h.
51879         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
51880         * crypt/md5c-test.c (main): Tolerate disabled MD5.
51881         * sysdeps/unix/sysv/linux/fips-private.h: New file.
51882         * sysdeps/generic/fips-private.h: New file, dummy fallback.
51884 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51886         * crypt/crypt-private.h: Include stdbool.h.
51887         (_ufc_setup_salt_r): Return bool.
51888         * crypt/crypt-entry.c: Include errno.h.
51889         (__crypt_r): Return NULL with EINVAL for bad salt.
51890         * crypt/crypt_util.c (bad_for_salt): New.
51891         (_ufc_setup_salt_r): Check that salt is long enough and within
51892         the specified alphabet.
51893         * crypt/badsalttest.c: New file.
51894         * crypt/Makefile (tests): Add it.
51895         ($(objpfx)badsalttest): New.
51897 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
51899         * NEWS: Add entry for BZ #14602.
51901 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51903         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
51904         type-generic.
51905         * math/libm-test.inc: Update comment listing what functions and
51906         macros are tested.
51907         (isgreater_test): New function.
51908         (isgreaterequal_test): Likewise.
51909         (isless_test): Likewise.
51910         (islessequal_test): Likewise.
51911         (islessgreater_test): Likewise.
51912         (isunordered_test): Likewise.
51913         (main): Call the new functions.
51915 2012-10-09  Roland McGrath  <roland@hack.frob.com>
51917         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
51918         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
51919         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
51920         * sysdeps/i386/configure: Regenerated.
51921         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
51922         * sysdeps/mach/configure: Regenerated.
51923         * sysdeps/mach/hurd/configure: Regenerated.
51924         * sysdeps/powerpc/configure: Regenerated.
51925         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51926         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51927         * sysdeps/s390/s390-32/configure: Regenerated.
51928         * sysdeps/s390/s390-64/configure: Regenerated.
51929         * sysdeps/sh/configure: Regenerated.
51930         * sysdeps/sparc/configure: Regenerated.
51931         * sysdeps/unix/sysv/linux/configure: Regenerated.
51932         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
51933         * sysdeps/x86_64/configure: Regenerated.
51935         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
51936         defined.  Don't check if MAP is NULL.
51938 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51940         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
51941         (_G_stat64): Likewise.
51942         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
51943         (_G_stat64): Likewise.
51944         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
51945         instead of struct _G_stat64.
51946         * libio/fileops.c (mmap_remap_check): Likewise.
51947         (decide_maybe_mmap): Likewise.
51948         (_IO_new_file_seekoff): Likewise.
51949         (_IO_file_stat): Likewise.
51950         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
51951         _G_off64_t.
51952         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
51953         instead of struct _G_stat64.
51954         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51956 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
51958         [BZ #14602]
51959         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51960         Replace with ...
51961         (CHECK_EOL): New macro.
51962         (two_way_short_needle): Check beginning of haystack for EOL.  Use
51963         CHECK_EOL.
51964         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51965         Replace with CHECK_EOL.
51966         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51967         Replace with CHECK_EOL.
51969 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
51971         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
51972         type-generic.
51973         * math/libm-test.inc: Update comment listing what functions and
51974         macros are tested.
51975         (finite_test): New function.
51976         (isinf_test): Likewise.
51977         (isnan_test): Likewise.
51978         (fpclassify_test): Test subnormal input.
51979         (isfinite_test): Likewise.
51980         (isnormal_test): Likewise.
51981         (main): Call the new functions.
51983 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
51985         [BZ #14660]
51986         * Makerules (%.dynsym): Force C locale when running
51987         $(OBJDUMP) --dynamic-syms.
51989 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
51991         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
51992         <stdint.h>.
51994 2012-10-06  David S. Miller  <davem@davemloft.net>
51996         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
51997         upper 32-bits of the length value in %o2 since we use branch-on-register
51998         tests which consider the entire 64-bit register.
52000 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
52002         * string/test-strstr.c (check2): Add a test for page boundary.
52004 2012-10-05  David S. Miller  <davem@davemloft.net>
52006         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
52007         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
52008         file.
52009         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52010         sysdep_routines.
52011         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52012         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
52013         and bzero when HWCAP_SPARC_CRYPTO is present.
52015 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
52017         [BZ #14602]
52018         * string/test-strstr.c (check2): New function.
52019         (test_main): Call check2.
52021         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
52022         and bug-strchr1.
52023         * string/bug-strcasestr1.c (do_test): Moved to ...
52024         * string/test-strcasestr.c (check1): Here.  New function.
52025         (do_one_test): Break out result checking code into ...
52026         (check_result): This.  New function.
52027         (do_one_test): Call check_result.
52028         (test_main): Call check1.
52029         * string/bug-strchr1.c (do_test): Moved to ...
52030         * string/test-strchr.c (check1): Here.  New function.
52031         (do_one_test): Break out result checking code into ...
52032         (check_result): This.  New function.
52033         (do_one_test): Call check_result.
52034         (test_main): Call check1.
52035         * string/bug-strstr1.c (main): Moved to ...
52036         * string/test-strstr.c (check1): Here.  New function.
52037         (do_one_test): Break out result checking code into ...
52038         (check_result): This.  New function.
52039         (do_one_test): Call check_result.
52040         (test_main): Call check1.
52041         * string/bug-strcasestr1.c: Removed.
52042         * string/bug-strchr1.c: Likewise.
52043         * string/bug-strstr1.c: Likewise.
52045         * elf/Makefile (dl-routines): Add hwcaps.
52046         * elf/dl-support.c (_dl_important_hwcaps): Removed.
52047         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
52048         (_dl_important_hwcaps): Moved to ...
52049         * elf/dl-hwcaps.c: Here.  New file.
52050         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
52052         [BZ #14557]
52053         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
52054         if IS_IN_rtld isn't defined.
52056         * elf/dl-support.c (_dl_sysinfo_map): New.
52057         Include "get-dynamic-info.h" and "setup-vdso.h".
52058         (_dl_non_dynamic_init): Call setup_vdso.
52059         * elf/dynamic-link.h: Don't include <assert.h>.
52060         (elf_get_dynamic_info): Moved to ...
52061         * elf/get-dynamic-info.h: Here.  New file.
52062         * elf/dynamic-link.h: Include "get-dynamic-info.h".
52063         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
52064         * elf/setup-vdso.h: Here.  New file.
52065         * elf/rtld.c: Include "setup-vdso.h".
52066         (dl_main): Call setup_vdso.
52068 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
52070         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
52071         creal in comment listing functions tested.  List finite, isinf,
52072         isnan, isless, islessequal, isgreater, isgreaterequal,
52073         islessgreater, isunordered, lgamma_r and pow10 as functions and
52074         macros not tested.  Mention which functions not tested are aliases
52075         for other functions.  Fix typo.  Note that signs of NaNs are not
52076         tested.
52078         * scripts/config.guess: Update from config.git.
52079         * scripts/config.sub: Likewise.
52081 2012-10-04  Roland McGrath  <roland@hack.frob.com>
52083         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
52084         * misc/madvise.c (madvise): Renamed to __madvise.
52085         Make madvise a weak alias.
52086         * include/sys/mman.h: Declare __madvise.
52087         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
52088         * sysdeps/unix/syscalls.list
52089         (madvise): Make __madvise the strong name, and madvise a weak alias.
52090         * sysdeps/unix/sysv/linux/syscalls.list
52091         (madvise, mmap): Remove redundant entries.
52092         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
52093         * malloc/malloc.c (mtrim): Likewise.
52094         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
52096 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52098         * sysdeps/mach/hurd/dl-cache.c: File removed.
52099         * config.h.in (USE_LDCONFIG): New #undef.
52100         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
52101         * configure: Regenerated.
52102         * elf/Makefile (dl-routines): Add dl-cache only under
52103         [$(use-ldconfig) = yes].
52104         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
52105         cache on [USE_LDCONFIG].
52106         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
52107         [USE_LDCONFIG].
52108         * elf/rtld.c (dl_main): Likewise.
52110 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
52112         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
52113         _SC_LEVEL4_CACHE_LINESIZE.
52115 2012-10-03  Roland McGrath  <roland@hack.frob.com>
52117         * sysdeps/unix/bsd/confstr.h: File removed.
52119 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
52121         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
52122         sys/sdt-config.h.
52124 2012-10-02  Roland McGrath  <roland@hack.frob.com>
52126         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
52127         Make 'mapoff' field ElfW(Off) rather than off_t.
52129 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
52131         * nscd/Makefile: Remove nscd-cflags and all its users.
52132         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
52133         (CFLAGS-nonlib): Add compiler flags for nscd modules.
52135         [BZ #10631]
52136         * malloc.c (malloc_printerr): Clarify error message.
52138 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
52140         [BZ #14648]
52141         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52142         Set bit_FMA_Usable if FMA is supported.
52143         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
52144         macro.
52145         (bit_FMA4_Usable): Updated.
52146         (index_FMA_Usable): New macro.
52147         (CPUID_FMA): Likewise
52148         (HAS_FMA): Defined with bit_FMA_Usable.
52150 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52152         * bits/types.h (__swblk_t): Type removed.
52153         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
52154         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
52155         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52156         (__SWBLK_T_TYPE): Likewise.
52157         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52158         (__SWBLK_T_TYPE): Likewise.
52159         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52160         (__SWBLK_T_TYPE): Likewise.
52161         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52162         (__SWBLK_T_TYPE): Likewise.
52164 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
52165             Honza Horak <hhorak@redhat.com>
52167         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
52168         (xdr_mapname): Use YPMAXMAP as maxsize.
52169         (xdr_peername): Use YPMAXPEER as maxsize.
52170         (xdr_keydat): Use YPAXRECORD as maxsize.
52171         (xdr_valdat): Use YPMAXRECORD as maxsize.
52173 2012-10-01  Roland McGrath  <roland@hack.frob.com>
52175         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
52177         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
52178         * csu/init-first.c: ... here.
52179         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
52180         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
52181         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
52182         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
52183         * sysdeps/i386/init-first.c: File removed.
52184         * sysdeps/sh/init-first.c: File removed.
52186 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
52188         [BZ #14645]
52189         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
52190         if x * y might underflow to zero and z is zero.
52191         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52192         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52193         * math/libm-test.inc (min_subnorm_value): New variable.
52194         (fma_test): Add more tests.
52195         (fma_test_towardzero): Likewise.
52196         (fma_test_downward): Likewise
52197         (fma_test_upward): Likewise.
52198         (initialize): Set min_subnorm_value.
52200 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
52202         [BZ #14638]
52203         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
52204         0 + 0.
52205         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
52206         mode for addition resulting in exact zero.
52207         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
52208         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
52209         exact 0 + 0.
52210         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52211         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52212         * math/libm-test.inc (fma_test): Add more tests.
52213         (fma_test_towardzero): New function.
52214         (fma_test_downward): Likewise.
52215         (fma_test_upward): Likewise.
52216         (main): Call the new functions.
52218 2012-09-28  David S. Miller  <davem@davemloft.net>
52220         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
52222 2012-09-28  Roland McGrath  <roland@hack.frob.com>
52224         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
52225         instead of SIGALRM.
52227         * sysdeps/gnu/_G_config.h: Moved to ...
52228         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
52229         * sysdeps/mach/hurd/_G_config.h: Moved to ...
52230         * sysdeps/generic/_G_config.h: ... here.
52232         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
52234         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
52236         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
52237         Conditionalize target on [libnss_test1.so-version].
52239         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
52241         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
52242         (elfobjdir): Move out of conditionals.
52244         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
52245         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
52246         (__nss_lookup_function): Conditionalize label remove_from_tree on
52247         [!DO_STATIC_NSS || SHARED], matching its only use.
52249 2012-09-28  David S. Miller  <davem@davemloft.net>
52251         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
52252         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
52253         file.
52254         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52255         sysdep_routines.
52256         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52257         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
52258         when HWCAP_SPARC_CRYPTO is present.
52260 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52262         * io/tst-mknodat.c: Create a FIFO instead of a socket.
52264 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
52266         [BZ #6530]
52267         * stdio-common/vfprintf.c (process_string_arg): Revert
52268         2000-07-22 change.
52270 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
52272         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
52273         for testcase.
52274         * stdio-common/tst-sprintf.c: Include <locale.h>
52275         (main): Test sprintf's handling of incomplete multibyte
52276         characters.
52278 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
52280         * elf/dl-runtime.c (VERSYMIDX): Removed.
52281         * elf/dl-version.c (VERSYMIDX): Likewise.
52282         * elf/do-rel.h (VERSYMIDX): Likewise.
52283         (VALIDX): Likewise.
52284         * elf/dynamic-link.h (VERSYMIDX): Likewise.
52285         * elf/rtld.c (VALIDX): Likewise.
52286         (ADDRIDX): Likewise.
52287         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
52288         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
52289         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
52290         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
52291         (VALIDX): Likewise.
52292         (ADDRIDX): Likewise.
52294 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52296         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
52298 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
52300         [BZ #11438]
52301         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
52302         to global scope.
52303         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
52304         addresses are in the same scope as 192.0.2/24.
52305         * posix/gai.conf: Document new scope table defaults.
52307 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52309         [BZ #5298]
52310         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
52311         for ftell.  Compute offsets from write pointers instead.
52312         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52314 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52316         [BZ #14543]
52317         * libio/Makefile (tests): New test case tst-fseek.
52318         * libio/tst-fseek.c: New test case to verify that fseek/ftell
52319         combination works in wide mode.
52320         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
52321         state when the external buffer state changes.
52323 2012-09-27  David S. Miller  <davem@davemloft.net>
52325         [BZ #14376]
52326         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
52327         pass reloc->r_addend in as the 'high' argument to
52328         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
52330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52332 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52334         * rt/tst-aio2.c: Include <pthread.h>.
52335         * rt/tst-aio3.c: Likewise.
52337 2012-09-27  Steve Ellcey  <sellcey@mips.com>
52339         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
52341 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
52343         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
52344         contents on [SHARED].
52346 2012-09-26  Marek Polacek  <polacek@redhat.com>
52348         [BZ #14530]
52349         [BZ #13741]
52350         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
52351         for C++ and GCC <4.3 as well as for non GCC compilers.
52353 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52355         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52357 2012-09-25  Roland McGrath  <roland@hack.frob.com>
52359         * Makefile.in (all, install): Declare with .PHONY.
52360         Reported by Michael Hope <michael.hope@linaro.org>.
52362 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52364         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
52365         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
52366         system header.
52367         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
52368         Likewise.
52369         (sydep_routines): Add the new and the internal functions.
52370         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
52371         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
52372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
52373         (GLIBC_2.17): Add the new function.
52374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52375         (GLIBC_2.17): Likewise.
52376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
52377         (GLIBC_2.17): Likewise.
52378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
52379         (GLIBC_2.17): Likewise.
52380         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
52382 2012-09-25  Alan Modra  <amodra@gmail.com>
52384         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
52385         Add release barrier before setting once_control to say
52386         initialisation is done.  Add hints on lwarx.  Use macro in
52387         place of isync.
52388         (clear_once_control): Add release barrier.
52390 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52392         [BZ #13629]
52393         * math/s_clog.c (__clog): Handle more values close to |z| = 1
52394         specially.
52395         * math/s_clog10.c (__clog10): Likewise.
52396         * math/s_clog10f.c (__clog10f): Likewise.
52397         * math/s_clog10l.c (__clog10l): Likewise.
52398         * math/s_clogf.c (__clogf): Likewise.
52399         * math/s_clogl.c (__clogl): Likewise.
52400         * math/Makefile (libm-calls): Add x2y2m1.
52401         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
52402         (__x2y2m1): Likewise.
52403         (__x2y2m1l): Likewise.
52404         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
52405         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
52406         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
52407         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52408         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
52409         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
52410         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
52411         * sysdeps/i386/fpu/libm-test-ulps: Update.
52412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52414         [BZ #14621]
52415         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
52416         int as type of variable DEPTH.
52417         (glob): Use size_t instead of int as type of variables NEWCOUNT
52418         and OLD_PATHC.
52420 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52422         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52423         Add s_sincosf-sse2.
52424         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
52425         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
52426         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
52427         macros for using routine as __sincosf_ia32.
52428         Use macro for function declaration and weak_alias.
52429         * sysdeps/i386/fpu/libm-test-ulps: Update.
52431         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
52432         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52434         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
52435         subnormal argument.
52436         * math/s_cexpf.c (__cexpf): Likewise.
52437         * math/s_csinf.c (__csinf): Likewise.
52438         * math/s_csinhf.c (__csinhf): Likewise.
52439         * math/s_ctanf.c (__ctanf): Likewise.
52440         * math/s_ctanhf.c (__ctanhf): Likewise.
52441         * math/s_ccosh.c (__ccoshf): Likewise.
52442         * math/s_cexp.c (__cexpl): Likewise.
52443         * math/s_csin.c (__csin): Likewise.
52444         * math/s_csinh.c (__csinh): Likewise.
52445         * math/s_ctan.c (__ctan): Likewise.
52446         * math/s_ctanh.c (ctanh): Likewise.
52447         * math/s_ccoshl.c (__ccoshl): Likewise.
52448         * math/s_cexpl.c (__cexpl): Likewise.
52449         * math/s_csinl.c (__csinl): Likewise.
52450         * math/s_csinhl.c (__csinhl): Likewise.
52451         * math/s_ctanl.c (__ctanl): Likewise.
52452         * math/s_ctanhl.c (__ctanhl): Likewise.
52454 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52456         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
52457         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
52458         (_IO_off_t): Define to __off_t, not _G_off_t.
52459         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
52460         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
52461         (_IO_wint_t): Define to wint_t, not _G_wint_t.
52462         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
52463         type of __dummy and __dummy2 fields.
52464         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
52465         (_G_ssize_t): Likewise.
52466         (_G_off_t): Likewise.
52467         (_G_pid_t): Likewise.
52468         (_G_uid_t): Likewise.
52469         (_G_wchar_t): Likewise.
52470         (_G_wint_t): Likewise.
52471         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
52472         (_G_ssize_t): Likewise.
52473         (_G_off_t): Likewise.
52474         (_G_pid_t): Likewise.
52475         (_G_uid_t): Likewise.
52476         (_G_wchar_t): Likewise.
52477         (_G_wint_t): Likewise.
52478         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
52479         (_G_ssize_t): Likewise.
52480         (_G_off_t): Likewise.
52481         (_G_pid_t): Likewise.
52482         (_G_uid_t): Likewise.
52483         (_G_wchar_t): Likewise.
52484         (_G_wint_t): Likewise.
52486 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52488         * malloc/arena.c: Include malloc-sysdep.h.
52489         (shrink_heap): Use check_may_shrink_heap to decide if madvise
52490         is sufficient to shrink the heap or an unmap is needed.
52491         * sysdeps/generic/malloc-sysdep.h: New file.  Define
52492         new function check_may_shrink_heap.
52493         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
52494         new function check_may_shrink_heap.
52496 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52498         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
52499         comments.
52501 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
52503         * catgets/test-gencat.sh: Add "set -e".
52504         * elf/tst-pathopt.sh: Likewise.
52505         * grp/tst_fgetgrent.sh: Likewise.
52506         * iconvdata/run-iconv-test.sh: Likewise.
52507         * intl/tst-gettext.sh: Likewise.
52508         * intl/tst-gettext2.sh: Likewise.
52509         * intl/tst-gettext4.sh: Likewise.
52510         * intl/tst-gettext6.sh: Likewise.
52511         * intl/tst-translit.sh: Likewise.
52512         * io/ftwtest-sh: Likewise.
52513         * libio/test-freopen.sh: Likewise.
52514         * malloc/tst-mtrace.sh: Likewise.
52515         * posix/globtest.sh: Likewise.
52516         * posix/tst-getconf.sh: Likewise.
52517         * posix/wordexp-tst.sh: Likewise.
52518         * stdio-common/tst-printf.sh: Likewise.
52519         * stdio-common/tst-unbputc.sh: Likewise.
52520         * stdlib/tst-fmtmsg.sh: Likewise.
52521         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52522         * catgets/Makefile: Do not specify -e option when running
52523         testsuite shell scripts.
52524         * elf/Makefile: Likewise.
52525         * grp/Makefile: Likewise.
52526         * iconvdata/Makefile: Likewise.
52527         * intl/Makefile: Likewise.
52528         * io/Makefile: Likewise.
52529         * libio/Makefile: Likewise.
52530         * malloc/Makefile: Likewise.
52531         * posix/Makefile: Likewise.
52532         * stdio-common/Makefile: Likewise.
52533         * stdlib/Makefile: Likewise.
52534         * sysdeps/x86_64/Makefile: Likewise.
52536         * io/ftwtest-sh: Add copyright header.
52537         * posix/globtest.sh: Likewise.
52538         * posix/tst-getconf.sh: Likewise.
52539         * posix/wordexp-tst.sh: Likewise.
52540         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52542 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
52544         [BZ #13679]
52545         * Makeconfig (+link): Defined as $(+link-static) if
52546         $(build-shared) isn't yes.
52547         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
52548         isn't yes.
52549         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
52551         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
52553         [BZ #14562]
52554         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
52555         new chunk size with MALLOC_ALIGN_MASK.
52557 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
52559         [BZ #5044]
52560         * stdio-common/printf_fphex.c: Include <stdbool.h> and
52561         <rounding-mode.h>.
52562         (__printf_fphex): Determine rounding using get_rounding_mode and
52563         round_away.
52564         * stdio-common/tst-printf-round.c (struct hex_test): New
52565         structure.
52566         (hex_tests): New variable.
52567         (test_hex_in_one_mode): New function.
52568         (do_test): Also run tests for hex float output.
52570 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
52572         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52573         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52574         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
52575         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52576         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52577         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
52578         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52579         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52581 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
52583         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
52584         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
52585         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
52586         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
52588 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
52590         [BZ #14579]
52591         * elf/rtld.c (dl_main): Limit the check for self loading to normal
52592         mode only.
52593         * elf/tst-rtld-load-self.sh: New test.
52594         * elf/Makefile: Run it.
52596 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
52598         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
52599         (tst-writev-ENV): Remove.
52600         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
52602 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
52604         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
52606 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
52608         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
52609         unconditional.
52610         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
52611         Likewise.
52612         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
52613         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
52614         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
52615         Likewise.
52617 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
52619         [BZ #14587]
52620         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
52621         * config.make.in (have-cpp-asm-debuginfo): Removed.
52622         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
52623         * configure: Regenerated.
52625 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
52627         [BZ #5044]
52628         * stdio-common/printf_fp.c: Include <stdbool.h> and
52629         <rounding-mode.h>.
52630         (___printf_fp): Determine rounding using get_rounding_mode and
52631         round_away.
52632         * stdio-common/tst-printf-round.c: New file.
52633         * stdio-common/Makefile (tests): Add tst-printf-round.
52634         (link-libm): New variable.
52635         ($(objpfx)tst-printf-round): Depend in $(link-libm).
52637 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
52639         [BZ #14576]
52640         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
52641         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
52642         Likewise.
52643         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
52644         Likewise.
52646 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
52648         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
52649         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52650         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52651         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52653 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
52655         [BZ #14518]
52656         * include/rounding-mode.h: New file.
52657         * sysdeps/generic/get-rounding-mode.h: Likewise.
52658         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
52659         * stdlib/strtod_l.c: Include <rounding-mode.h>.
52660         (MAX_VALUE): New macro.
52661         (MIN_VALUE): Likewise.
52662         (overflow_value): New function.
52663         (underflow_value): Likewise.
52664         (round_and_return): Use overflow_value and underflow_value to
52665         determine return values in overflow and underflow cases.  Use
52666         round_away to determine rounding depending on rounding mode.
52667         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
52668         determine return values in overflow and underflow cases.
52669         * stdlib/tst-strtod-round.c: Include <fenv.h>.
52670         (struct test_results): New structure.
52671         (struct test): Use struct test_results to store expected results
52672         for all rounding modes.
52673         (TEST): Include expected results for all rounding modes.
52674         (test_in_one_mode): New function.
52675         (do_test): Use test_in_one_mode to compute and check results.
52676         Check results for all rounding modes.
52677         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
52678         $(link-libm).
52680 2012-12-09  Allan McRae  <allan@archlinux.org>
52682         * sysdeps/i386/fpu/libm-test-ulps: Update
52684 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
52686         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
52687         (_G_int32_t): Likewise.
52688         (_G_uint16_t): Likewise.
52689         (_G_uint32_t): Likewise.
52690         (_G_HAVE_BOOL): Likewise.
52691         (_G_HAVE_ATEXIT): Likewise.
52692         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52693         (_G_HAVE_IO_FILE_OPEN): Likewise.
52694         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
52695         (_G_int32_t): Likewise.
52696         (_G_uint16_t): Likewise.
52697         (_G_uint32_t): Likewise.
52698         (_G_HAVE_BOOL): Likewise.
52699         (_G_HAVE_ATEXIT): Likewise.
52700         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52701         (_G_HAVE_IO_FILE_OPEN): Likewise.
52702         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
52703         (_G_int32_t): Likewise.
52704         (_G_uint16_t): Likewise.
52705         (_G_uint32_t): Likewise.
52706         (_G_HAVE_BOOL): Likewise.
52707         (_G_HAVE_ATEXIT): Likewise.
52708         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52709         (_G_HAVE_IO_FILE_OPEN): Likewise.
52711 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
52713         * csu/libc-tls.c: Update copyright years.
52715 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
52717         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
52718         [!_G_USING_THUNKS]: Remove conditional code.
52719         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
52720         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
52722         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
52723         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
52724         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52725         (_G_VTABLE_LABEL_PREFIX): Likewise.
52726         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52727         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52728         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52729         (_G_VTABLE_LABEL_PREFIX): Likewise.
52730         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52731         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52732         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52733         (_G_VTABLE_LABEL_PREFIX): Likewise.
52734         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52736 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
52738         * libio/Makefile: Include ../Makeconfig before tests.
52739         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
52740         only if $(build-shared) is yes.
52742         * iconv/gconv_db.c: Update copyright years.
52744 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52746         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
52747         unwind info if defined PIC. Fix special cases description.
52748         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
52750         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
52751         DP_HI_MASK entry.
52752         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
52754 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
52756         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
52758         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
52759         is NULL.
52761         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
52762         (LDLIBS-tst-chk4): This.
52763         (LDFLAGS-tst-chk5): Renamed to ...
52764         (LDLIBS-tst-chk5): This.
52765         (LDFLAGS-tst-chk6): Renamed to ...
52766         (LDLIBS-tst-chk6): This.
52767         (LDFLAGS-tst-lfschk4): Renamed to ...
52768         (LDLIBS-tst-lfschk4): This.
52769         (LDFLAGS-tst-lfschk5): Renamed to ...
52770         (LDLIBS-tst-lfschk5): This.
52771         (LDFLAGS-tst-lfschk6): Renamed to ...
52772         (LDLIBS-tst-lfschk6): This.
52774         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
52775         on $(common-objpfx)soversions.mk.
52777 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
52779         [BZ #10014]
52780         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
52781         example host name.
52783 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52785         * malloc/arena.c (arena_get_retry): New function that gets
52786         another arena for the caller to try its request on.
52787         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
52788         current arena cannot fulfill the request.
52789         (__libc_memalign): Likewise.
52790         (__libc_memalign): Likewise.
52791         (__libc_pvalloc): Likewise.
52792         (__libc_calloc): Likewise.
52794 2012-09-05  John Tobey  <john.tobey@gmail.com>
52796         [BZ #13542]
52797         * manual/arith.texi (Operations on Complex): Fix description
52798         of carg branch cut.
52800 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52802         [BZ #10014]
52803         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
52804         host name.
52806         [BZ #10038]
52807         * manual/memory.texi (Memory): Make order of menu items match
52808         order of sections.
52810 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52812         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
52813         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
52814         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
52816 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52818         * csu/libc-tls.c (static_dtv): Renamed to ...
52819         (_dl_static_dtv): This.  Make it global.
52820         (_dl_initial_dtv): Removed.
52821         (__libc_setup_tls): Updated.
52822         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
52823         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
52824         DL_INITIAL_DTV.
52826 2012-09-06  Petr Machata  <pmachata@redhat.com>
52828         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
52829         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
52830         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
52831         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
52833 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52835         [BZ #14545]
52836         * csu/libc-tls.c (_dl_initial_dtv): New variable.
52837         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
52838         freeing dtv[-1].
52840 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52842         [BZ #14544]
52843         * Makeconfig (link-static-before-libc): Replace $(+prector)
52844         with $(+prectorT).
52845         (link-static-after-libc): Replace $(+postctor) with
52846         $(+postctorT).
52847         (link-bounded): Replace $(+prector)/$(+postctor) with
52848         $(+prectorT)/$(+postctorT).
52849         (+prectorT): New macro.
52850         (+postctorT): Likewise.
52852 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52854         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
52855         (round_str): Handle values above the maximum for IBM long double
52856         as inexact.
52857         * stdlib/tst-strtod-round.c (tests): Regenerated.
52859 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52861         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
52862         assembler flag.
52863         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
52864         zarch_nohighgprs around the zarch optimized routines.
52865         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
52866         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
52867         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
52868         for zarch.
52870 2012-09-05  David S. Miller  <davem@davemloft.net>
52872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52874         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
52875         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
52876         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
52877         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52878         entries.
52880 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52882         * malloc/arena.c: Fold copyright years.
52883         * malloc/mcheck.c, malloc/memusage.c: Likewise.
52885 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52887         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
52889 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52891         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
52893 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52895         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
52896         change internal state upon failure.
52898 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52900         * malloc/mcheck.c (mcheck_check_all): Fix typo.
52901         * malloc/memusage.c (mmap): Likewise.
52902         (mmap64, mremap): Likewise.  Adjust name in comment.
52904 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52906         * libio/fileops.c: Fix typos in comments.
52907         * libio/oldfileops.c: Likewise.
52908         * libio/wfileops.c: Likewise.
52910 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52912         [BZ #1349]
52913         * malloc/Makefile (tests): Add tst-malloc-usable test case.
52914         (tst-malloc-usable-ENV): Set environment for test case.
52915         * malloc/hooks.c (malloc_check_get_size): New function to get
52916         requested size.
52917         * malloc/malloc.c (musable): Use malloc_check_get_size.
52918         * malloc/tst-malloc-usable.c: New test case.
52920 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52922         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
52924 2012-09-05  Allan McRae  <allan@archlinux.org>
52926         [BZ #13966]
52927         * configure.in (CXX_SYSINCLUDES): Use compiler output to
52928         determine header location.
52929         * configure: Regenerated.
52931 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52933         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
52934         float format.
52935         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
52936         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
52937         format.
52938         (test): Regenerate.
52940 2012-09-04  David S. Miller  <davem@davemloft.net>
52942         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
52943         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
52944         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
52946 2012-09-04  Florian Weimer  <fweimer@redhat.com>
52948         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
52949         failures.
52951         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
52953 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
52955         [BZ #9914]
52956         * libio/iogetdelim.c: Include <limits.h>.
52957         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
52958         + len + 1 would overflow.
52960 2012-09-03  Andreas Jaeger  <aj@suse.de>
52962         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52963         * sysdeps/i386/fpu/libm-test-ulps: Update.
52965 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52967         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52968         Add s_sinf-sse2, s_conf-sse2.
52970         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
52971         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
52972         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
52973         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
52975         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
52976         for using routine as __sinf_ia32.
52977         Use macro for function declaration and weak_alias.
52978         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
52979         for using routine as __cosf_ia32.
52980         Use macro for function declaration and weak_alias.
52982         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
52983         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
52985         * sysdeps/x86_64/fpu/s_sinf.S: New file.
52986         * sysdeps/x86_64/fpu/s_cosf.S: New file.
52987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52989         * math/libm-test.inc (cos_test): Add more test cases.
52990         (sin_test): Likewise.
52991         (sincos_test): Likewise.
52993 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52995         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
52996         (IFUNC_RESOLVE): Make pointers to the specialized implementations
52997         hidden.
52998         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53000 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
53002         [BZ #14538]
53003         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
53004         first element of the GOT.
53005         (elf_machine_load_address): Return the difference between
53006         the runtime address of _DYNAMIC and elf_machine_dynamic ().
53008 2012-09-01  Allan McRae  <allan@archlinux.org>
53010         [BZ #13412]
53011         * configure.in (AWK): Require gawk version 3.0 or later.
53012         * configure: Regenerated.
53014 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
53016         * sysdeps/unix/sysv/linux/kernel-features.h
53017         (__ASSUME_POSIX_CPU_TIMERS): Remove.
53018         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53019         [__NR_clock_getres]: Make code unconditional.
53020         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
53021         (clock_getcpuclockid): Remove code left unreachable by removal of
53022         conditionals.
53023         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
53024         code unconditional.
53025         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53026         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53027         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
53028         Make code unconditional.
53029         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53030         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53031         * sysdeps/unix/sysv/linux/clock_settime.c
53032         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
53033         conditional code.
53034         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
53035         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53037 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
53039         [BZ #14476]
53040         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
53041         scripts/test-installation.pl.
53043         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
53044         and $ld_so_version if it is set.
53046 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53048         [BZ #14516]
53049         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
53050         failure if reading from procfs failed.
53051         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
53053 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53055         * sysdeps/unix/sysv/linux/kernel-features.h
53056         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
53057         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53058         Remove conditional code.
53059         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53060         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
53061         Remove conditional code.
53062         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53063         * sysdeps/unix/sysv/linux/i386/fxstat.c
53064         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53065         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53066         * sysdeps/unix/sysv/linux/i386/fxstatat.c
53067         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53068         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53069         * sysdeps/unix/sysv/linux/i386/lxstat.c
53070         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53071         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53072         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
53073         Remove conditional code.
53074         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53075         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53076         Remove conditional code.
53077         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53078         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
53079         <kernel-features.h>.
53080         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
53081         Remove.
53082         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
53083         Remove conditional code.
53084         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53085         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
53086         Remove conditional.
53088 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
53090         [BZ #5400]
53091         * NEWS: Add fixed bug number.
53093 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
53095         [BZ #14519]
53096         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
53097         underflowing exponent in case of negative sign.
53098         * stdlib/tst-strtod-round-data: Add more tests.
53099         * stdlib/tst-strtod-round.c (tests): Regenerated.
53101         [BZ #3479]
53102         * stdlib/strtod_l.c (NDIG): Remove.
53103         (HEXNDIG): Likewise.
53104         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
53105         smallest representable value.
53106         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
53107         lie within an exact representation of 1/2 ulp of the result.
53108         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
53109         unconditionally.
53110         (TENS_P9_IDX): Define unconditionally.
53111         (TENS_P9_SIZE): Likewise.
53112         (TENS_P10_IDX): Likewise.
53113         (TENS_P10_SIZE): Likewise.
53114         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
53115         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
53116         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
53117         entries for 10^2^13 and 10^2^14.
53118         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
53119         (TENS_P13_IDX): Define.
53120         (TENS_P13_SIZE): Likewise.
53121         (TENS_P14_IDX): Likewise.
53122         (TENS_P14_SIZE): Likewise.
53123         (_fpioconst_pow10): Change array size to
53124         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
53125         unconditional.
53126         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
53127         1024]: Add entries for 10^2^13 and 10^2^14.
53128         [LAST_POW10 > _LAST_POW10]: Remove #error.
53129         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
53130         (_fpioconst_pow10): Change array size to
53131         FPIOCONST_POW10_ARRAY_SIZE.
53132         * stdlib/gen-fpioconst.c: New file.
53133         * stdlib/gen-tst-strtod-round.c: Likewise.
53134         * stdlib/tst-strtod-round-data: Likewise.
53135         * stdlib/tst-strtod-round.c: Likewise.
53136         * stdlib/Makefile (tests): Add tst-strtod-round.
53138         [BZ #14459]
53139         * stdlib/strtod_l.c: Include <stdint.h>.
53140         (NDEBUG): Do not define.
53141         (round_and_return): Change EXPONENT parameter to type intmax_t.
53142         Rearrange calculations to avoid internal overflow possibilities.
53143         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
53144         Rearrange calculations to avoid internal overflow possibilities.
53145         Assert that number fits inside MPNSIZE limbs.
53146         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
53147         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
53148         calculations and add assertions to avoid internal overflow
53149         possibilities.  Add casts to avoid signed/unsigned operations.
53150         * stdlib/tst-strtod-overflow.c: New file.
53151         * stdlib/Makefile (tests): Add tst-strtod-overflow.
53153 2012-08-25  Marek Polacek  <polacek@redhat.com>
53155         * time/time.h: Fix some typos in comments.
53157 2012-08-23  Roland McGrath  <roland@hack.frob.com>
53159         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
53160         * posix/tst-rfc3484-2.c: Likewise.
53161         * posix/tst-rfc3484-3.c: Likewise.
53163 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
53165         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
53166         (EF_ARM_ABI_FLOAT_HARD): Likewise.
53168 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
53170         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
53171         #include of fxstatat64.c.
53173 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53175         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
53176         * shadow/getspent_r.c: Likewise.
53177         * shadow/getspnam.c: Likewise.
53178         * shadow/getspnam_r.c: Likewise.
53179         * gshadow/getsgent.c: Likewise.
53180         * gshadow/getsgent_r.c: Likewise.
53181         * gshadow/getsgnam.c: Likewise.
53182         * gshadow/getsgnam_r.c: Likewise.
53183         * inet/getnetbyad.c: Likewise.
53184         * inet/getnetbyad_r.c: Likewise.
53185         * inet/getnetbynm.c: Likewise.
53186         * inet/getnetbynm_r.c: Likewise.
53187         * inet/getnetent.c: Likewise.
53188         * inet/getnetent_r.c: Likewise.
53189         * inet/getproto.c: Likewise.
53190         * inet/getproto_r.c: Likewise.
53191         * inet/getprtent.c: Likewise.
53192         * inet/getprtent_r.c: Likewise.
53193         * inet/getprtname.c: Likewise.
53194         * inet/getprtname_r.c: Likewise.
53195         * inet/getrpcbyname.c: Likewise.
53196         * inet/getrpcbyname_r.c: Likewise.
53197         * inet/getrpcbynumber.c: Likewise.
53198         * inet/getrpcbynumber_r.c: Likewise.
53199         * inet/getrpcent.c: Likewise.
53200         * inet/getrpcent_r.c: Likewise.
53201         * inet/getaliasent.c: Likewise.
53202         * inet/getaliasent_r.c: Likewise.
53203         * inet/getaliasname.c: Likewise.
53204         * inet/getaliasname_r.c: Likewise.
53205         * nscd/getgrgid_r.c: Likewise.
53206         * nscd/getgrnam_r.c: Likewise.
53207         * nscd/gethstbyad_r.c: Likewise.
53208         * nscd/gethstbynm3_r.c: Likewise.
53209         * nscd/getpwnam_r.c: Likewise.
53210         * nscd/getpwuid_r.c: Likewise.
53211         * nscd/getsrvbynm_r.c: Likewise.
53212         * nscd/getsrvbypt_r.c: Likewise.
53213         * nscd/gai.c: Likewise.
53215         * configure.in (build_nscd): New substituted variable, set
53216         by --disable-build-nscd and defaults to $use_nscd.
53217         * configure: Regenerated.
53218         * config.make.in (build-nscd): New substituted variable.
53219         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
53220         Change conditional to require [$(build-nscd) = yes] as well.
53221         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
53223         [BZ# 13696]
53224         * configure.in (use_nscd): New substituted variable, set by
53225         --disable-nscd.  If enabled, define USE_NSCD.
53226         * configure: Regenerated.
53227         * config.h.in: Add USE_NSCD.
53228         * config.make.in (use-nscd): New substituted variable.
53229         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
53230         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
53231         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
53232         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
53233         (CFLAGS-getgrnam_r.c): Likewise.
53234         (CFLAGS-initgroups.c): Likewise.
53235         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
53236         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
53237         Variables removed.
53238         * inet/getnetgrent_r.c
53239         (nscd_setnetgrent): New function, broken out of ...
53240         (setnetgrent): ... here.  Call it.
53241         (innetgr): Conditionalize nscd bits on [USE_NSCD].
53242         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
53243         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
53244         * nscd/Makefile (routines, aux): Move definitions after include of
53245         Makeconfig.  Conditionalize on [$(use-nscd) != no].
53246         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
53247         Conditionalize on [USE_NSCD].
53248         (is_nscd, nscd_init_cb): Likewise.
53249         (nss_load_library): Conditionalize init callback on [USE_NSCD].
53250         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
53251         * nss/nss_db/db-init.c: Likewise.
53252         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
53253         [USE_NSCD].
53254         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
53255         (make_request): Use it.
53256         (cache_valid_p): New function.
53257         (__check_pf): Use it.
53258         * NEWS: Add item for --disable-nscd.
53260 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
53262         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
53263         to support sed >= 4.2.1-20-ga9bf076.
53264         * configure: Regenerated.
53266 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53268         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
53269         Conditionalize whole body on [IREL].
53271 2012-08-22  Jeff Law <law@redhat.com>
53273         [BZ #14505]
53274         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
53275         if the family is PF_UNSPEC.
53277 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
53279         * Makerules (lib-version): Rename from V.
53280         (install-lib-nosubdir): Change V to lib-version.
53282 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
53284         [BZ #14252]
53285         * powerpc32/power6/wcschr.c: New file.
53286         * powerpc32/power6/wcscpy.c: New file.
53287         * powerpc32/power6/wcsrchr.c: New file.
53288         * powerpc64/power6/wcschr.c: New file.
53289         * powerpc64/power6/wcscpy.c: New file.
53290         * powerpc64/power6/wcsrchr.c: New file.
53292 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53294         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
53295         (two_way_short_needle): Use it.
53296         * string/strstr.c (AVAILABLE1_USES_J): Define.
53297         * string/strcasestr.c: Likewise.
53299         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
53300         array references.
53301         * string/strcasestr.c (TOLOWER): Make side-effect safe.
53303         [BZ #11607]
53304         * NEWS: Add an entry.
53305         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
53306         define their defaults.
53307         (two_way_short_needle): Detect end-of-string on-the-fly.
53308         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
53309         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
53310         * string/bug-strcasestr1.c: New test.
53311         * string/Makefile: Run it.
53313 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53315         [BZ #11607]
53316         * string/str-two-way.h (two_way_short_needle): Optimize matching of
53317         the first character.
53319 2012-08-21  Roland McGrath  <roland@hack.frob.com>
53321         * csu/elf-init.c (__libc_csu_irel): Function removed.
53322         * csu/libc-start.c (apply_irel): New function.
53323         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
53325 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
53327         * sysdeps/unix/sysv/linux/kernel-features.h
53328         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
53329         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53330         <kernel-features.h>.
53331         [__NR_fadvise64_64]: Make code unconditional.
53332         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
53333         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53334         !__NR_fadvise64_64)]: Likewise.
53335         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53336         !__NR_fadvise64_64))]: Likewise.
53337         [__NR_fadvise64]: Make code unconditional.
53338         [!__NR_fadvise64]: Remove conditional code.
53339         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
53340         <kernel-features.h>.
53341         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53342         unconditional.
53343         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53344         conditional code.
53345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
53346         not include <kernel-features.h>.
53347         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53348         unconditional.
53349         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53350         conditional code.
53351         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
53352         include <kernel-features.h>.
53353         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53354         unconditional.
53355         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53356         conditional code.
53358 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53360         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
53361         slight instruction rearrangements per scrollpipe analysis.
53362         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53364 2012-08-20  Roland McGrath  <roland@hack.frob.com>
53366         * manual/syslog.texi (syslog; vsyslog, closelog):
53367         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
53368         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
53370         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
53371         DSOCAPS to match condition on defining it.
53373 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
53375         * sysdeps/unix/sysv/linux/kernel-features.h
53376         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
53377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
53378         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53379         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
53381         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53382         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
53384         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53385         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53387         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
53388         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
53390         * sysdeps/unix/sysv/linux/kernel-features.h
53391         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
53392         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
53393         unconditional.
53394         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53395         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
53396         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53397         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53398         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
53399         Make code unconditional.
53400         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53401         (__mmap64) [!__NR_mmap2]: Likewise.
53402         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
53403         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53404         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53405         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
53406         [__NR_mmap2]: Make code unconditional.
53407         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53408         (__mmap64) [!__NR_mmap2]: Likewise.
53410 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53412         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
53414 2012-08-18  Andreas Jaeger  <aj@suse.de>
53416         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
53418 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53420         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
53421         * include/unistd.h (__have_sock_cloexec): Likewise.
53422         (__have_pipe2): Likewise.
53423         (__have_dup3): Likewise.
53425 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53427         [BZ #9685]
53428         * include/unistd.h (__have_pipe2): Change define into an extern int.
53429         (__have_dup3): Likewise.
53430         * socket/have_sock_cloexec.c: Include fcntl.h.
53431         (__have_pipe2): New variable.
53432         (__have_dup3): Likewise.
53434 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
53436         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
53438 2012-08-17  Marek Polacek  <polacek@redhat.com>
53440         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
53441         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
53443 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53445         * configure.in: Add AC_SUBST for sysheaders.
53446         * configure: Regenerated.
53447         * config.make.in (sysheaders): New substituted variable.
53449         * sysdeps/unix/mkfifo.c: Moved ...
53450         * sysdeps/posix/mkfifo.c: ... here.
53451         * sysdeps/unix/mkfifoat.c: Moved ...
53452         * sysdeps/posix/mkfifoat.c: ... here.
53454         * sysdeps/unix/utime.c: Moved ...
53455         * sysdeps/posix/utime.c: ... here.
53457         * sysdeps/unix/time.c: Moved ...
53458         * sysdeps/posix/time.c: ... here.
53459         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
53460         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
53462         * sysdeps/unix/nice.c: Moved ...
53463         * sysdeps/posix/nice.c: ... here.
53465         * sysdeps/unix/alarm.c: Moved ...
53466         * sysdeps/posix/alarm.c: ... here.
53468         * intl/Makefile ($(codeset_mo)): Depend on the input file.
53470 2012-08-17  Jeff Law <law@redhat.com>
53472         * intl/Makefile (codeset_mo): New variable.
53473         ($(codeset_mo)): New target.
53474         (tst-codeset.out): Depend on that.  Remove explicit rule.
53475         (tst-gettext3.out, tst-gettext5.out): Likewise.
53476         (LOCPATH-ENV, tst-codeset-ENV): New variables.
53477         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
53478         * intl/tst-codeset.sh: Remove.
53479         * intl/tst-gettext3.sh: Likewise.
53480         * intl/tst-gettext5.sh: Likewise.
53482 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53484         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
53485         * sysdeps/unix/syscalls.list: ... here.
53487         * sysdeps/posix/getaddrinfo.c
53488         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
53489         (gaiconf_init, gaiconf_reload): Use them.
53490         [!_STATBUF_ST_NSEC]
53491         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
53492         Define using time_t rather than struct timespec.
53494         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
53495         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
53496         Macros removed.
53497         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
53498         [!NO_THREADS].
53499         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
53500         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
53501         Likewise.
53503         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
53504         __libc_cleanup_push argument.
53506         * bits/param.h: New file.
53507         * misc/sys/param.h: New file.
53508         * include/sys/param.h: New file.
53509         * misc/Makefile (headers): Add bits/param.h.
53510         * sysdeps/generic/sys/param.h: File removed.
53511         * sysdeps/unix/sysv/linux/bits/param.h: New file.
53512         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
53513         * sysdeps/mach/hurd/bits/param.h: New file.
53514         * sysdeps/mach/hurd/sys/param.h: File removed.
53516         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
53517         last change.
53519         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
53520         [_IO_MTSAFE_IO].
53521         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
53522         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
53523         New macros.
53525         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
53526         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
53527         rather than -D_IO_MTSAFE_IO conditionally.
53528         * stdio-common/Makefile (CPPFLAGS): Likewise.
53529         * wcsmbs/Makefile (CPPFLAGS): Likewise.
53530         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
53531         Use $(libio-mtsafe).
53532         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
53533         of -D_IO_MTSAFE_IO.
53534         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
53535         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
53536         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
53537         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
53538         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
53539         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
53540         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
53541         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
53542         (CFLAGS-fread_u_chk.c): Likewise.
53543         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
53544         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
53545         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
53546         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
53547         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
53548         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
53549         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
53550         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
53551         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
53553         * libio/Makefile: Test [$(libc-reentrant) = yes]
53554         instead of [$(filter %REENTRANT, $(defines)) nonempty].
53556         * Makeconfig
53557         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
53558         * sysdeps/pthread/configure: File removed.
53559         * sysdeps/pthread/Makeconfig: New file.
53560         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
53561         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
53563 2012-08-16  Gary Benson  <gbenson@redhat.com>
53565         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
53566         unmapping the first object in a namespace.
53568 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53570         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
53571         (__internal_setnetgrent): ... this.  Add internal_function to
53572         definition.  Add libc_hidden_def.
53573         (setnetgrent): Update caller.
53574         (internal_endnetgrent): Renamed to ...
53575         (__internal_endnetgrent): ... this.  Add internal_function to
53576         definition.  Add libc_hidden_def.
53577         (endnetgrent): Update caller.
53578         (internal_getnetgrent_r): Renamed to ...
53579         (__internal_getnetgrent_r): ... this.  Add internal_function to
53580         definition.  Add libc_hidden_def.
53581         (__getnetgrent_r): Update caller.
53582         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
53584 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53586         * stdlib/longlong.h: Update from GCC.
53588 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53590         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
53591         on _QL, which is set by umul_ppmm but never used.
53592         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
53593         variables, which are set by GMP macros but never used.
53594         * stdio-common/_itowa.c (_itowa): Likewise.
53595         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
53596         * stdlib/mod_1.c (mpn_mod_1): Likewise.
53598 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
53600         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
53601         struct La_sh_regs is not constant.
53602         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
53603         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
53604         and struct La_sparc64_regs are not constant.
53606 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53608         * sysdeps/unix/sysv/linux/kernel-features.h
53609         (__ASSUME_POSIX_TIMERS): Remove.
53610         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53611         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53612         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
53613         Make code unconditional.
53614         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53615         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
53616         Make code unconditional.
53617         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53618         * sysdeps/unix/sysv/linux/clock_nanosleep.c
53619         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
53620         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53621         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
53622         Make code unconditional.
53623         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53624         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
53625         (__libc_missing_posix_timers): Remove.
53627 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53629         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
53630         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
53632         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
53634         * elf/dl-sym.c: Include <stdlib.h>.
53636         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
53637         constants, which avoids warnings in 32-bit builds.
53639         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
53640         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
53642         * misc/lseek.c: File moved to ...
53643         * io/lseek.c: ... here.
53645         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
53647         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
53648         shifting LEN more than 31 bits at once.
53650 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53652         [BZ #14195]
53653         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
53654         segmentation fault for a case of two empty input strings.
53655         * string/test-strncasecmp.c (check1): Renamed to...
53656         (bz12205): ...this.
53657         (bz14195): Add new testcase for two empty input strings and N > 0.
53658         (test_main): Call new testcase, adapt for renamed function.
53660 2012-08-15  Andreas Jaeger  <aj@suse.de>
53662         [BZ #14090]
53663         * crypt/md5test2.c: New test, based on test supplied by Serge
53664         Belyshev <belyshev@depni.sinp.msu.ru>.
53665         * crypt/Makefile (xtests): Add md5test-giant..
53666         * crypt/Makefile ($(objpfx)md5test-giant): Add.
53668 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
53670         [BZ #14090]
53671         * crypt/md5.c (md5_process_block): Don't assume the buffer
53672         length is less than 2**32.
53673         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
53674         length is less than 2**64.
53676 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53678         * string/str-two-way.h: Include <sys/param.h>.
53679         (MAX): Macro removed.
53681         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
53682         Move #define and #undef of memmove to just before and after
53683         including <string.h>.
53685         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
53686         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
53687         and after including <string.h>.  Move declarations of
53688         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
53689         to before #include "string/memmove.c".
53691         * include/dirent.h: Declare __getdirentries.
53693         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
53694         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
53696 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
53698         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
53699         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
53700         * sysdeps/i386/configure: Regenerated.
53701         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
53702         STABS_CURRENT_FILE, and STABS_FUN.
53703         (END): Remove call to STABS_FUN_END.
53704         (STABS_CURRENT_FILE1): Delete.
53705         (STABS_CURRENT_FILE): Likewise.
53706         (STABS_FUN): Likewise.
53707         (STABS_FUN_END): Likewise.
53708         (STABS_FUN2): Likewise.
53709         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
53710         * sysdeps/x86_64/configure: Regenerated.
53712 2012-08-14  Roland McGrath  <roland@hack.frob.com>
53714         * elf/dl-open.c: Include <atomic.h>.
53715         * elf/dl-lookup.c: Likewise.
53717 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
53719         * sysdeps/unix/sysv/linux/kernel-features.h
53720         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
53721         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
53722         unconditionally.
53723         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
53724         unconditionally.
53725         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
53726         condition on __ASSUME_CLONE_THREAD_FLAGS.
53728 2012-08-14  Andreas Jaeger  <aj@suse.de>
53730         * sysdeps/i386/fpu/libm-test-ulps: Update.
53732 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
53734         * include/atomic.h (atomic_exchange_and_add): Split into ...
53735         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
53736         New atomic macros.
53738 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
53740         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53742 2012-08-13  Jeff Law <law@redhat.com>
53744         * manual/stdio.texi (snprintf): Clarify handling of the trailing
53745         null byte in the output string.
53747 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
53749         * sysdeps/unix/sysv/linux/kernel-features.h
53750         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
53751         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
53752         (__ASSUME_ARG_MAX_STACK_BASED): Define.
53753         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53754         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
53755         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
53756         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
53758 2012-08-09  Jeff Law <law@redhat.com>
53760         [BZ #13939]
53761         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
53762         When avoid_arena is set, don't retry in the that arena.  Pick the
53763         next one, whatever it might be.
53764         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
53765         (arena_lock): Pass in new parameter to arena_get2.
53766         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
53767         arena_get2.
53768         (__libc_malloc): Unify retrying after main arena failure with
53769         __libc_memalign version.
53770         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
53772 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
53774         [BZ #14166]
53775         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
53776         to __redirect_strstr.
53777         (__strstr_sse42): Use typeof __redirect_strstr.
53778         (__strstr_ia32): Likewise.
53779         (__libc_strstr): New prototype.
53780         (strstr): Renamed to ...
53781         (__libc_strstr): This.
53782         (strstr): New strong alias of __libc_strstr.
53783         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53784         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
53785         __redirect_time.
53786         Include <time.h>.
53787         (__libc_time): New prototype.
53788         (time_ifunc): Replace time with __libc_time.
53789         (time): New strong alias and hidden definition of __libc_time.
53790         (__GI_time): Remove strong alias.
53791         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
53792         Include <stddef.h>.
53793         (memmove): Redefined to __redirect_memmove.
53794         (__memmove_sse2): Use typeof __redirect_memmove.
53795         (__memmove_ssse3): Likewise.
53796         (__memmove_ssse3_back): Likewise.
53797         (__libc_memmove): New prototype.
53798         (memmove): Renamed to ...
53799         (__libc_memmove): This.
53800         (memmove): New strong alias of __libc_memmove.
53802 2012-08-08  Mark Salter  <msalter@redhat.com>
53804         * elf/elf.h
53805         (R_MN10300_TLS_GD): Define.
53806         (R_MN10300_TLS_LD): Likewise.
53807         (R_MN10300_TLS_LDO): Likewise.
53808         (R_MN10300_TLS_GOTIE): Likewise.
53809         (R_MN10300_TLS_IE): Likewise.
53810         (R_MN10300_TLS_LE): Likewise.
53811         (R_MN10300_TLS_DTPMOD): Likewise.
53812         (R_MN10300_TLS_DTPOFF): Likewise.
53813         (R_MN10300_TLS_TPOFF): Likewise.
53814         (R_MN10300_SYM_DIFF): Likewise.
53815         (R_MN10300_ALIGN): Likewise.
53816         (R_MN10300_NUM): Update.
53818 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
53820         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
53821         Remove.
53823 2012-08-08  Roland McGrath  <roland@hack.frob.com>
53825         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
53827         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
53828         sysdeps/unix -> sysdeps/posix move.
53829         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53831 2012-08-07      Allan McRae     <allan@archlinux.org>
53833         [BZ #14303]
53834         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
53835         (SUNOS_CPP): Likewise.
53836         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
53837         not found.
53838         (open_input): Call CPP using execvp.
53840 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53842         * sysdeps/unix/sysv/linux/kernel-features.h
53843         (__ASSUME_PROT_GROWSUPDOWN): Remove.
53844         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53845         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53846         (__ASSUME_WAITID_SYSCALL): Likewise.
53847         * sysdeps/unix/sysv/linux/dl-execstack.c
53848         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
53849         code unconditional.
53850         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
53851         conditional code.
53852         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
53853         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
53854         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
53855         code.
53856         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
53857         unconditional.
53858         [__ASSUME_WAITID_SYSCALL]: Likewise.
53859         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
53861 2012-08-07  Roland McGrath  <roland@hack.frob.com>
53863         * sysdeps/unix/closedir.c: Renamed to ...
53864         * sysdeps/posix/closedir.c: ... here.
53865         * sysdeps/unix/dirfd.c: Renamed to ...
53866         * sysdeps/posix/dirfd.c: ... here.
53867         * sysdeps/unix/dirstream.h: Renamed to ...
53868         * sysdeps/posix/dirstream.h: ... here.
53869         * sysdeps/unix/fdopendir.c: Renamed to ...
53870         * sysdeps/posix/fdopendir.c: ... here.
53871         * sysdeps/unix/opendir.c: Renamed to ...
53872         * sysdeps/posix/opendir.c: ... here.
53873         * sysdeps/unix/readdir.c: Renamed to ...
53874         * sysdeps/posix/readdir.c: ... here.
53875         * sysdeps/unix/readdir_r.c: Renamed to ...
53876         * sysdeps/posix/readdir_r.c: ... here.
53877         * sysdeps/unix/rewinddir.c: Renamed to ...
53878         * sysdeps/posix/rewinddir.c: ... here.
53879         * sysdeps/unix/seekdir.c: Renamed to ...
53880         * sysdeps/posix/seekdir.c: ... here.
53881         * sysdeps/unix/telldir.c: Renamed to ...
53882         * sysdeps/posix/telldir.c: ... here.
53883         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
53884         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
53885         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
53886         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
53888         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
53889         * bits/fcntl.h: ... here.
53891         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
53892         not 0.
53893         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
53894         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
53895         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
53896         (struct flock): Move l_start, l_len to the beginning.
53897         Use __pid_t for l_pid.
53898         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
53899         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
53900         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
53901         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
53902         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
53903         [__USE_LARGEFILE64] (struct flock64): New type.
53904         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
53906         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
53907         * bits/dirent.h: ... here.
53909         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
53910         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
53912 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53914         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53915         Change from 2.6.0 to 2.6.16.
53916         * sysdeps/unix/sysv/linux/configure: Regenerated.
53917         * sysdeps/unix/sysv/linux/kernel-features.h
53918         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
53919         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
53920         version.
53921         (__ASSUME_UTIMES): Likewise.
53922         (__ASSUME_CLONE_STOPPED): Remove.
53923         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
53924         architectures, not kernel version.
53925         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
53926         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53927         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53928         (__ASSUME_WAITID_SYSCALL): Likewise.
53929         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
53930         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
53931         * README: State 2.6.16 as minimum Linux kernel version.  Do not
53932         refer to older versions.
53934 2012-08-06  Roland McGrath  <roland@hack.frob.com>
53936         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
53937         Define alphasort64 as an alias.
53938         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
53939         Define versionsort64 as an alias.
53940         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
53941         Define scandir64 as an alias.
53942         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
53943         Define scandirat64 as an alias.
53944         * dirent/alphasort64.c (alphasort64):
53945         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
53946         * dirent/versionsort64.c: Likewise.
53947         * dirent/scandir64.c: Likewise.
53948         * dirent/scandirat64.c: Likewise.
53949         * sysdeps/wordsize-64/alphasort.c: File removed.
53950         * sysdeps/wordsize-64/alphasort64.c: File removed.
53951         * sysdeps/wordsize-64/scandir.c: File removed.
53952         * sysdeps/wordsize-64/scandir64.c: File removed.
53953         * sysdeps/wordsize-64/scandirat.c: File removed.
53954         * sysdeps/wordsize-64/scandirat64.c: File removed.
53955         * sysdeps/wordsize-64/versionsort.c: File removed.
53956         * sysdeps/wordsize-64/versionsort64.c: File removed.
53957         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
53958         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
53959         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
53960         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
53961         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
53962         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
53963         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
53964         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
53966         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
53967         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53968         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
53969         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53970         [defined __arch64__ || defined __sparcv9]
53971         (__INO_T_MATCHES_INO64_T): New macro.
53972         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53973         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
53974         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
53975         * sysdeps/unix/sysv/linux/bits/dirent.h
53976         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
53977         (_DIRENT_MATCHES_DIRENT64): New macro.
53979         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
53980         Define lockf64 as an alias.
53981         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
53982         Define fseeko64 as an alias.
53983         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
53984         Define ftello64 as an alias.
53985         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
53986         Define _IO_fgetpos64 and fgetpos64 as aliases.
53987         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
53988         Define _IO_fsetpos64 and fsetpos64 as aliases.
53989         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
53990         Conditionalize body on this.
53991         * libio/fseeko64.c: Likewise.
53992         * libio/ftello64.c: Likewise.
53993         * libio/iofgetpos64.c: Likewise.
53994         * libio/iofsetpos64.c: Likewise.
53995         * sysdeps/wordsize-64/lockf.c: File removed.
53996         * sysdeps/wordsize-64/lockf64.c: File removed.
53997         * sysdeps/wordsize-64/fseeko.c: File removed.
53998         * sysdeps/wordsize-64/fseeko64.c: File removed.
53999         * sysdeps/wordsize-64/ftello.c: File removed.
54000         * sysdeps/wordsize-64/ftello64.c: File removed.
54001         * sysdeps/wordsize-64/iofgetpos.c: File removed.
54002         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
54003         * sysdeps/wordsize-64/iofsetpos.c: File removed.
54004         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
54005         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
54006         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
54007         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
54008         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
54009         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
54010         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
54011         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
54012         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
54013         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
54014         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
54016         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54017         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54018         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
54019         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54020         [defined __arch64__ || defined __sparcv9]
54021         (__OFF_T_MATCHES_OFF64_T): New macro.
54022         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54023         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54024         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54025         (__OFF_T_MATCHES_OFF64_T): New macro.
54027 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54029         * stdlib/secure-getenv.c (__secure_getenv): Replace
54030         GLIBC_2_16 with GLIBC_2_17.
54032 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
54034         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
54035         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54037 2012-08-03  David S. Miller  <davem@davemloft.net>
54039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54041 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54043         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
54044         Remove.
54045         (__ASSUME_CORRECT_SI_PID): Likewise.
54046         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
54047         (__ASSUME_TMPFS_NAME): Likewise.
54048         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
54049         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
54050         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
54051         (HAVE_AUX_SECURE): Make definition unconditional.
54052         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
54053         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
54055 2012-08-03  Roland McGrath  <roland@hack.frob.com>
54057         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
54058         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
54059         * sysdeps/mach/hurd/eloop-threshold.h: New file.
54060         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54061         __eloop_threshold instead of SYMLOOP_MAX.
54063         * sysdeps/generic/eloop-threshold.h: New file.
54064         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
54065         of MAXSYMLINKS.
54066         * elf/chroot_canon.c (chroot_canon): Likewise.
54068 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
54070         [BZ #13717]
54071         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54072         Change to 2.6.0 everywhere.
54073         * sysdeps/unix/sysv/linux/configure: Regenerated.
54074         * sysdeps/unix/sysv/linux/kernel-features.h
54075         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
54076         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
54077         kernel versions.
54078         (__ASSUME_POSIX_TIMERS): Define unconditionally.
54079         (__ASSUME_FUTEX_REQUEUE): Remove.
54080         (__ASSUME_STATFS64): Define unconditionally.
54081         (__ASSUME_AT_SECURE): Likewise.
54082         (__ASSUME_CORRECT_SI_PID): Likewise.
54083         (__ASSUME_TGKILL): Define without depending on kernel version for
54084         i386.
54085         (__ASSUME_UTIMES): Likewise.
54086         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
54087         kernel version.
54088         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
54089         (__ASSUME_TMPFS_NAME): Likewise.
54090         * README: Update reference to Linux kernel versions.
54092 2012-08-02  Marek Polacek  <polacek@redhat.com>
54094         [BZ# 14150]
54095         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
54096         libc_cv_asm_type_prefix with %.
54097         * configure: Regenerated.
54098         * include/libc-symbols.h: Remove comment about
54099         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54100         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
54101         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
54102         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
54103         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
54104         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54105         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
54106         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
54107         * elf/tst-unique2mod1.c: Likewise.
54108         * elf/tst-unique1mod2.c: Likewise.
54109         * elf/tst-unique1mod1.c: Likewise.
54110         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
54111         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
54112         Replace ASM_TYPE_DIRECTIVE with .type.
54113         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54114         * sysdeps/i386/sysdep.h: Likewise.
54115         * sysdeps/x86_64/sysdep.h: Likewise.
54116         * sysdeps/sh/sysdep.h: Likewise.
54117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54118         Do not define ASM_TYPE_DIRECTIVE.
54119         * sysdeps/powerpc/sysdep.h: Likewise.
54120         * sysdeps/powerpc/powerpc32/sysdep.h:
54121         Replace ASM_TYPE_DIRECTIVE with .type.
54122         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54123         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54124         * sysdeps/i386/fpu/e_powf.S: Likewise.
54125         * sysdeps/i386/fpu/e_expl.S: Likewise.
54126         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54127         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54128         * sysdeps/i386/fpu/e_pow.S: Likewise.
54129         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54130         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54131         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54132         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54133         * sysdeps/i386/fpu/e_log2.S: Likewise.
54134         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54135         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54136         * sysdeps/i386/fpu/e_powl.S: Likewise.
54137         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54138         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54139         * sysdeps/i386/fpu/e_logl.S: Likewise.
54140         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54141         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54142         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54143         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54144         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54145         * sysdeps/i386/fpu/e_log.S: Likewise.
54146         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54147         * sysdeps/i386/fpu/e_logf.S: Likewise.
54148         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54149         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54150         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54151         * sysdeps/i386/fpu/e_log10.S: Likewise.
54152         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54153         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54154         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54155         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54156         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54157         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
54158         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54159         * sysdeps/i386/i686/strtok.S: Likewise.
54160         * sysdeps/i386/i386-mcount.S: Likewise.
54161         * sysdeps/i386/strtok.S: Likewise.
54162         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
54163         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54164         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54165         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54166         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54167         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54168         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54169         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54170         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54171         * sysdeps/x86_64/_mcount.S: Likewise.
54172         * sysdeps/x86_64/strtok.S: Likewise.
54173         * sysdeps/sh/_mcount.S: Likewise.
54175 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54177         * libio/iofopen.c: Include <fcntl.h>.
54178         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
54179         (_IO_fopen64, fopen64): Define as aliases.
54180         * libio/iofopen64.c: Include <fcntl.h>.
54181         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
54182         Conditionalize body on this.
54183         * sysdeps/wordsize-64/iofopen.c: File removed.
54184         * sysdeps/wordsize-64/iofopen64.c: File removed.
54186 2012-08-01  Marek Polacek  <polacek@redhat.com>
54188         * libc/Makeconfig: Use elf in place of binfmt-subdir.
54189         Use dlfcn directly instead of a variable.
54190         (binfmt-subdir): Do not define.
54191         (dlfcn): Likewise.
54193 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
54195         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
54196         Remove all definitions.
54197         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
54198         <kernel-features.h>.
54199         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54200         (miss_F_GETOWN_EX): Remove all definitions.
54201         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
54202         macro definition.
54203         [!__ASSUME_FCNTL64]: Remove conditional code.
54204         [__ASSUME_FCNTL64]: Make code unconditional.
54205         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
54206         <kernel-features.h>.
54207         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54208         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
54209         (lockf64) [__NR_fcntl64]: Make code unconditional.
54210         (lockf64) [__ASSUME_FCNTL64]: Likewise.
54212         * sysdeps/unix/sysv/linux/kernel-features.h
54213         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
54214         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
54215         Make code unconditional.
54216         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54217         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
54219         [__NR_vfork]: Make code unconditional.
54220         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54221         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
54223         [__NR_vfork]: Make code unconditional.
54224         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54225         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54227 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54229         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
54230         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
54232         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54233         Define mkstemp64 as an alias.
54234         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54235         Define mkstemps64 as an alias.
54236         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54237         Define mkostemp64 as an alias.
54238         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54239         Define mkostemps64 as an alias.
54240         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
54241         Conditionalize body on this.
54242         * misc/mkostemp64.c: Likewise.
54243         * misc/mkostemps64.c: Likewise.
54244         * misc/mkstemps64.c: Likewise.
54245         * sysdeps/wordsize-64/mkstemp64.c: File removed.
54246         * sysdeps/wordsize-64/mkostemp64.c: File removed.
54247         * sysdeps/wordsize-64/mkostemp.c: File removed.
54248         * sysdeps/wordsize-64/mkstemp.c: File removed.
54249         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
54250         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
54251         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
54252         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
54254         [BZ #14138]
54255         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
54256         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
54257         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
54258         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
54260         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
54261         compat_symbol macros from <shlib-compat.h> rather than the underlying
54262         default_symbol_version and symbol_version macros, so that DEFAULT
54263         lines in shlib-versions are respected.
54264         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
54266 2012-08-01  Florian Weimer  <fweimer@redhat.com>
54268         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
54269         Declare with warn_unused_result.
54270         (setgid, setregid, setegid, setresgid): Likewise.
54271         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
54272         Likewise.
54273         * WUR-REPORT: Remove set*id functions.
54275 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
54277         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
54279 2012-07-31  Roland McGrath  <roland@hack.frob.com>
54281         [BZ #10191]
54282         * include/sys/socket.h (__libc_accept, __libc_accept4):
54283         Add attribute_hidden.
54284         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
54286         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
54287         use of PTR_MANGLE.
54288         * inet/getnetgrent_r.c (setup): Likewise.
54290         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
54292 2012-07-31  David S. Miller  <davem@davemloft.net>
54294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54296 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
54298         [BZ #13629]
54299         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
54300         value between 1.0 and 2.0 and smaller part has absolute value less
54301         than 1.0.
54302         * math/s_clog10.c (__clog10): Likewise.
54303         * math/s_clog10f.c (__clog10f): Likewise.
54304         * math/s_clog10l.c (__clog10l): Likewise.
54305         * math/s_clogf.c (__clogf): Likewise.
54306         * math/s_clogl.c (__clogl): Likewise.
54307         * math/libm-test.inc (clog_test): Add more tests.
54308         (clog10_test): Likewise.
54309         * sysdeps/i386/fpu/libm-test-ulps: Update.
54310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54312 2012-07-31  Florian Weimer  <fweimer@redhat.com>
54314         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
54315         Exit with zero in case no suitable GID is found, and write a
54316         message to standard error.
54318 2012-07-30  Roland McGrath  <roland@hack.frob.com>
54320         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
54321         rather than to 1.
54322         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
54323         (MAXPATHLEN): Removed.
54324         (NOGROUP, NODEV): New macros.
54325         (setbit, clrbit, isset, isclr): New macros.
54326         (howmany, roundup, powerof2): New macros.
54327         (DEV_BSIZE): New macro.
54329         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
54330         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
54332         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
54333         definition on [!__NO_LONG_DOUBLE_MATH].
54335         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
54336         PTR_MANGLE and PTR_DEMANGLE.
54338         * socket/accept4.c (accept4): Rename to __libc_accept4.
54339         Define accept4 as a weak alias.
54341         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
54342         on [_DIRENT_HAVE_D_TYPE].
54343         * io/ftw.c (ftw_dir): Likewise.
54345         * io/xmknod.c (__xmknod): Don't check PATH for being null.
54347         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
54349         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
54350         Use the BSD numbers rather than the arbitrary ones we had.
54351         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
54352         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
54353         (SIGXCPU, SIGXFSZ): New macros.
54354         (_NSIG): Now 32.
54356         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
54357         initializer on [_LIBC_REENTRANT].
54359         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
54360         definitions inside [_POSIX_MAPPED_FILES].
54362         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
54364         * dirent/opendir.c: Include <fcntl.h>.
54366         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
54367         (__libc_getspecific): Likewise.
54368         (__libc_key_create): Likewise.
54370         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
54371         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
54372         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
54373         (tmpfile64): Define as alias.
54374         * sysdeps/wordsize-64/tmpfile.c: File removed.
54375         * sysdeps/wordsize-64/tmpfile64.c: File removed.
54376         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
54377         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
54379         * stdio-common/vfscanf.c: Include <stdbool.h>.
54380         * nss/makedb.c: Likewise.
54381         * stdio-common/_i18n_number.h: Likewise.
54382         * argp/argp-help.c: Likewise.
54383         * posix/wordexp.c: Likewise.
54384         * sysdeps/posix/spawni.c: Likewise.
54385         * nss/nss_files/files-initgroups.c: Likewise.
54386         * stdio-common/reg-modifier.c: Include <stdlib.h>.
54387         * nss/nss_files/files-initgroups.c: Likewise.
54388         * nss/nss_db/db-netgrp.c: Likewise.
54389         * nss/nss_db/db-initgroups.c: Likewise.
54390         * io/fchmodat.c: Include <sys/stat.h>.
54392         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
54393         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
54395         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
54396         [HAVE_MMAP].
54398         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
54399         Add multiple inclusion protection.
54401 2012-07-27  David S. Miller  <davem@davemloft.net>
54403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54405 2012-07-27  Gary Benson  <gbenson@redhat.com>
54407         [BZ #14298]
54408         * elf/rtld.c: Include <stap-probe.h>.
54409         (dl_main): Added static probes "init_start" and "init_complete".
54410         * elf/dl-load.c: Include <stap-probe.h>.
54411         (lose): Take new parameter "nsid".
54412         Added static probe "map_failed".
54413         (_dl_map_object_from_fd): Pass namespace id to lose.
54414         Added static probe "map_start".
54415         (open_verify): Pass namespace id to lose.
54416         * elf/dl-open.c: Include <stap-probe.h>.
54417         (dl_open_worker) Added static probes "map_complete", "reloc_start"
54418         and "reloc_complete".
54419         * elf/dl-close.c: Include <stap-probe.h>.
54420         (_dl_close_worker): Added static probes "unmap_start" and
54421         "unmap_complete".
54422         * elf/rtld-debugger-interface.txt: New file documenting the above.
54424 2012-07-26  Roland McGrath  <roland@hack.frob.com>
54426         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
54427         rather than a string variable.
54428         * sunrpc/rpc_main.c (h_output): Likewise.
54429         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
54431 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
54433         * inet/check_native.c: New file.
54435 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
54437         [BZ #13629]
54438         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
54439         if larger part has absolute value 1.0.
54440         * math/s_clog10.c (__clog10): Likewise.
54441         * math/s_clog10f.c (__clog10f): Likewise.
54442         * math/s_clog10l.c (__clog10l): Likewise.
54443         * math/s_clogf.c (__clogf): Likewise.
54444         * math/s_clogl.c (__clogl): Likewise.
54445         * math/libm-test.inc (clog_test): Add more tests.
54446         (clog10_test): Likewise.
54447         * sysdeps/i386/fpu/libm-test-ulps: Update.
54448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54450         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
54451         (pltexit): Likewise.
54452         (La_regs): Likewise.
54453         (La_retval): Likewise.
54454         (int_retval): Likewise.
54455         Update #error for removed macros to refer only to definitions in
54456         tst-audit.h.
54457         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
54458         macro.
54459         (pltexit): Likewise.
54460         (La_regs): Likewise.
54461         (La_retval): Likewise.
54462         (int_retval): Likewise.
54463         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
54464         macro.
54465         (pltexit): Likewise.
54466         (La_regs): Likewise.
54467         (La_retval): Likewise.
54468         (int_retval): Likewise.
54469         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
54470         macro.
54471         (pltexit): Likewise.
54472         (La_regs): Likewise.
54473         (La_retval): Likewise.
54474         (int_retval): Likewise.
54475         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
54476         macro.
54477         (pltexit): Likewise.
54478         (La_regs): Likewise.
54479         (La_retval): Likewise.
54480         (int_retval): Likewise.
54481         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
54482         macro.
54483         (pltexit): Likewise.
54484         (La_regs): Likewise.
54485         (La_retval): Likewise.
54486         (int_retval): Likewise.
54487         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
54488         macro.
54489         (pltexit): Likewise.
54490         (La_regs): Likewise.
54491         (La_retval): Likewise.
54492         (int_retval): Likewise.
54493         * sysdeps/generic/tst-audit.h: Update comment to refer only to
54494         macro definitions in tst-audit.h.
54495         * sysdeps/i386/tst-audit.h: New file.
54496         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
54497         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
54498         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
54499         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
54500         * sysdeps/sh/tst-audit.h: Likewise.
54501         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
54502         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
54503         * sysdeps/x86_64/tst-audit.h: Likewise.
54505 2012-07-26  Andreas Jaeger  <aj@suse.de>
54507         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
54508         ptrace.
54510         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
54511         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
54512         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
54513         PTRACE_O_MASK.
54514         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
54515         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
54516         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
54518         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
54519         value.
54521         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
54522         _sigsys.
54523         (si_call_addr, si_syscall, si_arch): Define new macro.
54524         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
54525         _sigsys.
54526         (si_call_addr, si_syscall, si_arch): Define new marcro.
54527         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
54528         _sigsys.
54529         (si_call_addr, si_syscall, si_arch): Define new macro.
54530         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
54531         _sigsys.
54532         (si_call_addr, si_syscall, si_arch): Define new macro.
54534 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54536         [BZ #13717]
54537         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54538         Change to 2.4.21 where previously 2.4.1.
54539         * sysdeps/unix/sysv/linux/configure: Regenerated.
54540         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
54541         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
54542         Linux kernel version.
54543         (__ASSUME_STD_AUXV): Remove.
54544         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
54545         kernel version.
54546         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
54547         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
54548         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
54549         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
54550         (__ASSUME_NETLINK_SUPPORT): Likewise.
54551         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
54552         (__no_netlink_support): Remove conditional definition.
54553         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
54554         Remove.
54555         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54556         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
54557         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
54558         (if_nameindex_ioctl): Remove.
54559         (if_nameindex_netlink): Do not handle __no_netlink_support.
54560         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54561         code.
54562         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
54563         Remove conditional code.
54564         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54565         code.
54566         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
54567         unconditional.
54568         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54569         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
54570         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
54571         Remove.
54572         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
54573         [!__ASSUME_STD_AUXV]: Remove conditional code.
54574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
54575         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
54576         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
54577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
54578         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
54579         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54580         code.
54581         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54583         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
54584         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54585         conditional code.
54586         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54588         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54589         code.
54590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54591         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54592         conditional code.
54593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
54594         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54595         code unconditional.
54596         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54597         conditional code.
54598         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54599         unconditional.
54600         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54601         conditional code.
54602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54603         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54604         unconditional.
54605         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54606         conditional code.
54607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
54608         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54609         code unconditional.
54610         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54611         conditional code.
54612         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54613         unconditional.
54614         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54615         conditional code.
54616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
54617         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54618         code unconditional.
54619         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54620         conditional code.
54621         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54622         unconditional.
54623         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54624         conditional code.
54626 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
54628         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
54629         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
54630         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
54631         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
54632         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
54633         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
54634         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
54635         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
54636         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
54637         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
54638         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
54639         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
54640         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
54641         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
54642         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
54643         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
54644         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
54645         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
54646         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
54647         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
54648         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
54649         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
54650         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54652 2012-07-25  Florian Weimer  <fweimer@redhat.com>
54654         * Versions.def: Add GLIBC_2.17.
54655         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
54656         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
54657         Introduce __libc_secure_getenv.
54658         * stdlib/Versions (2.17): Add secure_getenv
54659         (GLIBC_PRIVATE): Add __libc_secure_getenv.
54660         * stdlib/secure-getenv.c: Rename __secure_getenv to
54661         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
54662         symbol __secure_getenv for GLIBC_2.0.
54663         * stdlib/tst-secure-getenv.c: New.
54664         * stdlib/Makefile (tests): Add testcase.
54665         * manual/startup.texi (Environment Access): Document
54666         secure_getenv.
54667         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
54668         __libc_secure_getenv.
54669         * inet/ruserpass.c (ruserpass): Likewise.
54670         * malloc/mtrace.c (mtrace): Likewise.
54671         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
54672         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
54673         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
54674         * sysdeps/posix/tempname.c: Likewise.  Evaluate
54675         HAVE_SECURE_GETENV.
54676         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
54677         __secure_getenv to __libc_secure_getenv.
54678         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
54679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54680         Likewise.
54681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54682         Likewise.
54683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54685         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54691 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54693         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
54694         (struct La_i86_retval): Likewise.
54695         (struct La_x86_64_regs): Likewise.
54696         (struct La_x86_64_retval): Likewise.
54697         (struct La_x32_regs): Likewise.
54698         (struct La_x32_retval): Likewise.
54699         (struct La_ppc32_regs): Likewise.
54700         (struct La_ppc32_retval): Likewise.
54701         (struct La_ppc64_regs): Likewise.
54702         (struct La_ppc64_retval): Likewise.
54703         (struct La_sh_regs): Likewise.
54704         (struct La_sh_retval): Likewise.
54705         (struct La_s390_32_regs): Likewise.
54706         (struct La_s390_32_retval): Likewise.
54707         (struct La_s390_64_regs): Likewise.
54708         (struct La_s390_64_retval): Likewise.
54709         (struct La_sparc32_regs): Likewise.
54710         (struct La_sparc32_retval): Likewise.
54711         (struct La_sparc64_regs): Likewise.
54712         (struct La_sparc64_retval): Likewise.
54713         (struct audit_ifaces): Remove architecture-specific pltenter and
54714         pltexit members.
54715         * sysdeps/i386/ldsodefs.h: New file.
54716         * sysdeps/powerpc/ldsodefs.h: Likewise.
54717         * sysdeps/s390/ldsodefs.h: Likewise.
54718         * sysdeps/sh/ldsodefs.h: Likewise.
54719         * sysdeps/sparc/ldsodefs.h: Likewise.
54720         * sysdeps/x86_64/ldsodefs.h: Likewise.
54722 2012-07-25  Marek Polacek  <polacek@redhat.com>
54724         [BZ #6808]
54725         * math/libm-test.inc (yn_test): Add another test.
54726         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
54727         to ERANGE when the result is +-Inf.
54728         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54729         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
54730         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
54731         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
54733 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
54735         * conform/data/time.h-data (NULL): Use macro-constant.  Require
54736         equal to 0.
54737         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
54738         clock_t.
54739         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
54741 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
54743         * configure.in <sysdeps resolving>: Correct printing
54744         Implies_before.
54745         * configure: Regenerate.
54747 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
54749         * math/w_ilogb.c: Include <limits.h>.
54750         * math/w_ilogbl.c: Likewise.
54752 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54754         * manual/lang.texi (__va_copy): Document primarily as ISO C99
54755         va_copy.  Document allowing for unavailable va_copy only as
54756         pre-C99 compatibility.
54757         * manual/string.texi (Copying and Concatenation): Use va_copy
54758         instead of __va_copy in concat example.
54760 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
54762         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
54763         (__sendto): Use create_address_port.  Initialize APORT and deallocate
54764         it if not null.
54766         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
54767         with O_NOLINK passed to __file_name_lookup.
54769         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
54770         with O_NOLINK passed to __file_name_lookup.
54772         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
54773         negative N or less than NGIDS.
54775         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
54776         type to string_t.  Set ERANGE as errno and return it if NAME is not big
54777         enough.  Use memcpy instead of strncpy.
54779 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54781         * elf/Makefile (check-data): Remove.
54782         (localplt.data): New vpath directive.
54783         ($(objpfx)check-localplt.out): Use localplt.data from vpath
54784         instead of $(check-data).
54785         * scripts/data/localplt-generic.data: Move to ...
54786         * sysdeps/generic/localplt.data: ... here.
54787         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
54788         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
54789         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
54790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
54791         ... here.
54792         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
54793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
54794         ... here.
54795         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
54796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
54797         ... here.
54798         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
54799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
54800         ... here.
54801         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
54802         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
54803         ... here.
54804         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
54805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
54806         ... here.
54808 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54810         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
54811         PPC32 and PPC64 files.
54812         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
54813         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
54815 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54817         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
54818         __makecontext_ret to ...
54819         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
54820         ... here and call exit if uc_link is NULL.  New file.
54821         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
54822         __makecontext_ret.S.
54823         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
54824         __makecontext_ret to ...
54825         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
54826         ... here and call exit if uc_link is NULL.  New file.
54827         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
54828         __makecontext_ret.S.
54830 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54832         * elf/elf.h (R_390_IRELATIVE): New definition.
54833         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
54834         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
54835         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
54836         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54837         (elf_machine_lazy_rel): Likewise.
54838         * sysdeps/s390/dl-irel.h: New file.
54839         * sysdeps/s390/s390-64/memcpy.S: New asm code.
54840         * sysdeps/s390/s390-64/memset.S: New asm code.
54841         * sysdeps/s390/s390-64/memcmp.S: New asm code.
54842         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
54843         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
54844         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
54845         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
54846         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
54847         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
54848         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
54849         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
54850         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
54851         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
54852         * sysdeps/s390/s390-32/memcpy.S: New asm code.
54853         * sysdeps/s390/s390-32/memset.S: New asm code.
54854         * sysdeps/s390/s390-32/memcmp.S: New asm code.
54856 2012-07-17  Marek Polacek  <polacek@redhat.com>
54858         [BZ #14349]
54859         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
54860         * sysdeps/s390/s390-64/configure.in: Likewise.
54861         * sysdeps/sparc/configure.in: Likewise.
54862         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
54863         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
54864         * sysdeps/i386/configure.in: Likewise.
54865         * sysdeps/x86_64/configure.in: Likewise.
54866         * sysdeps/sh/configure.in: Likewise.
54867         * sysdeps/s390/s390-32/configure: Regenerated.
54868         * sysdeps/s390/s390-64/configure: Likewise.
54869         * sysdeps/x86_64/configure: Likewise.
54870         * sysdeps/sh/configure: Likewise.
54871         * sysdeps/powerpc/powerpc64/configure: Likewise.
54872         * sysdeps/powerpc/powerpc32/configure: Likewise.
54873         * sysdeps/sparc/configure: Likwise.
54874         * sysdeps/i386/configure: Likewise.
54876         * elf/dl-open.c: Comment fixes.
54878 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
54880         * Makefile [CXX] (check-data): Remove.
54881         [CXX] (c++-types.data): New vpath directive.
54882         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
54883         vpath.  Do not allow for C++ type data being missing.
54884         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
54885         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
54886         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
54887         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
54888         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
54889         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
54890         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
54891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
54892         ... here.
54893         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
54894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
54895         ... here.
54896         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
54897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
54898         ... here.
54899         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
54900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
54901         ... here.
54902         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
54903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
54904         ... here.
54905         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
54906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
54907         ... here.
54908         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
54909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
54910         ... here.
54911         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
54912         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
54914         * elf/tls-macros.h (TLS_LE): Move architecture-specific
54915         definitions to architecture-specific files.
54916         (TLS_IE): Likewise.
54917         (TLS_LD): Likewise.
54918         (TLS_GD): Likewise.
54919         * sysdeps/i386/tls-macros.h: New file.
54920         * sysdeps/powerpc/tls-macros.h: Likewise.
54921         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
54922         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
54923         * sysdeps/sh/tls-macros.h: Likewise.
54924         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
54925         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
54926         * sysdeps/x86_64/tls-macros.h: Likewise.
54928 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54930         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
54931         zero value for regular exit case.
54933         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
54934         (__start_context): Preserve zero value for regular exit case.
54936 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54937             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54939         * manual/setjmp.texi (setcontext): Clarify normal process
54940         termination when uc_link is the null pointer.
54941         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
54942         exit call.
54944 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
54946         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
54947         preprocessor.  Test for each exception mask separately.
54949 2012-07-16  Andreas Jaeger  <aj@suse.de>
54951         * po/ru.po: Update from translation team.
54953 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
54955         * conform/data/string.h-data (NULL): Use macro-constant.  Require
54956         equal to 0.
54957         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54958         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54959         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
54960         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
54961         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54963 2012-07-13  Andreas Jaeger  <aj@suse.de>
54965         * po/fr.po: Update from translation team.
54967 2012-07-12  Marek Polacek  <polacek@redhat.com>
54969         [BZ #14173]
54970         * math/libm-test.inc (yn_test): Add test for BZ #14173.
54971         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
54972         loop condition.
54974 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
54976         [BZ #13717]
54977         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54978         Change to 2.4.1 where previously 2.4.0.
54979         * sysdeps/unix/sysv/linux/configure: Regenerated.
54980         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
54981         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
54982         version.
54983         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
54984         (__ASSUME_AT_CLKTCK): Remove.
54985         (__ASSUME_AT_PAGESIZE): Likewise.
54986         (__ASSUME_AT_XID): Likewise.
54987         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
54988         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
54989         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
54990         unconditionally.
54991         (HAVE_AUX_PAGESIZE): Likewise.
54992         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
54993         [__ASSUME_AT_CLKTCK]: Make code unconditional.
54994         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
54996 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
54998         [BZ #14307]
54999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
55000         the temporary buffer used to invoke __gethostbyname2_r,
55001         __gethostbyaddr_r and gethostbyname4_r to make room for struct
55002         host_data / struct gaih_addrtuple.
55003         * resolv/nss_dns/dns-host.c (global scope): Move definition of
55004         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
55005         header file nss/nsswitch.h.
55006         * nss/nsswitch.h (global scope): Add definition of implementation
55007         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
55008         resolv/nss_dns/dns-host.c).
55010 2012-07-11  Andreas Jaeger  <aj@suse.de>
55012         * po/fr.po: Update from translation team.
55014         * po/sv.po: Update from translation team
55015         * po/fr.po: Another update from translation team.
55017 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55019         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
55020         for subnormals or multiply small sinh result by itself.
55021         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55024 2012-07-11  David S. Miller  <davem@davemloft.net>
55026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55028 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
55030         [BZ #14347]
55031         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
55032         (INTERNAL_MARK): Shift it here.
55034 2012-07-10  Marek Polacek  <polacek@redhat.com>
55036         [BZ #14151]
55037         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
55038         libc_cv_asm_global_directive with .globl.
55039         * configure: Regenerated.
55040         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
55041         with .globl.
55042         * sysdeps/i386/configure: Regenerated.
55043         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
55044         with .globl.
55045         * sysdeps/x86_64/configure: Regenerated.
55046         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
55047         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
55048         * elf/tst-unique2mod2.c: Likewise.
55049         * elf/tst-unique2mod1.c: Likewise.
55050         * elf/tst-unique1mod2.c: Likewise.
55051         * elf/tst-unique1mod1.c: Likewise.
55052         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55053         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55054         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55055         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55056         * sysdeps/mach/sysdep.h: Likewise.
55057         * sysdeps/i386/sysdep.h: Likewise.
55058         * sysdeps/i386/i386-mcount.S: Likewise.
55059         * sysdeps/x86_64/_mcount.S: Likewise.
55060         * sysdeps/x86_64/sysdep.h: Likewise.
55061         * sysdeps/sh/_mcount.S: Likewise.
55062         * sysdeps/sh/sysdep.h: Likewise.
55063         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
55064         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
55065         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
55066         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55067         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
55068         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
55069         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
55070         * locale/localeinfo.h: Likewise.
55071         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
55072         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
55074 2012-07-09  Roland McGrath  <roland@hack.frob.com>
55076         [BZ #14336]
55077         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
55078         system".
55079         * manual/message.texi (The Uniforum approach): Likewise.
55080         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
55081         (glibc iconv Implementation): Likewise.
55083 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
55085         [BZ #14337]
55086         * math/s_clog.c (__clog): Avoid scaling a value down where that
55087         could result in underflow.
55088         * math/s_clog10.c (__clog10): Likewise.
55089         * math/s_clog10f.c (__clog10f): Likewise.
55090         * math/s_clog10l.c (__clog10l): Likewise.
55091         * math/s_clogf.c (__clogf): Likewise.
55092         * math/s_clogl.c (__clogl): Likewise.
55093         * math/libm-test.inc (clog_test): Add more tests.
55094         (clog10_test): Likewise.
55095         * sysdeps/i386/fpu/libm-test-ulps: Update.
55096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55098 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
55100         [BZ #14283]
55101         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
55102         by 7 not 8 to examine high bit of fractional part.
55104         [BZ #14042]
55105         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
55106         for call to __mcount_internal.
55107         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
55108         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
55109         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
55111 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
55113         [BZ #14154]
55114         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
55115         approximation for values within 0x1p-13f of an odd multiple of
55116         pi/4.
55117         * math/libm-test.inc (tan_test): Do not allow spurious underflow
55118         exception.  Add more tests.
55119         * sysdeps/i386/fpu/libm-test-ulps: Update.
55121         [BZ #6778]
55122         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
55123         inputs and return -1 for them.  Do not check for +Inf in case not
55124         reachable for +Inf.
55125         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55126         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
55127         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55128         and return -1 for them.  Do not check for +Inf in case not
55129         reachable for +Inf.
55130         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
55131         define.
55132         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55133         and return -1 for them.  Do not check for +Inf in case not
55134         reachable for +Inf.
55135         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
55136         spurious underflow.
55137         * sysdeps/i386/fpu/libm-test-ulps: Update.
55138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55140 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
55142         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
55144 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
55146         [BZ #14157]
55147         [BZ #14331]
55148         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
55149         could result in spurious underflow.  Scale down values above
55150         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
55151         * math/s_csqrtf.c (__csqrtf): Likewise.
55152         * math/s_csqrtl.c (__csqrtl): Likewise.
55153         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
55154         spurious underflow.
55155         * sysdeps/i386/fpu/libm-test-ulps: Update.
55156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55158 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
55160         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
55161         xopen-msg.sed.
55162         * catgets/xopen-msg.awk: New file.
55163         * catgets/xopen-msg.sed: Removed.
55165         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
55166         po2text.sed.
55167         * intl/po2test.awk: New file.
55168         * intl/po2test.sed: Removed.
55170 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
55172         [BZ #14328]
55173         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
55174         or multiply small sinh result by itself.
55175         * math/s_ctanf.c (__ctanf): Likewise.
55176         * math/s_ctanh.c (__ctanh): Likewise.
55177         * math/s_ctanhf.c (__ctanhf): Likewise.
55178         * math/s_ctanhl.c (__ctanhl): Likewise.
55179         * math/s_ctanl.c (__ctanl): Likewise.
55180         * math/libm-test.inc (ctan_test_tonearest): New function.
55181         (ctan_test_towardzero): Likewise.
55182         (ctan_test_downward): Likewise.
55183         (ctan_test_upward): Likewise.
55184         (ctanh_test_tonearest): Likewise.
55185         (ctanh_test_towardzero): Likewise.
55186         (ctanh_test_downward): Likewise.
55187         (ctanh_test_upward): Likewise.
55188         (main): Call these new functions.
55189         * sysdeps/i386/fpu/libm-test-ulps: Update.
55190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55192 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
55194         * .gitignore: Delete /ports entry.
55196 2012-07-03  Andreas Jaeger  <aj@suse.de>
55198         * po/bg.po: Update from translation team.
55199         * po/cs.po: Likewise.
55200         * po/de.po: Likewise.
55201         * po/hr.po: Likewise.
55202         * po/nl.pl: Likewise.
55203         * po/pl.po: Likewise.
55204         * po/vi.po: Likewise.
55206 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
55208         * Makeconfig [!+link] (+link-before-libc): New variable.
55209         [!+link] (+link-after-libc): Likewise.
55210         [!+link] (+link-tests): Likewise.
55211         [!+link] (+link): Define in terms of $(+link-before-libc) and
55212         $(+link-after-libc).
55213         [!+link-static] (+link-static-before-libc): New variable.
55214         [!+link-static] (+link-static-after-libc): Likewise.
55215         [!+link-static] (+link-static-tests): Likewise.
55216         [!+link-static] (+link-static): Define in terms of
55217         $(+link-static-before-libc) and $(+link-static-after-libc).
55218         [build-shared] (link-libc-before-gnulib): New variable.
55219         [build-shared] (link-libc-tests): Likewise.
55220         [build-shared] (link-libc): Define in terms of
55221         $(link-libc-before-gnulib).
55222         [!build-shared] (link-libc-tests): New variable.
55223         (link-libc-static-tests): New variable.
55224         [!gnulib] (gnulib-arch): New variable.
55225         [!gnulib] (gnulib-tests): Likewise.
55226         [!gnulib] (static-gnulib-arch): Likewise.
55227         [!gnulib] (static-gnulib-tests): Likewise.
55228         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
55229         Define with "=" instead of ":=".
55230         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
55231         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
55232         * Rules (binaries-all-notests): New variable.
55233         (binaries-all-tests): Likewise.
55234         (binaries-static-notests): Likewise.
55235         (binaries-static-tests): Likewise.
55236         (binaries-all): Define using $(binaries-all-notests) and
55237         $(binaries-all-tests).
55238         (binaries-static): Define using $(binaries-static-notests) and
55239         $(binaries-static-tests).
55240         (binaries-shared-tests): New variable.
55241         (binaries-shared-notests): Likewise.
55242         (binaries-shared): Remove variable.
55243         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
55244         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
55245         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
55246         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
55247         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
55248         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
55249         * elf/Makefile (sln-modules): New variable.
55250         (extra-objs): Add $(sln-modules:=.o).
55251         (ldconfig-modules): Add static-stubs.
55252         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
55253         * elf/static-stubs.c: New file.
55255         [BZ #14283]
55256         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
55257         by 7 not 8 to examine high bit of fractional part.  Use volatile
55258         variables when splitting into final array of floats if
55259         __FLT_EVAL_METHOD__ != 0.
55260         * math/libm-test.inc (cos_test): Add another test.
55261         (sin_test): Likewise.
55262         * sysdeps/i386/fpu/libm-test-ulps: Update.
55264         [BZ #14273]
55265         * math/libm-test.inc (cosh_test): Add more tests.
55267         * version.h (RELEASE): Set to "development".
55268         (VERSION): Set to "2.16.90".
55270 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
55272         * NEWS: Update copyright. Remove last-updated date.
55273         Mention math library bug fixes and timezone data changes.
55274         * README: Mention GNU/Hurd, x32, and HPPA support status.
55276 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
55278         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
55280 2012-06-27  Andreas Jaeger  <aj@suse.de>
55282         * manual/contrib.texi (Contributors): Add Samuel Thibault.
55284 2012-06-25  Andreas Jaeger  <aj@suse.de>
55286         * sysdeps/s390/fpu/libm-test-ulps: Update.
55288 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
55289             Thomas Schwinge  <thomas@codesourcery.com>
55291         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
55292         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
55293         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
55294         fanotify_mark.
55296 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
55298         * sysdeps/mach/start.c: Remove file.
55299         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
55300         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
55301         * sysdeps/sh/init-first.c: Likewise.
55303         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
55304         registers for frame unwinding purposes, add CFI directives.
55305         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55306         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
55307         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
55308         Likewise.
55310         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
55311         __fortify_fail returning.
55312         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55314         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
55315         sysdeps/sh/____longjmp_chk.S.
55316         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
55317         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
55318         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
55319         (gen-as-const-headers): Append sigaltstack-offsets.sym.
55321         * sysdeps/sh/abort-instr.h: New file.
55322         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
55323         process in case exit returns.
55325         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
55326         initialize the GOT register before use.
55328         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
55329         calculation of ARGC > 4.
55331         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
55332         meaningful names to some local labels.
55334 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55335             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55337         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
55338         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
55339         (__arch_compare_and_exchange_val_16_acq): Likewise.
55340         (__arch_compare_and_exchange_val_32_acq): Likewise.
55341         (atomic_exchange_and_add): Fix gUSA sequence.
55342         (atomic_add): Likewise.
55343         (atomic_add_negative): Likewise.
55344         (atomic_add_zero): Likewise.
55345         (atomic_bit_test_set): Likewise.
55347 2012-06-22  Andreas Schwab  <schwab@redhat.com>
55349         [BZ #13579]
55350         * include/link.h (struct link_map): Add l_free_initfini.
55351         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
55352         l_initfini.
55353         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
55354         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
55355         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
55356         set.
55358 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
55360         * configure.in: Use AC_LANG_SOURCE.
55361         * configure: Regenerate.
55363 2012-06-22  Roland McGrath  <roland@hack.frob.com>
55365         * configure.in (libc_cv_localstatedir): New substituted variable.
55366         * configure: Regenerated.
55367         * config.make.in (localstatedir): New variable, substituted from
55368         libc_cv_localstatedir.
55369         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
55370         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
55371         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
55372         * sysdeps/gnu/configure: Regenerated.
55374 2012-06-21  Jeff Law  <law@redhat.com>
55376         [BZ #14277]
55377         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
55378         free.  Simplify list management for _LIBC case.
55380 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
55382         [BZ #14273]
55383         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
55384         Clear sign bit of 64-bit integer value before comparing against
55385         overflow value.
55387         * sysdeps/mach/configure: Regenerated.
55389 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
55391         [BZ #14278]
55392         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
55394 2012-06-21  Jeff Law  <law@redhat.com>
55396         [BZ #13882]
55397         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
55398         uint16_t for elements in the "seen" array to avoid char overflows.
55399         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55400         * elf/dl-open.c (dl_open_worker): Likewise.
55402 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
55404         * scripts/list-sources.sh: Scan PORTS for translations.
55405         * po/libc.pot: Regenerated.
55407 2012-06-21  Andreas Jaeger  <aj@suse.de>
55409         [BZ #12194]
55410         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
55411         warning.
55412         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
55413         * bits/byteswap-16.h (__bswap_16): Likewise.
55414         * bits/byteswap.h (__bswap_constant_16): Likewise.
55416 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
55418         [BZ #14117]
55419         * sysdeps/i386/fpu_control.h: Removed.
55420         * sysdeps/x86_64/fpu_control.h: Moved to ...
55421         * sysdeps/x86/fpu_control.h: Here.
55423         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
55424         (_FPU_SETCW): Likewise.
55426 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
55428         [BZ #14117]
55429         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
55430         * sysdeps/x86/fpu/bits/mathinline.h: This.
55431         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
55433         [BZ #14050]
55434         [BZ #14117]
55435         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
55436         functions if __x86_64__ is defined.
55438 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
55440         * string/endian.h: Add !__ASSEMBLER__ condition for including
55441         conversion interfaces.
55443 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
55445         [BZ #14241]
55446         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
55447         of ABS(x) in calculating zero to negative powers other than odd
55448         integers.
55449         * math/libm-test.inc (pow_test): Add more tests.
55451 2012-06-15  Andreas Jaeger  <aj@suse.de>
55453         * manual/contrib.texi (Contributors): Update entry of Liubov
55454         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
55455         Machado Filho.
55457 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
55459         * string/string.h: Add __wur to GNU version of strerror_r.
55461 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
55463         [BZ #14229]
55464         * string/Makefile (tests): Add tst-strtok_r.
55465         * string/tst-strtok_r.c: New file.
55466         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
55467         RAX_LP/RDX_LP on SAVE_PTR.
55469 2012-06-14  Roland McGrath  <roland@hack.frob.com>
55471         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
55473 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
55475         * libm_test.inc (csqrt_test): Allow more spurious underflow
55476         exceptions.
55477         (j0_test): Likewise.
55478         (j1_test): Likewise.
55479         (y0_test): Likewise.
55480         (y1_test): Likewise.
55482 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
55484         * po/Makefile (libc.pot): Use UTF-8 charset.
55486 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
55488         [BZ #14210]
55489         Suppress sign-conversion warning from FD_SET.
55490         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
55491         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
55492         not unsigned long int.
55493         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
55495 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
55497         [BZ #14050]
55498         [BZ #14117]
55499         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
55500         __extern_always_inline instead of __extern_inline.
55501         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
55502         (__signbit): Likewise.
55503         (__signbitl): Support C++ namespace.
55504         (lrintf): New inline function.
55505         (lrint): Likewise.
55506         (llrintf): Likewise.
55507         (llrint): Likewise.
55508         (fmaxf): Likewise.
55509         (fmax): Likewise.
55510         (fminf): Likewise.
55511         (fmin): Likewise.
55512         (rint): Likewise.
55513         (rintf): Likewise.
55514         (ceil): Likewise.
55515         (ceilf): Likewise.
55516         (floor): Likewise.
55517         (floorf): Likewise.
55518         (nearbyint): Likewise.
55519         (nearbyintf): Likewise.
55521 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
55523         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
55524         non-default versions.
55526 2012-06-11  Roland McGrath  <roland@hack.frob.com>
55528         [BZ #14218]
55529         * manual/argp.texi (Argp): Reword argp_parse description slightly.
55531 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
55533         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
55534         (FE_UPWARD, FE_DOWNWARD): Don't define.
55535         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
55536         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55538         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
55539         reading it.
55540         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55541         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55543 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55545         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
55546         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
55547         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
55548         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
55550 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
55552         [BZ #14117]
55553         * sysdeps/i386/fpu/bits/fenv.h: Removed.
55554         * sysdeps/i386/fpu/Implies: New file.
55555         * sysdeps/x86_64/fpu/Implies: Likewise.
55556         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
55557         * sysdeps/x86/fpu/bits/fenv.h: This.
55559         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
55560         __SSE_MATH__.
55562 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55564         [BZ #14134]
55565         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
55566         character 0xffff that matches the last element of the
55567         conversion table.
55569 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55571         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
55572         fmodl commit.
55574 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55576         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
55577         values higher than 25.6283.
55579 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55581         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
55582         subnormal exponent extraction and add some __builtin_expect.
55583         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
55584         Fix for subnormal mantissa calculation.
55586 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
55588         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
55589         cpu2 is -1 and errno is not ENOSYS.
55591 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
55593         [BZ #14117]
55594         * sysdeps/i386/i486/bits/string.h: Renamed to ...
55595         * sysdeps/x86/bits/string.h: This.
55596         * sysdeps/x86_64/bits/string.h: Removed.
55598         * sysdeps/i386/i486/bits/string.h: Define inline functions only
55599         if not compiling for x86-64, but compiling for >= i486.
55601         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
55602         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
55604         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
55605         New macro from Linux kernel 3.4.0.
55606         (FP_XSTATE_MAGIC2): Likewise.
55607         (FP_XSTATE_MAGIC2_SIZE): Likewise.
55608         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
55609         (struct _fpx_sw_bytes): New struct.
55610         (struct _xsave_hdr): Likewise.
55611         (struct _ymmh_state): Likewise.
55612         (struct _xstate): Likewise.
55614         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
55615         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
55616         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
55617         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
55618         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
55619         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
55621         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
55622         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
55623         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
55624         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
55625         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
55626         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
55628 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55630         [BZ #13743]
55631         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
55632         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
55633         (sysdep_headers): Include sys/platform/ppc.h.
55634         * sysdeps/powerpc/test-gettimebase.c: Test for
55635         __ppc_get_timebase() to catch future ISA opcode/insn changes.
55636         * manual/Makefile (appendices): Include platform.texi.
55637         * manual/contrib.texi (Contributors): Update @node pointers.
55638         * manual/maint.texi (Maintenance): Likewise.
55639         (Platform): New node.
55640         * manual/platform.texi: New file.  Document the new features.
55642 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55643             Jakub Jelinek  <jakub@redhat.com>
55645         [BZ #14188]
55646         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
55647         where __builtin_expect is unavailable.
55649 2012-06-03  David S. Miller  <davem@davemloft.net>
55651         * stdlib/longlong.h: Updated from GCC.
55653 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
55655         [BZ #14042]
55656         * sysdeps/powerpc/powerpc32/mcount.c: New file.
55657         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
55658         __mcount_internal.
55659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55660         (GLIBC_2.16): Likewise.
55662 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55664         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
55666 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
55669         (default-abi): New variable.
55670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
55671         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
55672         variable.
55673         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
55674         Likewise.
55675         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
55676         Likewise.
55677         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
55678         Likewise.
55680         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
55681         definition.  Document in comment.
55683 2012-06-01  David S. Miller  <davem@davemloft.net>
55685         * stdlib/longlong.h: Updated from GCC.
55687 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55689         [BZ #14117]
55690         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
55691         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
55692         sys/debugreg.h sys/io.h here.
55693         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
55694         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
55695         sys/io.h.
55696         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
55697         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
55698         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
55699         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
55700         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
55701         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
55703         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
55704         Define only if __x86_64__ is defined.
55706 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55708         [BZ #14048]
55709         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
55710         Use int64_t for variable i.
55711         * math/libm-test.inc (fmod_test): Add more tests.
55713         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
55714         z computation is not scheduled after fetestexcept.
55715         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
55716         Use math_force_eval instead of asm to ensure calculation scheduled
55717         before exception test.
55718         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
55719         Ensure a1 + u.d computation is not scheduled after fetestexcept.
55721 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
55723         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
55724         computation is not scheduled after fetestexcept.
55726 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55728         [BZ #14117]
55729         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
55730         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
55732 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55734         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
55735         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55737 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55739         [BZ #14117]
55740         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
55741         <bits/wordsize.h>.
55742         (__WCHAR_MIN): Support __WORDSIZE == 64.
55743         (__WCHAR_MAX): Likewise.
55745         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
55746         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
55748         [BZ #14183]
55749         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
55750         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
55752         [BZ #14117]
55753         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
55754         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
55756         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
55757         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
55759         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
55760         Defined to 1 if __x86_64__ isn't defined.
55761         (_STAT_VER_LINUX_OLD): New.
55762         (st_atime): Remove duplicate.
55763         (st_mtime): Likewise.
55764         (st_ctime): Likewise.
55766 2012-05-31  David S. Miller  <davem@davemloft.net>
55768         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
55769         entries.
55771 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
55773         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
55774         gen-libm-test.pl.
55776         [BZ #14132]
55777         * elf/dl-reloc.c: Include <_itoa.h>.
55778         (_dl_reloc_bad_type): Remove use of INTUSE.
55779         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
55780         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
55781         * stdio-common/psiginfo.c (psiginfo): Likewise.
55782         * stdio-common/psignal.c (psignal): Likewise.
55783         * string/strsignal.c (strsignal): Likewise.
55784         * include/signal.h (_sys_siglist): Declare hidden proto.
55785         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
55786         INTVARDEF with libc_hidden_data_def.
55787         * stdio-common/itoa-udigits.c: Likewise.
55788         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
55789         (_itoa_lower_digits_internal): Remove declaration.
55790         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
55791         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
55792         (_sys_sigabbrev_internal): Remove aliases.
55793         (_sys_siglist): Define hidden alias.
55795 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
55797         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55798         bits/sysctl.h.
55800 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55802         [BZ #14117]
55803         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
55804         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
55806         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
55807         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
55808         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
55809         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
55810         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
55811         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
55813         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
55814         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
55815         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
55817         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
55818         with __addr.
55819         (insw): Likewise.
55820         (insl): Likewise.
55821         (outsb): Likewise.
55822         (outsw): Likewise.
55823         (outsl): Likewise.
55825         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
55826         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
55827         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
55829         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
55830         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
55831         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
55832         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
55833         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
55834         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
55836         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
55837         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
55839         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
55840         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
55842         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
55843         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
55844         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
55846         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
55847         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
55848         to ...
55849         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
55851         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
55852         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
55853         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
55855         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
55856         for x86-64.
55857         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
55859 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
55861         * math/math.h (M_El): Use two more decimal places.
55862         (M_LOG2El): Likewise.
55863         (M_LOG10El): Likewise.
55864         (M_LN2l): Likewise.
55865         (M_LN10l): Likewise.
55866         (M_PIl): Likewise.
55867         (M_PI_2l): Likewise.
55868         (M_PI_4l): Likewise.
55869         (M_1_PIl): Likewise.
55870         (M_2_PIl): Likewise.
55871         (M_2_SQRTPIl): Likewise.
55872         (M_SQRT2l): Likewise.
55873         (M_SQRT1_2l): Likewise.
55875 2012-05-31  David S. Miller  <davem@davemloft.net>
55877         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
55878         values between float registers.
55879         * sysdeps/sparc/sparc64/memset.S: Likewise.
55880         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55882 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
55884         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
55885         -D_FORTIFY_SOURCE=1.
55886         (CPPFLAGS-tst-longjmp_chk.c): Define.
55887         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
55888         (CPPFLAGS-tst-longjmp_chk2.c): Define.
55889         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
55890         CFLAGS-tst-wchar-h.c.
55892 2012-05-31  Marek Polacek  <polacek@redhat.com>
55894         [BZ #14132]
55895         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
55896         __endmntent_internal): Remove declaration.
55897         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
55898         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
55899         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
55901 2012-05-30  David S. Miller  <davem@davemloft.net>
55903         * sysdeps/sparc/sparc32/soft-fp/q_util.c
55904         (___Q_simulate_exceptions): Use real FP ops rather than writing
55905         into the %fsr.
55906         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
55907         Likewise.
55909 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55911         [BZ #14117]
55912         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
55913         * sysdeps/x86/bits/xtitypes.h: This.
55915         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
55916         * sysdeps/x86/bits/wordsize.h: This.
55918         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
55919         * sysdeps/x86/bits/huge_vall.h: This.
55921         * sysdeps/i386/bits/select.h: Removed.
55922         * sysdeps/x86_64/bits/select.h: Renamed to ...
55923         * sysdeps/x86/bits/select.h: This.
55925         * sysdeps/i386/bits/setjmp.h: Removed.
55926         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
55927         * sysdeps/x86/bits/setjmp.h: This.
55929         * sysdeps/i386/bits/mathdef.h: Removed.
55930         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
55931         * sysdeps/x86/bits/mathdef.h: This.
55933 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
55935         [BZ #14132]
55936         * include/sys/socket.h (__connect_internal)
55937         (__libc_sa_len_internal): Remove declaration.
55938         (__connect, __libc_sa_len): Declare hidden_proto.
55939         (SA_LEN): Remove use of INTUSE.
55940         * socket/connect.c: Add libc_hidden_def.
55941         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
55942         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
55943         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
55944         alias.
55945         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
55946         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
55947         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
55948         of adding _internal alias.
55950 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55952         [BZ #14117]
55953         * sysdeps/i386/bits/link.h: Removed.
55954         * sysdeps/i386/bits/linkmap.h: Likewise.
55955         * sysdeps/x86_64/bits/link.h: Renamed to ...
55956         * sysdeps/x86/bits/link.h: This.
55957         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
55958         * sysdeps/x86/bits/linkmap.h: This.
55960         * sysdeps/i386/bits/endian.h: Removed.
55961         * sysdeps/x86_64/bits/endian.h: Renamed to ...
55962         * sysdeps/x86/bits/endian.h: This.
55964         * sysdeps/i386/bits/byteswap.h: Removed.
55965         * sysdeps/i386/bits/byteswap-16.h: Likewise.
55966         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
55967         * sysdeps/x86/bits/byteswap.h: This.
55968         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
55969         * sysdeps/x86/bits/byteswap-16.h: This.
55970         * sysdeps/i386/Implies: Add x86.
55971         * sysdeps/x86_64/Implies: Likewise.
55973 2012-05-30  David S. Miller  <davem@davemloft.net>
55975         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
55976         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
55977         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55978         (FP_TRAPPING_EXCEPTIONS): Define.
55979         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55980         (FP_TRAPPING_EXCEPTIONS): Define.
55981         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
55982         subnormals only when inexact has been signalled or underflow
55983         exceptions are enabled.
55984         (_FP_PACK_CANONICAL): Likewise.
55986 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55988         [BZ #14183]
55989         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
55990         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
55992 2012-05-30  Richard Henderson  <rth@twiddle.net>
55994         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
55995         with #ifndef NOT_IN_libc.
55997         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
55998         marked to avoid plt entry.
56000 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
56002         [BZ #14112]
56003         * Makeconfig (default-abi): New macro.
56004         (abi-includes): Likewise.
56005         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
56006         $(abi-$(default-abi)-lib-soname) for soname if defined.
56007         ($(common-objpfx)gnu/lib-names.stmp): Generate from
56008         abi-variants.
56009         * Makefile (installed-stubs): Likewise.
56010         * include/stubs-biarch.h: Removed.
56011         * scripts/lib-names.awk: Only handle one library at a time.
56012         * scripts/soversions.awk: Remove WORDSIZE support.
56013         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
56014         entries.
56015         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
56016         Removed.
56017         (syscall-list-default-condition): Likewise.
56018         (syscall-list-default-condition): Likewise.
56019         (syscall-list-includes): Likewise.
56020         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
56021         syscall-list-* with abi-*.  Handle undefined abi-variants.
56022         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
56023         * sysdeps/unix/sysv/linux/i386/Implies: New file.
56024         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
56025         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
56026         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
56027         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
56028         Removed.
56029         (syscall-list-32-options): Likewise.
56030         (syscall-list-32-condition): Likewise.
56031         (syscall-list-64-options): Likewise.
56032         (syscall-list-64-condition): Likewise.
56033         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
56034         macro.
56035         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
56036         Renamed to ...
56037         (abi-*): This.
56038         (abi-64-ld-soname): New macro.
56039         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
56040         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
56041         Renamed to ...
56042         (abi-*): This.
56043         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
56044         * sysdeps/x86_64/x32/shlib-versions: Likewise.
56046 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
56048         * sysdeps/unix/sysv/linux/kernel-features.h
56049         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
56050         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
56051         include <kernel-features.h>.
56052         [!__NR_ftruncate64]: Remove conditional code.
56053         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56054         [__NR_ftruncate64]: Make code unconditional.
56055         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56056         * sysdeps/unix/sysv/linux/truncate64.c: Do not
56057         include <kernel-features.h>.
56058         [!__NR_ftruncate64]: Remove conditional code.
56059         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56060         [__NR_ftruncate64]: Make code unconditional.
56061         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
56063         include <kernel-features.h>.
56064         [!__NR_ftruncate64]: Remove conditional code.
56065         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56066         [__NR_ftruncate64]: Make code unconditional.
56067         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56069         include <kernel-features.h>.
56070         [!__NR_ftruncate64]: Remove conditional code.
56071         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56072         [__NR_ftruncate64]: Make code unconditional.
56073         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56075         * configure.in (libc_cv_fpie): Weaken to a compile test using
56076         LIBC_TRY_CC_OPTION.
56077         * configure: Regenerated.
56079 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
56082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
56083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
56084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56085         Refreshed.
56086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
56087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
56088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
56089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
56090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
56091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56092         Refreshed.
56094 2012-05-27  David S. Miller  <davem@davemloft.net>
56096         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
56097         (___Q_zero): New.
56098         (__Q_simulate_exceptions): Return void.  Change to simulate
56099         exceptions by writing into the %fsr.
56100         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
56101         (__Qp_handle_exceptions): Likewise.
56102         (numbers): Delete.
56103         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
56104         __Qp_handle_exceptions.
56105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
56106         __Qp_handle_exceptions.
56107         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56108         as unused and give dummy FP_RND_NEAREST initializer.
56109         (FP_INHIBIT_RESULTS): Define.
56110         (___Q_simulate_exceptions): Update declaration.
56111         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
56112         formatting.
56113         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56114         as unused and give dummy FP_RND_NEAREST initializer.
56115         (__Qp_handle_exceptions): Update declaration.
56116         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
56117         formatting.
56119 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
56121         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
56122         the temporary FPU control word.
56123         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
56124         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
56125         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
56126         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56127         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56128         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
56129         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
56130         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56131         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
56132         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
56133         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56135 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56137         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
56138         fields.
56140 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
56142         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
56143         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
56144         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
56145         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
56146         Likewise.
56147         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
56148         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
56149         Likewise.
56151 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
56153         * po/h.po: Update from translation team.
56155 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
56157         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
56159         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
56160         handling of denormals.
56161         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56162         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56163         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56164         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56165         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56166         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
56167         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
56168         Likewise.
56170 2012-05-26  Marek Polacek  <polacek@redhat.com>
56172         [BZ #14152]
56173         * math/libm-test.inc (fma_test): Don't always expect underflow
56174         exception.
56176 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56178         [BZ #12416]
56179         * elf/tst-execstack.c: Include stackinfo.h.
56180         (do_test): Adjust test case to ensure that pthread_getattr_np
56181         behaviour remains the same after marking stack executable.
56183 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56185         * sysdeps/unix/sysv/linux/kernel-features.h
56186         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
56187         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
56188         kernel-features.h.
56189         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56190         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56191         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
56192         kernel-features.h.
56193         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56194         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56196 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
56198         * configure.in: Define the default includes to being none.
56199         * configure: Regenerated.
56201 2012-05-25  Roland McGrath  <roland@hack.frob.com>
56203         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
56204         * sysdeps/x86_64/setjmp.S: Likewise.
56205         * sysdeps/i386/bsd-setjmp.S: Likewise.
56206         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56207         * sysdeps/i386/setjmp.S: Likewise.
56208         * sysdeps/i386/__longjmp.S: Likewise.
56209         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56210         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
56212         * include/stap-probe.h: New file.
56213         * configure.in: Handle --enable-systemtap.
56214         * configure: Regenerated.
56215         * config.h.in (USE_STAP_PROBE): New #undef.
56216         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
56217         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
56218         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
56220 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
56222         [BZ #13717]
56223         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56224         to 2.4.0 where earlier.
56225         * sysdeps/unix/sysv/linux/configure: Regenerated.
56226         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56227         <kernel-features.h>.
56228         [__ASSUME_32BITUIDS]: Make code unconditional.
56229         [!__ASSUME_32BITUIDS]: Remove conditional code.
56230         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
56231         <kernel-features.h>.
56232         [__ASSUME_32BITUIDS]: Make code unconditional.
56233         [!__ASSUME_32BITUIDS]: Remove conditional code.
56234         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
56235         [__ASSUME_32BITUIDS]: Make code unconditional.
56236         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
56237         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
56238         <kernel-features.h>.
56239         [__ASSUME_32BITUIDS]: Make code unconditional.
56240         [!__ASSUME_32BITUIDS]: Remove conditional code.
56241         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
56242         <kernel-features.h>.
56243         [__ASSUME_32BITUIDS]: Make code unconditional.
56244         [!__ASSUME_32BITUIDS]: Remove conditional code.
56245         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
56246         <kernel-features.h>.
56247         [__ASSUME_32BITUIDS]: Make code unconditional.
56248         [!__ASSUME_32BITUIDS]: Remove conditional code.
56249         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
56250         <kernel-features.h>.
56251         [__ASSUME_32BITUIDS]: Make code unconditional.
56252         [!__ASSUME_32BITUIDS]: Remove conditional code.
56253         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56254         <kernel-features.h>.
56255         [__ASSUME_32BITUIDS]: Make code unconditional.
56256         [!__ASSUME_32BITUIDS]: Remove conditional code.
56257         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56258         <kernel-features.h>.
56259         [__ASSUME_32BITUIDS]: Make code unconditional.
56260         [!__ASSUME_32BITUIDS]: Remove conditional code.
56261         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
56262         <kernel-features.h>.
56263         [__ASSUME_32BITUIDS]: Make code unconditional.
56264         [!__ASSUME_32BITUIDS]: Remove conditional code.
56265         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56266         <kernel-features.h>.
56267         [__ASSUME_32BITUIDS]: Make code unconditional.
56268         [!__ASSUME_32BITUIDS]: Remove conditional code.
56269         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56270         <kernel-features.h>.
56271         [__ASSUME_32BITUIDS]: Make code unconditional.
56272         [!__ASSUME_32BITUIDS]: Remove conditional code.
56273         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
56274         <kernel-features.h>.
56275         [__ASSUME_32BITUIDS]: Make code unconditional.
56276         [!__ASSUME_32BITUIDS]: Remove conditional code.
56277         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
56278         <kernel-features.h>.
56279         [__NR_setresgid] (__setresgid): Do not declare.
56280         [__ASSUME_32BITUIDS]: Make code unconditional.
56281         [!__ASSUME_32BITUIDS]: Remove conditional code.
56282         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
56283         <kernel-features.h>.
56284         [__NR_setresuid] (__setresuid): Do not declare.
56285         [__ASSUME_32BITUIDS]: Make code unconditional.
56286         [!__ASSUME_32BITUIDS]: Remove conditional code.
56287         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
56288         <kernel-features.h>.
56289         [__ASSUME_32BITUIDS]: Make code unconditional.
56290         [!__ASSUME_32BITUIDS]: Remove conditional code.
56291         * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.c: Do not include
56300         <kernel-features.h>.
56301         [__ASSUME_32BITUIDS]: Make code unconditional.
56302         [!__ASSUME_32BITUIDS]: Remove conditional code.
56303         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
56304         <kernel-features.h>.
56305         [__ASSUME_32BITUIDS]: Make code unconditional.
56306         [!__ASSUME_32BITUIDS]: Remove conditional code.
56307         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
56308         <kernel-features.h>.
56309         [__ASSUME_32BITUIDS]: Make code unconditional.
56310         [!__ASSUME_32BITUIDS]: Remove conditional code.
56311         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
56312         <kernel-features.h>.
56313         [__ASSUME_32BITUIDS]: Make code unconditional.
56314         [!__ASSUME_32BITUIDS]: Remove conditional code.
56315         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
56316         <kernel-features.h>.
56317         [__ASSUME_32BITUIDS]: Make code unconditional.
56318         [!__ASSUME_32BITUIDS]: Remove conditional code.
56319         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
56320         <kernel-features.h>.
56321         [__ASSUME_32BITUIDS]: Make code unconditional.
56322         [!__ASSUME_32BITUIDS]: Remove conditional code.
56323         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56324         <kernel-features.h>.
56325         [__ASSUME_32BITUIDS]: Make code unconditional.
56326         [!__ASSUME_32BITUIDS]: Remove conditional code.
56327         * sysdeps/unix/sysv/linux/kernel-features.h
56328         (__ASSUME_SETRESUID_SYSCALL): Remove.
56329         (__ASSUME_SETRESGID_SYSCALL): Likewise.
56330         (__ASSUME_32BITUIDS): Likewise.
56331         (__ASSUME_LDT_WORKS): Likewise.
56332         (__ASSUME_O_DIRECTORY): Likewise.
56333         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
56334         architecture but not kernel version.
56335         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
56336         (__ASSUME_MMAP2_SYSCALL): Likewise.
56337         (__ASSUME_STAT64_SYSCALL): Likewise.
56338         (__ASSUME_IPC64): Likewise.
56339         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
56340         <kernel-features.h>.
56341         [__ASSUME_32BITUIDS]: Make code unconditional.
56342         [!__ASSUME_32BITUIDS]: Remove conditional code.
56343         * sysdeps/unix/sysv/linux/opendir.c: Do not include
56344         <kernel-features.h>.
56345         [__ASSUME_O_DIRECTORY]: Make code unconditional.
56346         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
56347         132096]: Remove conditional code.
56348         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
56349         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56350         <kernel-features.h>.
56351         [__ASSUME_32BITUIDS]: Make code unconditional.
56352         [!__ASSUME_32BITUIDS]: Remove conditional code.
56353         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56354         <kernel-features.h>.
56355         [__ASSUME_32BITUIDS]: Make code unconditional.
56356         [!__ASSUME_32BITUIDS]: Remove conditional code.
56357         * sysdeps/unix/sysv/linux/setegid.c: Do not include
56358         <kernel-features.h>.
56359         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
56360         unconditional.
56361         (__setresgid): Do not declare.
56362         [__ASSUME_32BITUIDS]: Make code unconditional.
56363         [!__ASSUME_32BITUIDS]: Remove conditional code.
56364         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
56365         <kernel-features.h>.
56366         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
56367         unconditional.
56368         (__setresuid): Do not declare.
56369         [__ASSUME_32BITUIDS]: Make code unconditional.
56370         [!__ASSUME_32BITUIDS]: Remove conditional code.
56371         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56372         <kernel-features.h>.
56373         [__ASSUME_32BITUIDS]: Make code unconditional.
56374         [!__ASSUME_32BITUIDS]: Remove conditional code.
56375         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
56376         <kernel-features.h>.
56377         [__ASSUME_32BITUIDS]: Make code unconditional.
56378         [!__ASSUME_32BITUIDS]: Remove conditional code.
56380 2012-05-25  Richard Henderson  <rth@twiddle.net>
56382         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
56383         dl_hwcap to ifunc resolver.
56384         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
56385         elf_ifunc_invoke.
56386         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
56387         dl_hwcap to ifunc resolver.
56388         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
56390 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56392         [BZ #14153]
56393         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
56394         for |x| <= 2**-26, not 2**-57.
56395         * math/libm-test.inc (acos_test): Do not allow spurious underflow
56396         exception.
56398 2012-05-24  Jeff Law  <law@redhat.com>
56400         * stdio-common/Makefile (tests): Add bug25.
56401         * stdio-common/bug25.c: New test.
56403 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56405         [BZ #13576]
56406         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
56407         multiple of MALLOC_ALIGNMENT in size.
56408         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
56410 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56412         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
56413         Require >= 256.
56414         (FILENAME_MAX): Use macro-int-constant.
56415         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
56416         (_IOFBF): Use macro-int-constant.
56417         (_IOLBF): Likewise.
56418         (_IONBF): Likewise.
56419         (SEEK_CUR): Likewise.
56420         (SEEK_END): Likewise.
56421         (SEEK_SET): Likewise.
56422         (TMP_MAX): Likewise.
56423         (EOF): Use macro-int-constant.  Require < 0.
56424         (NULL): Use macro-constant.  Require == 0.
56425         (stdin): Require type to be FILE *.
56426         (stdout): Likewise.
56427         (stderr): Likewise.
56428         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
56429         macro-int-constant.
56430         (EXIT_SUCCESS): Likewise.
56431         (NULL): Use macro-constant.  Require == 0.
56432         (RAND_MAX): Use macro-int-constant.
56433         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
56434         [C99-based standards] (strtof): Require function.
56435         [C99-based standards] (strtold): Likewise.
56436         [C99-based standards] (strtoll): Likewise.
56437         [C99-based standards] (strtoull): Likewise.
56438         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56439         [ISO || ISO99 || ISO11] (limits.h): Likewise.
56440         [ISO || ISO99 || ISO11] (math.h): Likewise.
56441         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
56442         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56443         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56445 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
56447         [BZ #14132]
56448         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
56449         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
56450         * intl/dgettext.c (DCGETTEXT): Likewise.
56451         * intl/gettext.c (DCGETTEXT): Likewise.
56452         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
56453         * posix/regex_internal.h (gettext): Likewise.
56454         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
56455         Remove declaration.
56456         * include/argz.h (__argz_count_internal)
56457         (__argz_stringify_internal): Remove declaration.
56458         (__argz_count, __argz_stringify): Declare hidden proto.
56459         * intl/dcgettext.c: Remove use of INTDEF.
56460         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
56461         * string/argz-stringify.c: Likewise.
56462         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56463         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56464         Declare hidden proto.
56465         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56466         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56467         Declare hidden proto.
56468         * include/stdio.h (__asprintf_internal): Don't declare.
56469         (__asprintf): Don't define as macro.  Declare hidden proto.
56470         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
56471         (__fsetlocking): Declare hidden proto.
56472         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
56473         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
56474         hidden proto.
56475         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
56476         (_IO_setlinebuf): Remove use of INTUSE.
56477         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
56478         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
56479         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
56480         Remove declaration.
56481         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
56482         (_IO_do_flush): Remove use of INTUSE.
56483         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
56484         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
56485         (_IO_adjust_column, _IO_least_wmarker)
56486         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
56487         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
56488         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
56489         (_IO_default_doallocate, _IO_wdefault_doallocate)
56490         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
56491         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
56492         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
56493         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
56494         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
56495         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
56496         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
56497         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
56498         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
56499         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
56500         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
56501         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
56502         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
56503         proto.
56504         (_IO_flush_all_internal, _IO_adjust_column_internal)
56505         (_IO_default_uflow_internal, _IO_default_finish_internal)
56506         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
56507         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
56508         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
56509         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
56510         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
56511         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
56512         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
56513         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
56514         (_IO_file_close_internal, _IO_file_close_it_internal)
56515         (_IO_file_underflow_internal, _IO_file_overflow_internal)
56516         (_IO_file_init_internal, _IO_file_attach_internal)
56517         (_IO_file_fopen_internal, _IO_file_read_internal)
56518         (_IO_file_sync_internal, _IO_file_seek_internal)
56519         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
56520         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
56521         (_IO_str_underflow_internal, _IO_str_overflow_internal)
56522         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
56523         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
56524         (_IO_list_all_internal, _IO_link_in_internal)
56525         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
56526         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
56527         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
56528         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
56529         (_IO_do_write_internal, _IO_padn_internal)
56530         (_IO_getline_info_internal, _IO_getline_internal)
56531         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
56532         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
56533         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
56534         (_IO_vfscanf_internal, _IO_vfprintf_internal)
56535         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
56536         (_IO_init_internal, _IO_un_link_internal): Don't declare.
56537         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
56538         with libc_hidden_ver, remove use of INTUSE.
56539         * libio/genops.c: Likewise.
56540         * libio/freopen.c: Likewise.
56541         * libio/freopen64.c: Likewise.
56542         * libio/iofclose.c: Likewise.
56543         * libio/iofdopen.c: Likewise.
56544         * libio/iofflush.c: Likewise.
56545         * libio/iofflush_u.c: Likewise.
56546         * libio/iofgets.c: Likewise.
56547         * libio/iofgets_u.c: Likewise.
56548         * libio/iofopen.c: Likewise.
56549         * libio/iofopncook.c: Likewise.
56550         * libio/iofread.c: Likewise.
56551         * libio/iofread_u.c: Likewise.
56552         * libio/ioftell.c: Likewise.
56553         * libio/iofwrite.c: Likewise.
56554         * libio/iogetline.c: Likewise.
56555         * libio/iogets.c: Likewise.
56556         * libio/iogetwline.c: Likewise.
56557         * libio/iopadn.c: Likewise.
56558         * libio/iopopen.c: Likewise.
56559         * libio/ioseekoff.c: Likewise.
56560         * libio/ioseekpos.c: Likewise.
56561         * libio/iosetbuffer.c: Likewise.
56562         * libio/iosetvbuf.c: Likewise.
56563         * libio/ioungetc.c: Likewise.
56564         * libio/ioungetwc.c: Likewise.
56565         * libio/iovdprintf.c: Likewise.
56566         * libio/iovsprintf.c: Likewise.
56567         * libio/iovsscanf.c: Likewise.
56568         * libio/memstream.c: Likewise.
56569         * libio/obprintf.c: Likewise.
56570         * libio/oldfileops.c: Likewise.
56571         * libio/oldiofclose.c: Likewise.
56572         * libio/oldiofdopen.c: Likewise.
56573         * libio/oldiofopen.c: Likewise.
56574         * libio/oldiopopen.c: Likewise.
56575         * libio/oldstdfiles.c: Likewise.
56576         * libio/putc.c: Likewise.
56577         * libio/setbuf.c: Likewise.
56578         * libio/setlinebuf.c: Likewise.
56579         * libio/stdfiles.c: Likewise.
56580         * libio/strops.c: Likewise.
56581         * libio/vasprintf.c: Likewise.
56582         * libio/vscanf.c: Likewise.
56583         * libio/vsnprintf.c: Likewise.
56584         * libio/vswprintf.c: Likewise.
56585         * libio/wfiledoalloc.c: Likewise.
56586         * libio/wfileops.c: Likewise.
56587         * libio/wgenops.c: Likewise.
56588         * libio/wmemstream.c: Likewise.
56589         * libio/wstrops.c: Likewise.
56590         * libio/__fpurge.c: Likewise.
56591         * libio/__fsetlocking.c: Likewise.
56592         * assert/assert.c: Likewise.
56593         * debug/fgets_chk.c: Likewise.
56594         * debug/fgets_u_chk.c: Likewise.
56595         * debug/fread_chk.c: Likewise.
56596         * debug/fread_u_chk.c: Likewise.
56597         * debug/gets_chk.c: Likewise.
56598         * debug/obprintf_chk.c: Likewise.
56599         * debug/vasprintf_chk.c: Likewise.
56600         * debug/vdprintf_chk.c: Likewise.
56601         * debug/vsnprintf_chk.c: Likewise.
56602         * debug/vsprintf_chk.c: Likewise.
56603         * malloc/mtrace.c: Likewise.
56604         * misc/error.c: Likewise.
56605         * misc/syslog.c: Likewise.
56606         * stdio-common/asprintf.c: Likewise.
56607         * stdio-common/fxprintf.c: Likewise.
56608         * stdio-common/getw.c: Likewise.
56609         * stdio-common/isoc99_fscanf.c: Likewise.
56610         * stdio-common/isoc99_scanf.c: Likewise.
56611         * stdio-common/isoc99_vfscanf.c: Likewise.
56612         * stdio-common/isoc99_vscanf.c: Likewise.
56613         * stdio-common/isoc99_vsscanf.c: Likewise.
56614         * stdio-common/printf-prs.c: Likewise.
56615         * stdio-common/printf_fp.c: Likewise.
56616         * stdio-common/printf_fphex.c: Likewise.
56617         * stdio-common/printf_size.c: Likewise.
56618         * stdio-common/putw.c: Likewise.
56619         * stdio-common/scanf.c: Likewise.
56620         * stdio-common/sprintf.c: Likewise.
56621         * stdio-common/tmpfile.c: Likewise.
56622         * stdio-common/vfprintf.c: Likewise.
56623         * stdio-common/vfscanf.c: Likewise.
56624         * stdlib/strfmon_l.c: Likewise.
56625         * sunrpc/openchild.c: Likewise.
56626         * sunrpc/xdr_stdio.c: Likewise.
56627         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
56628         * sysdeps/mach/hurd/tmpfile.c: Likewise.
56630 2012-05-24  Roland McGrath  <roland@hack.frob.com>
56632         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56634         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
56635         in the third column, to generate for the shared library an IFUNC
56636         that uses _dl_vdso_vsym.
56637         * Makerules (COMPILE.c, compile-stdin.c): New variables.
56638         * Makeconfig (object-suffixes-noshared): New variable.
56640         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
56641         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
56642         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
56643         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
56645         [BZ #14132]
56646         * include/sys/time.h (__gettimeofday): Remove macro.
56647         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
56648         * time/gettimeofday.c (__gettimeofday): Remove #undef.
56649         Remove INTDEF.
56650         (__gettimeofday): Add libc_hidden_def.
56651         (gettimeofday): Add libc_hidden_weak.
56652         * sysdeps/mach/gettimeofday.c: Likewise.
56653         * sysdeps/posix/gettimeofday.c: Likewise.
56654         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
56655         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
56656         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
56657         (__gettimeofday_internal): Remove strong_alias.
56658         (__gettimeofday): Add libc_hidden_def.
56659         (gettimeofday): Add libc_hidden_weak.
56660         * sysdeps/unix/syscalls.list (gettimeofday):
56661         Remove __gettimeofday_internal alias.
56663 2012-05-24  Daniel Jacobowitz  <drow@false.org>
56664             H.J. Lu  <hongjiu.lu@intel.com>
56666         [BZ #12495]
56667         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
56668         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
56669         (largebin_index_32_big): New.
56670         (largebin_index): Use it for 16-byte alignment.
56671         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
56672         correction with front_misalign.
56674 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
56677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
56678         Likewise.
56679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
56680         Likewise.
56681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56682         Likewise.
56683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
56684         Likewise.
56685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
56686         Likewise.
56687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
56688         Likewise.
56689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
56690         Likewise.
56691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56692         Likewise.
56693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
56694         Likewise.
56695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
56696         Likewise.
56697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
56698         Likewise.
56699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
56700         Likewise.
56702         * scripts/data/c++-types-x32-linux-gnu.data: New file.
56703         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
56705 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56707         [BZ #10846]
56708         [BZ #14036]
56709         * math/libm-test.inc (exp_test): Add test from bug 14036.
56710         (pow_test): Add test from bug 10846.
56712         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
56713         and other flags.
56714         (special_function): Do not include flags in test name.
56715         (parse_args): Likewise.
56716         * sysdeps/i386/fpu/libm-test-ulps: Update.
56717         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56718         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56719         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56722         * math/gen-libm-test.pl (%beautify): Add entries for underflow
56723         exceptions.
56724         * math/libm-test.inc ("Philosophy"): Update comment about
56725         exception testing.
56726         (UNDERFLOW_EXCEPTION): New macro.
56727         (UNDERFLOW_EXCEPTION_OK): Likewise.
56728         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
56729         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
56730         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
56731         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
56732         (INVALID_EXCEPTION_OK): Update value.
56733         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56734         (OVERFLOW_EXCEPTION_OK): Likewise.
56735         (IGNORE_ZERO_INF_SIGN): Likewise.
56736         (test_exceptions): Handle underflow exceptions.
56737         (acos_test): Update for underflow exception expectations.
56738         (cexp_test): Likewise.
56739         (clog_test): Likewise.
56740         (clog10_test): Likewise.
56741         (csqrt_test): Likewise.
56742         (ctan_test): Likewise.
56743         (ctanh_test): Likewise.
56744         (exp_test): Likewise.
56745         (exp10_test): Likewise.
56746         (exp2_test): Likewise.
56747         (expm1_test): Likewise.
56748         (fma_test): Likewise.
56749         (j0_test): Likewise.
56750         (jn_test): Likewise.
56751         (nexttoward_test): Likewise.
56752         (pow_test): Likewise.
56753         (scalbn_test): Likewise.
56754         (scalbln_test): Likewise.
56755         (tan_test): Likewise.
56756         (y1_test): Likewise.
56757         * sysdeps/i386/fpu/libm-test-ulps: Update.
56758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56760 2012-05-23  David S. Miller  <davem@davemloft.net>
56762         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56763         (__libc_sigaction): Remove unused local variables.
56765 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56767         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
56769 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
56771         mktime: avoid signed integer overflow
56772         * time/mktime.c (__mktime_internal): Do not mishandle the case
56773         where diff == INT_MIN.
56775         mktime: simplify computation of average
56776         * time/mktime.c (ranged_convert): Use new time_t_avg function
56777         instead of rolling our own (probably-slower) code.
56779         mktime: do not assume signed right shift propagates sign bit
56780         * time/mktime.c (isdst_differ): New static function.
56781         (__mktime_internal): No need to normalize tm_isdst now.
56782         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
56783         tm_isdst values.
56785         mktime: merge another wrapv change from gnulib
56786         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
56787         from some compilers.
56789         mktime: remove incorrect attempt at unusual arithmetics
56790         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
56791         The code didn't really work on such machines anyway.
56792         (TYPE_MINIMUM): Assume two's complement.
56793         (twos_complement_arithmetic): Verify that long_int and time_t
56794         are two's complement (or unsigned, in the latter case).
56796         mktime: check signed shifts on long_int and time_t, too
56797         * time/mktime.c (SHR): Check that shifts work as desired
56798         on the types long_int and time_t too, as SHR is used on
56799         such types.
56801         mktime: do not assume 'long' is wide enough
56802         * time/mktime.c (verify): Move decl up.
56803         (long_int): New type.
56804         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
56805         to remove assumption in the code that 'long' is wide enough to
56806         store year values.  This assumption is not true on x32 and on
56807         some non-glibc platforms.
56809         mktime: merge wrapv change from gnulib
56810         * time/mktime.c (WRAPV): New macro.
56811         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
56812         (guess_time_tm, __mktime_internal): Do not assume that signed
56813         integer overflow wraps around; modern compilers generate code
56814         where this assumption is no longer valid.
56816 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56818         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56819         Replace "jmp L(pseudo_end)" with "ret".
56820         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
56821         Likewise.
56823 2012-05-23  Andreas Jaeger  <aj@suse.de>
56825         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
56826         * sysdeps/unix/sysv/linux/poll.c: Remove file.
56828 2012-05-23  Andreas Jaeger  <aj@suse.de>
56829             Maximilian Attems  <max@stro.at>
56831         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
56832         New macros.
56834 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56836         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
56837         code so that pseudo_end is just ret and the stack pointer is
56838         correct also for static library in error case.
56840 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
56842         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
56843         move to syscalls.list.
56844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
56845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
56846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
56847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
56849         * manual/install.texi (Running make install): Do not mention Linux
56850         kernel version for which pt_chown is not needed.
56851         (Linux): Do not mention problems with nscd with 2.0 kernels.
56852         * INSTALL: Regenerated.
56854 2012-05-23  Andreas Jaeger  <aj@suse.de>
56856         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
56857         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
56858         macro.
56859         * sysdeps/unix/sysv/linux/s390/bits/mman.h
56860         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56861         * sysdeps/unix/sysv/linux/sh/bits/mman.h
56862         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56863         * sysdeps/unix/sysv/linux/i386/bits/mman.h
56864         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56865         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
56866         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56867         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
56868         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56869         * sysdeps/unix/sysv/linux/bits/in.h
56870         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
56872 2012-05-22  Roland McGrath  <roland@hack.frob.com>
56874         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
56875         (PREPARE_VERSION): Just use assert instead, it will be elided
56876         under [NDEBUG] anyway.
56878 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56880         * sysdeps/unix/sysv/linux/Makefile: Include
56881         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
56882         (sysdep_routines): Remove sysctl.
56883         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
56884         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
56885         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
56886         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
56887         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
56889 2012-05-22  Andreas Jaeger  <aj@suse.de>
56891         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
56892         that pseudo_end is just ret and the stack pointer is correct also
56893         for static library in error case.
56895 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
56897         [BZ #14122]
56898         * nss/nsswitch.c (defconfig_entries): New variable.
56899         (__nss_database_lookup): Don't leak defconfig entries.
56900         (nss_parse_service_list): Don't leak on error paths.
56901         (free_database_entries): New function.
56902         (free_defconfig): New function.
56903         (free_mem): Move common code to free_database_entries.
56905 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56907         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
56908         Add arch_prctl.
56909         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
56911         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56912         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
56913         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
56914         New macro.
56915         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
56916         (INTERNAL_SYSCALL_TYPES): Likewise.
56917         (LOAD_ARGS_TYPES_[1-6]): Likewise.
56918         (LOAD_REGS_TYPES_[1-6]): Likewise.
56919         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
56920         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
56922 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56924         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
56925         copysignl for GLIBC_2_0.
56926         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
56927         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
56928         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
56929         logbl for GLIBC_2_0.
56930         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
56931         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
56933 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56935         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
56936         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56938         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56939         Use "neg %eax".
56941         * time/mktime.c: Update copyright years.
56943 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
56945         mktime: merge comment-quoting-style change from gnulib
56946         * time/mktime.c: Quote 'like this' in comments.
56947         The GNU coding standards suggest that we no longer quote `like this',
56948         as "`" and "'" are typically rendered asymmetrically nowadays.
56949         The typical gnulib style is to quote 'like this' when quoting
56950         code, and "like this" when quoting English.
56952         * time/mktime.c (compile-command): Add "-I.".
56954         mktime: merge mktime-internal.h change from gnulib
56955         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
56957         mktime: merge time_r change from gnulib
56958         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
56960         mktime: merge DEBUG change from gnulib
56961         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
56962         case system <time.h> has a #define.
56964         mktime: merge <sys/types.h> change from gnulib
56965         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
56966         since <time.t> is now guaranteed to define time_t.
56968         mktime: merge HAVE_CONFIG_H change from gnulib
56969         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
56971 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56973         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56974         Use "neg %eax".
56976         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
56977         __rlim_t cast.
56978         (struct rusage): Use anonymous union to pad each field to
56979         __syscall_slong_t.
56981 2012-05-21  David S. Miller  <davem@davemloft.net>
56983         * Makefules (o-iterator): Remove .s cases.
56984         (compile-command.s): Delete.
56985         (COMPILE.s): Delete.
56986         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
56988 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
56990         * configure.in (libc_cv_predef_stack_protector): Only consider
56991         "foobar" and "__stack_chk_fail" lines in libc_undefs.
56992         * configure: Regenerated.
56994 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56997         New macro.  Use R*LP on int and pointer.
56998         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
56999         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
57000         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
57001         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
57003         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
57004         [__WORDSIZE_TIME64_COMPAT32] instead of
57005         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
57006         (struct utmp): Likewise.
57007         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
57008         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
57009         Renamed to ...
57010         (__WORDSIZE_TIME64_COMPAT32): This.
57011         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
57012         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
57013         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
57014         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
57015         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
57016         (__WORDSIZE_TIME64_COMPAT32): New macro.
57018 2012-05-21  Andreas Jaeger  <aj@suse.de>
57020         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
57021         only if [SHARED]. Add prototype for __wcschr_ia32.
57023 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57025         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
57026         of %rbp unmolested in the jmp_buf while mangling the low bits.
57027         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
57028         unmolested high bits of %rbp while demangling the low bits.
57029         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57031 2012-05-21  Andreas Jaeger  <aj@suse.de>
57033         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
57034         * sunrpc/svc_simple.c: Use it for registerrpc.
57035         * sunrpc/xcrypt.c: Use it for passwd2des.
57037         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
57039 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57041         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
57042         Don't define if [__SYSCALL_WORDSIZE != 32].
57043         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
57044         New macro.
57046 2012-05-21  Bruno Haible  <bruno@clisp.org>
57047             Andreas Jaeger  <aj@suse.de>
57049         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
57050         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
57051         inptr and inend for must_buffer_ch.
57052         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
57053         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
57054         * stdio-common/Makefile (tests): Remove bug15.
57055         (bug15-ENV): Remove macro.
57056         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
57057         anymore.
57059 2012-05-19  Andreas Jaeger  <aj@suse.de>
57060             Roland McGrath  <roland@hack.frob.com>
57062         * manual/contrib.texi: Completely rewritten. It contains now an
57063         alphabetical list of contributors and their contributions.
57065 2012-05-21  Richard Henderson  <rth@twiddle.net>
57067         * misc/getauxval.c (__getauxval): Use unsigned long int.
57068         * misc/sys/auxv.h: Include <sys/cdefs.h>.
57069         (getauxval): Use unsigned long int.
57071 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
57073         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57075 2012-05-21  Roland McGrath  <roland@hack.frob.com>
57077         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
57078         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
57079         __alignof__ (long double).
57081 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57085 2012-05-20  Richard Henderson  <rth@twiddle.net>
57087         * misc/getauxval.c: New file.
57088         * misc/sys/auxv.h: New file.
57089         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
57090         (routines): Add getauxval.
57091         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
57092         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
57093         * elf/dl-sysdep.c (_dl_auxv): Remove.
57094         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
57095         * elf/dl-support.c (_dl_auxv): New variable.
57096         (_dl_aux_init): Initialize it.
57097         * manual/startup.texi (Auxiliary Vector): New node.
57098         * sysdeps/generic/bits/hwcap.h: New file.
57099         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
57100         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
57101         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
57102         * sysdeps/sparc/sysdep.h: ... here.  Include it.
57103         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
57104         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
57105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57106         Update.
57107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
57108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
57109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
57110         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
57111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
57114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
57116 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57120 2012-05-19  David S. Miller  <davem@davemloft.net>
57122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57124 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57126         [BZ #14123]
57127         * math/s_ccosh.c: Include <float.h>
57128         (__ccosh): Avoid internal overflow calculating sinh and cosh
57129         values before multiplying by sin and cos values.
57130         * math/s_ccoshf.c: Likewise.
57131         * math/s_ccoshl.c: Likewise.
57132         * math/s_csin.c: Likewise.
57133         * math/s_csinf.c: Likewise.
57134         * math/s_csinl.c: Likewise.
57135         * math/s_csinh.c: Likewise.
57136         * math/s_csinhf.c: Likewise.
57137         * math/s_csinhl.c: Likewise.
57138         * math/libm-test.inc (ccos_test): Add more tests.
57139         (ccosh_test): Likewise.
57140         (csin_test): Likewise.
57141         (csinh_test): Likewise.
57142         * sysdeps/i386/fpu/libm-test-ulps: Update.
57143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57145 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
57147         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
57148         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
57150         * sysdeps/x86_64/x32/_itoa.h: Add comment.
57152 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
57154         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
57155         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
57156         * sysdeps/powerpc/soft-fp/Versions: Likewise.
57157         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
57158         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
57159         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
57160         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
57161         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
57162         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
57163         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
57164         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
57165         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
57166         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
57167         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
57168         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
57169         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
57170         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
57171         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
57172         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
57173         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
57174         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
57175         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
57176         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
57177         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
57178         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
57179         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
57180         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
57181         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
57182         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
57183         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
57184         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
57186 2012-05-18  Andreas Jaeger  <aj@suse.de>
57188         * csu/.gitignore: Delete.
57190 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57192         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
57193         (timex): Use __syscall_slong_t.
57195 2012-05-18  Andreas Jaeger  <aj@suse.de>
57196             Carlos O'Donell  <carlos_odonell@mentor.com>
57198         * manual/install.texi (Configuring and compiling): Update
57199         description about files modified in the source directory.
57200         * INSTALL: Regenerated.
57202 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57204         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
57205         value.  Use "or" to set return value to -1.
57206         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
57207         negate return value.
57209 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57211         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
57212         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
57213         failure if the compiler has Graphite support disabled.
57214         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
57215         Likewise.
57216         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
57217         (CFLAGS-memmove.c): Likewise.
57218         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
57219         Likewise.
57221 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
57223         * sysdeps/x86_64/x32/_itoa.h: New file.
57225         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
57226         getdents system call only if kernel and user dirents have the
57227         same d_ino and d_off.
57229         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57230         LLONG_MAX != LONG_MAX.
57231         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57232         (_fitoa_word): Likewise.
57234         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
57235         years.
57236         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
57237         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
57238         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
57240         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
57241         include <bits/wordsize.h>.  Check __x86_64__ instead of
57242         __WORDSIZE.
57243         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
57244         if __x86_64__ is defined.  Use anonymous union on fpstate.
57246         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
57247         anonymous union.
57249 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
57251         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
57252         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
57253         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
57254         Refer to _rtld_local_ro instead of _rtld_global_ro.
57255         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
57256         Likewise.
57257         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
57258         Likewise.
57259         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
57260         Likewise.
57261         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
57262         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
57263         of _rtld_global, and rtld_progname instead of _dl_argv[0].
57265         [BZ #10882]
57266         * sysdeps/powerpc/powerpc32/dl-machine.c
57267         (__elf_machine_runtime_setup) [PROF]: Don't reference
57268         _dl_prof_resolve.
57270 2012-05-18  Andreas Jaeger  <aj@suse.de>
57272         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
57273         function only available for GCCs before 3.4 since GCC 3.4
57274         introduced a builtin.
57275         (lrint): Likewise.
57276         (llrintf): Likewise.
57277         (llrint): Likewise.
57278         (fmaxf): Likewise.
57279         (fmax): Likewise.
57280         (fminf): Likewise.
57281         (fmin): Likewise.
57282         (rint): Likewise.
57283         (rintf): Likewise.
57284         (nearbyint): Likewise.
57285         (nearbyintf): Likewise.
57286         (ceil): Likewise.
57287         (ceilf): Likewise.
57288         (floor): Likewise.
57289         (floorf): Likewise.
57291 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57293         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
57294         on both fields and cast pointer to __syscall_ulong_t.
57296         * bits/types.h (__fsword_t): New type.
57297         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
57298         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
57299         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57300         (__FSWORD_T_TYPE): Likewise.
57301         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57302         (__FSWORD_T_TYPE): Likewise.
57303         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57304         (__FSWORD_T_TYPE): Likewise.
57305         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
57306         (__FSWORD_T_TYPE): Likewise.
57307         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
57308         __SWORD_TYPE with __fsword_t.
57309         (statfs64): Likewise.
57311 2012-05-17  David S. Miller  <davem@davemloft.net>
57313         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
57315 2012-05-17  Andreas Jaeger  <aj@suse.de>
57317         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
57318         warning.
57320 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57322         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
57324 2012-05-17  Andreas Jaeger  <aj@suse.de>
57326         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
57327         when it is used.
57329 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57331         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
57333 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57335         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
57336         * sysdeps/x86_64/tst-mallocalign1.c: New file.
57338 2012-05-17  Andreas Jaeger  <aj@suse.de>
57339             Carlos O'Donell  <carlos_odonell@mentor.com>
57341         [BZ #14059]
57342         * sysdeps/x86_64/multiarch/init-arch.h
57343         (bit_YMM_Usable): Rename to...
57344         (bit_AVX_Usable): ... this.
57345         (bit_FMA4_Usable): New macro.
57346         (bit_XMM_state): New macro.
57347         (bit_YMM_state): New macro.
57348         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
57349         [__ASSEMBLER__] (index_AVX_Usable): ... this.
57350         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
57351         (CPUID_OSXSAVE): New macro.
57352         (CPUID_AVX): New macro.
57353         (CPUID_FMA4): New macro.
57354         (index_YMM_Usable): Rename to...
57355         (index_AVX_Usable): ... this.
57356         (HAS_AVX): Use HAS_ARCH_FEATURE.
57357         (HAS_FMA4): Likewise.
57358         (HAS_YMM_USABLE): Remove.
57359         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57360         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
57361         are present.
57362         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
57363         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
57364         * sysdeps/x86_64/multiarch/Makefile: Likewise.
57365         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
57366         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
57368 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57370         * math/libm-test.c: Support platforms without multiple rounding modes.
57371         * math/bug-nextafter.c: Support platforms without FP exceptions.
57372         * math/bug-nexttoward.c: Likewise.
57373         * math/test-fenv.c: Likewise.
57374         * math/test-misc.c: Likewise.
57375         * stdlib/bug-getcontext.c: Likewise.
57377 2012-05-17  Andreas Jaeger  <aj@suse.de>
57379         * manual/examples/search.c (critter_cmp): Change signature to
57380         avoid warnings.
57381         * manual/string.texi (Collation Functions): Likewise.
57383 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57385         * bits/types.h: Fold copyright years.
57386         * bits/typesizes.h: Likewise.
57387         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
57388         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57389         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
57390         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
57391         * time/time.h: Likewise.
57393 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
57395         [BZ #208]
57396         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
57397         in instead of returning them.  Return void.
57398         (__libc_mallinfo): Accumulate over all arenas.
57399         (__malloc_stats): Adjust for change in int_mallinfo interface.
57401 2012-05-16  Roland McGrath  <roland@hack.frob.com>
57403         [BZ #10375]
57404         * configure.in (NM): Add AC_CHECK_TOOL for it.
57405         (libc_extra_cflags): New substituted variable.
57406         Check for -fstack-protector being used implicitly.
57407         * configure: Regenerated.
57408         * config.make.in (config-extra-cflags): New variable,
57409         gets @libc_extra_cflags@.
57410         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
57412         [BZ #10375]
57413         * configure.in: Check for _FORTIFY_SOURCE being predefined.
57414         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
57415         * configure: Regenerated.
57416         * config.make.in (CPPUNDEFS): New substituted variable.
57417         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
57418         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
57419         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
57421 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57423         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
57424         (mq_attr): Use __syscall_slong_t.
57426 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57428         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
57429         Check __x86_64__ instead of __WORDSIZE.
57430         (_STAT_VER_LINUX): Likewise.
57431         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
57432         __syscall_ulong_t and __syscall_slong_t.
57433         (stat64): Likewise.
57435 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57437         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
57439 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57441         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
57443 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57445         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
57446         __syscall_ulong_t.
57448         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
57449         include <bits/wordsize.h>.  Check __x86_64__ instead of
57450         __WORDSIZE.
57451         (greg_t): Use "__extension__ long long int" if __x86_64__ is
57452         defined.
57453         (mcontext_t): Replace "unsigned long" with "unsigned long long".
57455         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
57456         include <bits/wordsize.h>.  Check __x86_64__ instead of
57457         __WORDSIZE.
57458         (user_regs_struct): Use "__extension__ unsigned long long"
57459         instead of "unsigned long" if __x86_64__ is defined.
57460         (user): Likewise.  Pad after pointer field if __ILP32__ is
57461         defined.
57463 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
57465         * configure.in (makeinfo): Require version 4.5 or later.  Allow
57466         versions 5 to 9.
57467         * configure: Regenerated.
57468         * manual/install.texi (texinfo): Increase version requirement to
57469         4.5 or later.
57470         * INSTALL: Regenerated.
57472         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
57474 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57476         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
57478         * sysdeps/x86_64/x32/ffs.c: New file.
57480         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
57481         __syscall_ulong_t.
57482         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
57483         defined.  Use __syscall_ulong_t.
57484         (shminfo): Use __syscall_ulong_t.
57485         (shm_info): Likewise.
57487         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
57488         __syscall_ulong_t.
57490         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
57491         <bits/wordsize.h>.
57492         (msgqnum_t): Use __syscall_ulong_t.
57493         (msglen_t): Likewise.
57494         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
57495         __syscall_ulong_t.
57497         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
57498         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57500         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
57502         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
57503         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
57505         * sysvipc/sys/msg.h (msgbuf): Replace long int with
57506         __syscall_slong_t.
57508         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
57509         include <bits/wordsize.h>.  Check __x86_64__ instead of
57510         __WORDSIZE.
57512         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
57513         "unsigned long long int" if __x86_64__ is defined.
57514         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
57516         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
57517         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57518         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
57520         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
57521         <stdint.h>.
57522         (GET_PC): Cast to uintptr_t first.
57523         (GET_FRAME): Likewise.
57524         (GET_STACK): Likewise.
57526         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
57527         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
57528         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
57529         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
57530         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
57531         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
57532         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
57533         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
57534         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
57535         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
57536         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
57537         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
57538         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57539         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
57540         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
57541         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
57542         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
57543         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
57544         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
57545         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
57546         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
57547         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
57548         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
57549         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
57550         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
57551         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
57552         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
57553         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
57554         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
57556 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
57558         * Makerules (+depfiles): Also collect depfiles from .oS in
57559         $(extra-objs).
57560         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
57561         .oS, $(libnldbl-routines)).
57563         * Makerules (native-compile-mkdep-flags): Define.
57564         * sunrpc/Makefile (extra-objs): Add $(addprefix
57565         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
57566         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
57567         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
57568         calling $(make-target-directory).
57570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57572         * bits/types.h (__snseconds_t): Removed.
57573         * time/time.h (struct timespec): Replace __snseconds_t with
57574         __syscall_slong_t.
57575         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
57576         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
57577         Likewise.
57578         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57579         (__SNSECONDS_T_TYPE): Likewise.
57580         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57581         (__SNSECONDS_T_TYPE): Likewise.
57582         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57583         (__SNSECONDS_T_TYPE): Likewise.
57585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57587         * sysdeps/mach/hurd/bits/typesizes.h
57588         (__SYSCALL_SLONG_TYPE): New macro.
57589         (__SYSCALL_ULONG_TYPE): Likewise.
57591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57593         * bits/types.h (__syscall_slong_t): New type.
57594         (__syscall_ulong_t): Likewise.
57596         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
57597         (__SYSCALL_ULONG_TYPE): Likewise.
57598         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57599         (__SYSCALL_SLONG_TYPE): Likewise.
57600         (__SYSCALL_ULONG_TYPE): Likewise.
57601         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57602         (__SYSCALL_SLONG_TYPE): Likewise.
57603         (__SYSCALL_ULONG_TYPE): Likewise.
57604         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57605         (__SYSCALL_SLONG_TYPE): Likewise.
57606         (__SYSCALL_ULONG_TYPE): Likewise.
57608 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57610         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
57611         Add sigaltstack-offsets.sym.
57612         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
57613         <sigaltstack-offsets.h>.
57614         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
57615         longjmp_msg pointer.
57616         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
57617         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
57618         signal stack.
57619         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
57621 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57623         * elf/stackguard-macros.h: Remove file.
57624         * sysdeps/generic/stackguard-macros.h: New file.
57625         * sysdeps/i386/stackguard-macros.h: Likewise.
57626         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57627         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57628         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57629         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57630         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57631         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57632         * sysdeps/x86_64/stackguard-macros.h: Likewise.
57633         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
57634         <elf/stackguard-macros.h>.
57636         [BZ #14109]
57637         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
57638         __aligned__ in attribute.
57639         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
57640         (gregset_t): Likewise.
57642 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57644         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
57645         * sysdeps/x86_64/64/Implies-after: Here.  New file.
57646         * sysdeps/x86_64/x32/Implies-after: New file.
57648 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57650         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
57651         and access return value for _dl_profile_fixup.  Use R10_LP to
57652         load frame size.
57654 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57656         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
57658 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57660         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
57661         * sysdeps/x86_64/x32/sysdep.h: New file.
57663 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57665         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
57666         * sysdeps/x86_64/setjmp.S: Likewise.
57668 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57670         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
57671         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
57672         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
57673         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
57674         remove unused global constant.
57676 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
57678         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
57679         include of <not-cancel.h>.
57681 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57683         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
57685 2012-05-15  Jeff Law  <law@redhat.com>
57686             Andreas Jaeger  <aj@suse.de>
57688         [BZ #13594]
57689         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
57690         out from...
57691         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
57692         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
57693         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
57694         code changing __hst_map_handle.map.
57696 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57698         * configure.in (sysnames): Look for Implies-before and Implies-after
57699         files.
57700         * configure: Regenerated.
57702 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57704         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
57705         8-byte data alignment with LP_SIZE alignment.
57707 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57709         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
57710         into R10_LP.
57712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57714         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
57716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57718         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
57719         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
57720         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
57721         Likewise.
57722         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57724 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57726         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
57727         (stackinfo_sub_sp): Likewise.
57729 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57731         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
57732         RAX_LP.
57734 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57736         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
57737         into R*_LP.
57739 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57741         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
57742         sizes into R*_LP.
57744 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57746         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
57748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57750         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
57751         into R11_LP and load __x86_64_shared_cache_size_half into
57752         R8_LP.
57754 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57756         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
57757         R8_LP.
57759 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57761         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
57762         logb for POWER7.
57763         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
57764         logbf for POWER7.
57765         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
57766         logbl for POWER7.
57767         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
57768         powerpc32/power7/fpu/s_logb.c via #include.
57769         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
57770         powerpc32/power7/fpu/s_logbf.c via #include.
57771         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
57772         powerpc32/power7/fpu/s_logbl.c via #include.
57774 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57776         * README.libm: Remove file.
57778 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57780         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
57781         count for x32.  Use R*_LP and omit operand-size suffix.
57783 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57785         * shlib-versions: Move x86_64-.*-linux.* entries to ...
57786         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
57787         * sysdeps/x86_64/x32/shlib-versions: New file.
57789 2012-05-14  Roland McGrath  <roland@hack.frob.com>
57791         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
57792         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
57793         Use _dl_fatal_printf instead.
57795 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57797         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
57798         set if not set by the user.  Do not allow for being unset.
57799         * sysdeps/unix/sysv/linux/configure: Regenerated.
57801 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57803         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
57804         the `q' suffix from lea and replace .quad with ASM_ADDR.
57806 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57808         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
57809         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
57810         instead of $17.
57811         (PTR_DEMANGLE): Likewise.
57813 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57815         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
57816         (LP_OP): Likewise.
57817         (ASM_ADDR): Likewise.
57818         (RAX_LP): Likewise.
57819         (RBP_LP): Likewise.
57820         (RBX_LP): Likewise.
57821         (RCX_LP): Likewise.
57822         (RDI_LP): Likewise.
57823         (RSI_LP): Likewise.
57824         (RSP_LP): Likewise.
57825         (R8_LP): Likewise.
57826         (R9_LP): Likewise.
57827         (R10_LP): Likewise.
57828         (R10_LP): Likewise.
57829         (R11_LP): Likewise.
57830         (R12_LP): Likewise.
57831         (R13_LP): Likewise.
57832         (R14_LP): Likewise.
57833         (R15_LP): Likewise.
57835 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57837         * sysdeps/x86_64/x32/dl-machine.h: New file.
57839 2012-05-14  Andreas Jaeger  <aj@suse.de>
57841         * manual/Makefile (subdir): Remove export of subdir.
57842         (all): Remove target.
57843         (.PHONY): Remove all from list.
57844         (mkinstalldirs): Remove.
57845         (.PHONY): Remove installdirs from list.
57846         ($(inst_infodir)/libc.info): Use make-target-directory.
57847         (installdirs): Remove.
57848         (subdir_%): Remove.
57849         (glibc-targets): Remove.
57850         (lib): Remove.
57851         (stubs): Remove.
57852         ($(objpfx)stubs ../po/manual.pot): Remove.
57853         ($(objpfx)stamp%): Remove.
57854         (make-target-directory): Remove.
57855         (subdir_install): Remove.
57856         (routines): Remove.
57857         (aux): Remove.
57858         (sources): Remove.
57859         (objects): Remove.
57860         (headers): Remove.
57862         [BZ #13750]
57863         * manual/.gitignore: Remove, it's not needed anymore.
57864         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
57865         all files in it.
57866         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
57867         directory.
57868         (texis): Renamed to $(objpfx)texis.
57869         (texis-path): New, contains path to generated files.
57870         (chapters.%): Use texis-path for complete path, add extra argument
57871         libc-texinfo.sh.
57872         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
57873         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
57874         (summary,texi, stamp-summary): Use complete path of
57875         files. Generate files in build dir.
57876         (dir-add.texi): Build in build dir.
57877         (libm-err.texi,stamp-libm-err): Likewise.
57878         (version.texi, stamp-version): Likewise.
57879         (.%c.texi): Likewise.
57880         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
57881         (mostlyclean): Remove target.
57882         (realclean): Remove target.
57883         (generated): Add new variable with contents from mostlyclean and
57884         realclean, remove entries duplicated in common-mostlyclean, add
57885         stamp-libm-err and stamp-version.
57886         (generated-dirs): Add libc directory.
57887         ($(inst_infodir)/libc.info): Install files from build dir.
57889         * manual/install.texi (Configuring and compiling): Adjust since
57890         the info files are not part of the tar ball anymore.
57892 2012-05-14  Andreas Jaeger  <aj@suse.de>
57894         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
57895         variable.
57897 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57899         [BZ #13717]
57900         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57901         to 2.2.0 where earlier.
57902         * sysdeps/unix/sysv/linux/configure: Regenerated.
57903         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
57904         Remove conditional code.
57905         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
57906         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
57907         Remove conditional code.
57908         [!__NR_lchown]: Likewise.
57909         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57910         [__NR_lchown]: Likewise.
57911         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
57912         comment referencing __ASSUME_LCHOWN_SYSCALL.
57913         * sysdeps/unix/sysv/linux/i386/sigaction.c
57914         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57915         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57916         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
57917         Remove conditional code.
57918         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
57919         (__protocol_available): Remove #if 0 code.
57920         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
57921         conditional code.
57922         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
57923         * sysdeps/unix/sysv/linux/kernel-features.h
57924         (__ASSUME_GETCWD_SYSCALL): Don't define.
57925         (__ASSUME_REALTIME_SIGNALS): Likewise.
57926         (__ASSUME_PREAD_SYSCALL): Likewise.
57927         (__ASSUME_PWRITE_SYSCALL): Likewise.
57928         (__ASSUME_POLL_SYSCALL): Likewise.
57929         (__ASSUME_LCHOWN_SYSCALL): Likewise.
57930         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
57931         non-SPARC.
57932         (__ASSUME_SIOCGIFNAME): Don't define.
57933         (__ASSUME_MSG_NOSIGNAL): Likewise.
57934         (__ASSUME_SENDFILE): Define unconditionally.
57935         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
57936         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
57937         conditional code.
57938         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
57939         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
57940         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57941         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57942         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
57943         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57944         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
57946         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57947         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
57949         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57950         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
57952         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57953         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
57955         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57956         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
57958         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57959         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
57961         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57962         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
57964         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57965         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
57967         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57968         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57969         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
57970         Remove conditional code.
57971         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57972         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57973         Remove conditional code.
57974         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57975         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
57976         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
57977         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57978         Remove conditional code.
57979         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57980         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
57981         Remove conditional code.
57982         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57983         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
57984         Remove conditional code.
57985         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57986         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57987         Remove conditional code.
57988         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57989         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57990         Remove conditional code.
57991         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57992         * sysdeps/unix/sysv/linux/sh/pwrite64.c
57993         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57994         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57995         * sysdeps/unix/sysv/linux/sigaction.c
57996         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57997         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57998         * sysdeps/unix/sysv/linux/sigpending.c
57999         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58000         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58001         * sysdeps/unix/sysv/linux/sigprocmask.c
58002         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58003         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58004         * sysdeps/unix/sysv/linux/sigsuspend.c
58005         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58006         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58007         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58008         (__libc_missing_rt_sigs): Remove.
58009         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
58010         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
58011         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
58012         Remove conditional code.
58013         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
58014         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
58015         return 1.
58016         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
58017         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
58018         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
58019         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
58021 2012-05-14  Andreas Jaeger  <aj@suse.de>
58023         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
58024         it's not used in glibc.
58025         (__coshm1): Likewise.
58026         (__acosh1p): Likewise.
58027         (__sgn): Likewise.
58029         * manual/string.texi (Copying and Concatenation): Add missing
58030         variable in concat example.
58031         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
58033 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58035         [BZ #14103]
58036         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
58037         __builtin_clzl with __builtin_clzll.
58039 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58041         [BZ #14104]
58042         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
58043         libc_freeres_ptr.
58045 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58047         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
58048         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
58049         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
58050         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
58052 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
58054         * NEWS: Update ia64 info.
58056 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
58058         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
58059         used as bcopy.
58061 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
58063         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
58064         * sysdeps/unix/syscalls.list (dup3): Likewise.
58065         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
58066         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
58068 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58070         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
58071         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
58073 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
58075         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
58076         thread pointer.
58077         (TLS_IE): Use mov/add instead of movq/addq to load thread
58078         pointer.
58079         (TLS_GD_PREFIX): New.
58080         (TLS_GD): Use it.
58082 2012-05-11  David S. Miller  <davem@davemloft.net>
58084         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
58085         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
58086         (_FPU_SETCW): Likewise.
58088 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58090         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
58091         is 32-byte aligned.
58093 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
58095         [BZ #11837]
58096         * iconvdata/gb18030.c: Update tables.
58097         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
58098         characters specially.
58099         (BODY for TO_LOOP): Add encoding of missing ranges.
58101 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
58103         [BZ #13673]
58104         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
58105         * sysdeps/mach/hurd/dup3.c: Likewise.
58106         * sysdeps/mach/hurd/readlinkat.c: Likewise.
58107         * sysdeps/powerpc/memmove.c:: Likewise.
58109 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58111         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
58112         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
58114 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58116         * elf/elf.h (R_X86_64_RELATIVE64): New.
58117         (R_X86_64_NUM): Updated.
58118         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58119         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
58120         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
58121         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
58122         tst-quad1pie tst-quad2pie
58123         (modules-names): Add tst-quadmod1 tst-quadmod2.
58124         ($(objpfx)tst-quad1): New dependency.
58125         ($(objpfx)tst-quad2): Likewise.
58126         ($(objpfx)tst-quad1pie): Likewise.
58127         ($(objpfx)tst-quad2pie): Likewise.
58128         * sysdeps/x86_64/tst-quad1.c: New file.
58129         * sysdeps/x86_64/tst-quad1pie.c: New file.
58130         * sysdeps/x86_64/tst-quad2.c: Likewise.
58131         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
58132         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
58133         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
58134         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
58135         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
58137 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58139         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
58140         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
58141         * streams/stropts.h (t_scalar_t): Define type.
58143         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
58144         (_PATH_PRESERVE): Set to "/var/lib".
58145         (_PATH_RWHODIR): Set to "/var/spool/rwho".
58147         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
58148         instead of int.
58150         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
58151         if __dir_mkfile succeeded.
58153         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
58154         checking for _hurd_dtablesize.  Unlock it right after having
58155         finished _hurd_dtable allocation.
58157 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58159         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
58160         * sysdeps/mach/hurd/configure: Regenerated.
58161         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
58162         special-casing to...
58163         * sysdeps/gnu/configure.in: ... this new file.
58164         * sysdeps/unix/sysv/linux/configure: Regenerated.
58165         * sysdeps/gnu/configure: New generated file.
58167         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
58168         for Linux: use nsec instead of usec, as well as:
58169         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
58170         members of type struct timespec.
58171         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
58172         New macros.
58173         (struct stat64): Likewise.
58174         (_STATBUF_ST_NSEC): New macro.
58175         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
58177         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58178         __strtoul_internal rather than strtoul.
58180 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58182         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
58183         and reject them.
58185 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58187         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
58188         which preserves existing values.
58189         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
58191 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58193         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
58194         TIMEOUT values.  Return EINVAL for NFDS values either negative or
58195         greater than FD_SETSIZE.
58197 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58199         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
58200         allocated, call __vm_protect to finish enabling the existing space, and
58201         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
58202         allocate the remainder.
58204 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58206         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
58207         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
58209 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58211         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
58212         sysdeps/mach/hurd/readlink.c.
58214         * posix/tst-sysconf.c (posix_options): Only use
58215         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
58216         _POSIX_SYNCHRONIZED_IO when they are defined
58217         * sysdeps/mach/hurd/bits/posix_opt.h:
58218         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
58219         (_XOPEN_REALTIME): Undefine macro.
58220         (_XOPEN_REALTIME_THREADS): Undefine macro.
58221         (_XOPEN_SHM): Undefine macro.
58222         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
58223         macro to -1.
58224         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
58225         macro to -1.
58226         (_POSIX_ASYNC_IO): Undefine macro.
58227         (_POSIX_PRIORITIZED_IO): Undefine macro.
58228         (_POSIX_SPIN_LOCKS): Define macro to -1.
58230         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
58231         SA_NODEFER, SA_RESETHAND.
58232         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
58233         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
58234         F_DUPFD_CLOEXEC.
58236 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58238         * elf/Makefile (pldd-modules): Define unconditionally.
58240 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58242         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
58244 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58246         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
58247         Return ENOENT when name is empty.
58248         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
58250 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58252         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
58254         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
58256 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58258         Fix mlock in all cases except non-readable pages.
58259         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
58260         instead of VM_PROT_ALL as parameter to __vm_wire function.
58262         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
58263         (__mkdir): When path is `/', just fail with EEXIST.
58264         * sysdeps/mach/hurd/mkdirat.c: Likewise.
58266 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58268         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
58269         <sys/uio.h> (for writev).
58270         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
58271         and <sys/param.h> (for MIN).
58273 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58275         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
58276         REQUESTED_TIME.  Properly set the remaining time and return EINTR
58277         if interrupted.
58279 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58281         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
58282         Depend on against $(link-rpcuserlibs).
58284 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58286         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
58287         (__libc_stack_end): Do not use attribute_relro.
58288         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
58289         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
58290         to libthread-provided value.
58291         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
58292         attribute_relro.
58294 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58296         [BZ #3748]
58297         * bits/libc-lock.h (__libc_once_get): New macro.
58298         * sysdeps/mach/bits/libc-lock.h: Likewise.
58299         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
58300         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
58301         instead of using implementation details.
58303         * libio/fileops.c: Unconditionally include <kernel-features.h>.
58304         * libio/freopen.c: Likewise.
58305         * libio/freopen64.c: Likewise.
58306         * misc/syslog.c: Likewise.
58307         * nscd/connections.c: Likewise.
58308         * nscd/netgroupcache.c: Likewise.
58309         * sysdeps/posix/getcwd.c: Likewise.
58311 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58313         * math/w_ilogbf.c: Add #include <limits.h>.
58315 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58317         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
58318         path instead of returning without unlocking.
58320         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
58321         immediate-write ioctls.
58322         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
58324 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58326         * sysdeps/mach/hurd/i386/init-first.c (init): Use
58327         __builtin_frame_address instead of making assumptions about the
58328         location of the return address relative to DATA.  Force early load of
58329         the return address.
58330         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
58331         __builtin_frame_address.
58333         dup3 for GNU Hurd.
58334         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
58335         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
58336         implement dup3 and do some further code clean-ups.
58337         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
58338         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
58340 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58342         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
58344         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
58345         HURD_CRITICAL_END around holding _hurd_dtable_lock.
58346         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
58347         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
58348         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
58349         d->port.lock.
58351         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
58352         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
58353         when handler == SIG_ERR, not when handler != SIG_ERR.
58355 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58357         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
58358         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
58359         definitions.
58361         accept4 for GNU Hurd.
58362         * include/sys/socket.h (__libc_accept4): New prototype.
58363         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
58364         to implement __libc_accept4.
58365         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
58366         __libc_accept4.
58367         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
58369         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
58370         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
58371         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
58372         signal-defines.sym.
58374 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58376         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
58378 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58380         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
58381         assertion on O_CLOEXEC flag.
58382         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
58383         * hurd/intern-fd.c: Likewise.
58384         * hurd/port2fd.c: Likewise.
58386 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58388         [BZ #3906]
58389         * bits/in.h (IPV6_PKTINFO): Define new macro.
58390         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
58392 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58394         [BZ #13954]
58395         [BZ #13955]
58396         [BZ #13956]
58397         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
58398         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58399         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
58400         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58401         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58402         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58403         * math/libm-test.inc (logb_test) : Additional logb tests.
58405 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
58406             Andreas Jaeger  <aj@suse.de>
58408         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
58409         * configure: Regenerated.
58410         * config.h.in (LINK_OBSOLETE_RPC): New macro.
58411         * config.make.in (link-obsolete-rpc): New substituted variable.
58412         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
58413         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
58414         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58415         (shared-only-routines): Don't set it under [link-obsolete-rpc],
58416         so that libc.a contains the symbols.
58417         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58418         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
58419         * sunrpc/auth_none.c: Likewise.
58420         * sunrpc/auth_unix.c: Likewise.
58421         * sunrpc/authdes_prot.c: Likewise.
58422         * sunrpc/authuxprot.c: Likewise.
58423         * sunrpc/clnt_gen.c: Likewise.
58424         * sunrpc/clnt_perr.c: Likewise.
58425         * sunrpc/clnt_raw.c: Likewise.
58426         * sunrpc/clnt_simp.c: Likewise.
58427         * sunrpc/clnt_tcp.c: Likewise.
58428         * sunrpc/clnt_udp.c: Likewise.
58429         * sunrpc/clnt_unix.c: Likewise.
58430         * sunrpc/des_crypt.c: Likewise.
58431         * sunrpc/des_soft.c: Likewise.
58432         * sunrpc/get_myaddr.c: Likewise.
58433         * sunrpc/key_call.c: Likewise.
58434         * sunrpc/key_prot.c: Likewise.
58435         * sunrpc/netname.c: Likewise.
58436         * sunrpc/pm_getmaps.c: Likewise.
58437         * sunrpc/pm_getport.c: Likewise.
58438         * sunrpc/pmap_clnt.c: Likewise.
58439         * sunrpc/pmap_prot.c: Likewise.
58440         * sunrpc/pmap_prot2.c: Likewise.
58441         * sunrpc/pmap_rmt.c: Likewise.
58442         * sunrpc/publickey.c: Likewise.
58443         * sunrpc/rpc_cmsg.c: Likewise.
58444         * sunrpc/rpc_common.c: Likewise.
58445         * sunrpc/rpc_dtable.c: Likewise.
58446         * sunrpc/rpc_prot.c: Likewise.
58447         * sunrpc/rpc_thread.c: Likewise.
58448         * sunrpc/rtime.c: Likewise.
58449         * sunrpc/svc.c: Likewise.
58450         * sunrpc/svc_auth.c: Likewise.
58451         * sunrpc/svc_raw.c: Likewise.
58452         * sunrpc/svc_run.c: Likewise.
58453         * sunrpc/svc_tcp.c: Likewise.
58454         * sunrpc/svc_udp.c: Likewise.
58455         * sunrpc/svc_unix.c: Likewise.
58456         * sunrpc/svcauth_des.c: Likewise.
58457         * sunrpc/xcrypt.c: Likewise.
58458         * sunrpc/xdr.c: Likewise.
58459         * sunrpc/xdr_array.c: Likewise.
58460         * sunrpc/xdr_float.c: Likewise.
58461         * sunrpc/xdr_intXX_t.c: Likewise.
58462         * sunrpc/xdr_mem.c: Likewise.
58463         * sunrpc/xdr_rec.c: Likewise.
58464         * sunrpc/xdr_ref.c: Likewise.
58465         * sunrpc/xdr_sizeof.c: Likewise.
58466         * sunrpc/xdr_stdio.c: Likewise.
58468 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58470         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
58471         change.  Update copyright years.
58473 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58475         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
58477 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
58478             Joseph Myers  <joseph@codesourcery.com>
58479             Paul Pluzhnikov  <ppluzhnikov@google.com>
58481         [BZ #14012]
58482         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
58483         requiring rpcgen.
58484         [cross-compiling] (extra-libs): Likewise.
58485         [cross-compiling] (extra-libs-others): Likewise.
58486         [cross-compiling] (librpcsvc-routines): Likewise.
58487         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
58488         [cross-compiling] (omit-deps): Likewise.
58489         (sunrpc-CPPFLAGS): New variable.
58490         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
58491         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
58492         (cross-rpcgen-objs): New variable.
58493         (extra-objs): Append $(cross-rpcgen-objs).
58494         ($(cross-rpcgen-objs)): New rule.
58495         ($(objpfx)cross-rpcgen): Likewise.
58496         (rpcgen-cmd): Define to use $(built-program-file).  Expand
58497         comment.
58498         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
58499         ($(objpfx)x%.stmp): Likewise.
58500         * sunrpc/proto.h [IS_IN_build] (_): Define.
58501         [IS_IN_build] (_libc_intl_domainname): Likewise.
58503 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58505         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
58506         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
58507         and R_X86_64_TPOFF64.
58509 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58511         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
58512         sysdeps/unix/sysv/syscalls.list.
58513         (stime): Likewise.
58514         (utime): Likewise.
58515         * sysdeps/unix/sysv/syscalls.list: Remove file.
58517 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
58519         [BZ #3440]
58520         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
58521         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
58522         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
58523         (__LC_IDENTIFICATION): Make these macros useful in #if
58524         expressions, as required by C99.
58526 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
58528         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
58529         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
58530         after this.
58532 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
58534         * stdlib/longlong.h: Updated from GCC.
58536 2012-05-09  Andreas Jaeger  <aj@suse.de>
58538         * nscd/nscd.c (run_modes): Make named enum, reorder so that
58539         default is first entry.
58540         (run_mode): Set type.
58541         (main): Remove informal message about syslog.
58542         (options): Fix typo.
58544         [BZ #14053]
58545         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
58546         to asm.
58547         (lrint): Likewise.
58548         (llrintf): Likewise.
58549         (llrint): Likewise.
58550         (rint): Likewise.
58551         (rintf): Likewise.
58552         (nearbyint): Likewise.
58553         (nearbyintf): Likewise.
58555 2012-05-09  Andreas Jaeger  <aj@suse.de>
58556             Pedro Alves  <palves@redhat.com>
58558         * nscd/nscd.c (run_mode): Use enum.
58559         (main): Cleanup coding style issue.
58561 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
58562             Andreas Jaeger  <aj@suse.de>
58564         * nscd/nscd.c (go_background): Replaced with...
58565         (run_mode): ... this.
58566         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
58567         (options): Add -F --foreground.
58568         (main): Implement it.
58569         (parse_opt): Parse it.
58571 2012-05-09  Andreas Jaeger  <aj@suse.de>
58573         [BZ #14083]
58574         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
58575         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
58576         -Wconversion warning.
58577         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
58578         Likewise.
58580 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
58582         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
58583         == 0.
58584         (LC_ALL): Use macro-int-constant.
58585         (LC_COLLATE): Likewise.
58586         (LC_CTYPE): Likewise.
58587         (LC_MESSAGES): Likewise.
58588         (LC_MONETARY): Likewise.
58589         (LC_NUMERIC): Likewise.
58590         (LC_TIME): Likewise.
58591         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
58592         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58593         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58594         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
58595         Specify type.
58596         [C99-based standards] (float_t): Expect type.
58597         [C99-based standards] (double_t): Expect type.
58598         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
58599         type.
58600         [C99-based standards] (HUGE_VALL): Likewise.
58601         [C99-based standards] (INFINITY): Likewise.
58602         [C99-based standards] (NAN): Likewise.
58603         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
58604         [C99-based standards] (FP_NAN): Likewise.
58605         [C99-based standards] (FP_NORMAL): Likewise.
58606         [C99-based standards] (FP_SUBNORMAL): Likewise.
58607         [C99-based standards] (FP_ZERO): Likewise.
58608         [C99-based standards] (FP_FAST_FMA): Use
58609         optional-macro-int-constant.  Specify type.  Require == 1.
58610         [C99-based standards] (FP_FAST_FMAF): Likewise.
58611         [C99-based standards] (FP_FAST_FMAL): Likewise.
58612         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
58613         [C99-based standards] (FP_ILOGBNAN): Likewise.
58614         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
58615         Specify type.
58616         [C99-based standards] (MATH_ERREXCEPT): Likewise.
58617         [C99-based standards] (math_errhandling): Specify type.
58618         [ISO99 || ISO11] (signgam): Do not allow.
58619         [non-C99-based standards] (copysignf): Do not allow.
58620         [non-C99-based standards] (exp2f): Likewise.
58621         [non-C99-based standards] (log2f): Likewise.
58622         [non-C99-based standards] (modff): Allow.
58623         [non-C99-based standards] (erff): Do not allow.
58624         [non-C99-based standards] (erfcf): Likewise.
58625         [non-C99-based standards] (gammaf): Likewise.
58626         [non-C99-based standards] (hypotf): Likewise.
58627         [non-C99-based standards] (j0f): Likewise.
58628         [non-C99-based standards] (j1f): Likewise.
58629         [non-C99-based standards] (jnf): Likewise.
58630         [non-C99-based standards] (lgammaf): Likewise.
58631         [non-C99-based standards] (tgammaf): Likewise.
58632         [non-C99-based standards] (y0f): Likewise.
58633         [non-C99-based standards] (y1f): Likewise.
58634         [non-C99-based standards] (ynf): Likewise.
58635         [non-C99-based standards] (isnanf): Likewise.
58636         [non-C99-based standards] (acoshf): Likewise.
58637         [non-C99-based standards] (asinhf): Likewise.
58638         [non-C99-based standards] (atanhf): Likewise.
58639         [non-C99-based standards] (cbrtf): Likewise.
58640         [non-C99-based standards] (expm1f): Likewise.
58641         [non-C99-based standards] (ilogbf): Likewise.
58642         [non-C99-based standards] (log1pf): Likewise.
58643         [non-C99-based standards] (logbf): Likewise.
58644         [non-C99-based standards] (nextafterf): Likewise.
58645         [non-C99-based standards] (remainderf): Likewise.
58646         [non-C99-based standards] (rintf): Likewise.
58647         [non-C99-based standards] (scalbf): Likewise.
58648         [non-C99-based standards] (copysignl): Likewise.
58649         [non-C99-based standards] (exp2l): Likewise.
58650         [non-C99-based standards] (log2l): Likewise.
58651         [non-C99-based standards] (modfl): Allow.
58652         [non-C99-based standards] (erfl): Do not allow.
58653         [non-C99-based standards] (erfcl): Likewise.
58654         [non-C99-based standards] (gammal): Likewise.
58655         [non-C99-based standards] (hypotl): Likewise.
58656         [non-C99-based standards] (j0l): Likewise.
58657         [non-C99-based standards] (j1l): Likewise.
58658         [non-C99-based standards] (jnl): Likewise.
58659         [non-C99-based standards] (lgammal): Likewise.
58660         [non-C99-based standards] (tgammal): Likewise.
58661         [non-C99-based standards] (y0l): Likewise.
58662         [non-C99-based standards] (y1l): Likewise.
58663         [non-C99-based standards] (ynl): Likewise.
58664         [non-C99-based standards] (isnanl): Likewise.
58665         [non-C99-based standards] (acoshl): Likewise.
58666         [non-C99-based standards] (asinhl): Likewise.
58667         [non-C99-based standards] (atanhl): Likewise.
58668         [non-C99-based standards] (cbrtl): Likewise.
58669         [non-C99-based standards] (expm1l): Likewise.
58670         [non-C99-based standards] (ilogbl): Likewise.
58671         [non-C99-based standards] (log1pl): Likewise.
58672         [non-C99-based standards] (logbl): Likewise.
58673         [non-C99-based standards] (nextafterl): Likewise.
58674         [non-C99-based standards] (remainderl): Likewise.
58675         [non-C99-based standards] (rintl): Likewise.
58676         [non-C99-based standards] (scalbl): Likewise.
58677         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58678         [non-C99-based standards] (FP_*): Do not allow.
58679         [C99-based standards] (FP_*): Change to
58680         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58681         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58682         allow.
58683         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
58684         (SIG_ERR): Likewise.
58685         [X/Open-based standards] (SIG_HOLD): Likewise.
58686         (SIG_IGN): Likewise.
58687         (SIGABRT): Use macro-int-constant.  Specify type.  Require
58688         positive value.
58689         (SIGFPE): Likewise.
58690         (SIGILL): Likewise.
58691         (SIGINT): Likewise.
58692         (SIGSEGV): Likewise.
58693         (SIGTER): Likewise.
58694         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
58695         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
58696         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
58697         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
58698         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
58699         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
58700         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
58701         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
58702         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
58703         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
58704         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
58705         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
58706         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
58707         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
58708         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
58709         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
58710         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
58711         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
58712         [X/Open-based standards] (SIGTRAP): Likewise.
58713         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
58714         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
58715         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
58716         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
58717         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58718         allow.
58720 2012-05-08  Ian Wienand  <ianw@vmware.com>
58722         [BZ #14080]
58723         * time/tzset.c (__tzset_parse_tz): Update default rules for
58724         daylight time changes in the Energy Policy Act of 2005.
58726 2012-05-09  Andreas Jaeger  <aj@suse.de>
58728         [BZ #13983]
58729         * elf/ldconfig.c (parse_conf): Change string to make clear that
58730         ldconfig only issued a warning if ld.so.conf does not exist.
58732 2012-05-08  David S. Miller  <davem@davemloft.net>
58734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
58735         movxtod instead of popping the value on the stack.
58737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58739 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
58741         * config.h.in: Add HAVE_ARM_PCS_VFP.
58743 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
58745         [BZ #13979]
58746         * include/features.h: Warn if user requests __FORTIFY_SOURCE
58747         checking but the checks are disabled for any reason.
58749 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
58751         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
58752         and ELF64_R_TYPE with ELFW(R_TYPE).
58754 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
58756         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
58757         (ulimit): Likewise.
58759         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
58760         (settimeofday): Likewise.
58762 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
58764         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
58765         a struct th_u2 inside the union, and move tu_block/tu_code into
58766         a new th_u3 union of tu_block/tu_code inside of that.  Move
58767         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
58768         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
58769         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
58770         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
58771         (th_stuff): Change to th_u1.tu_stuff.
58772         (th_data): Define.
58773         (th_msg): Change to th_u1.th_u2.tu_data.
58775 2012-05-07  David S. Miller  <davem@davemloft.net>
58777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58779         [BZ #14074]
58780         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
58781         (SETUP_PIC_REG): Use it.
58782         (SETUP_PIC_REG_LEAF): Use it.
58784 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
58786         [BZ #13885]
58787         [BZ #13923]
58788         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58789         USE_AS_EXPM1L.
58790         (EXPL_FINITE): Likewise.
58791         (FLDLOG): Likewise.
58792         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58793         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58794         e_expl.S.
58795         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58796         USE_AS_EXPM1L.
58797         (EXPL_FINITE): Likewise.
58798         (FLDLOG): Likewise.
58799         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58800         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58801         e_expl.S.
58802         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
58803         test of -max_value argument for long double.
58804         * sysdeps/i386/fpu/libm-test-ulps: Update.
58805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58807 2012-05-06  David S. Miller  <davem@davemloft.net>
58809         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
58810         quad soft-float symbols whose references which are compiler
58811         generated.
58812         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58814 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
58816         [BZ #13884]
58817         [BZ #13914]
58818         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58819         USE_AS_EXP10L.
58820         (EXPL_FINITE): Likewise.
58821         (FLDLOG): Likewise.
58822         (c0): Likewise.
58823         (c1): Likewise.
58824         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58825         Adjust comments for base varying.
58826         (__expl_finite): Change alias to EXPL_FINITE.
58827         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
58828         e_expl.S.
58829         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
58830         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
58831         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58832         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
58833         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58834         USE_AS_EXP10L.
58835         (EXPL_FINITE): Likewise.
58836         (FLDLOG): Likewise.
58837         (c0): Likewise.
58838         (c1): Likewise.
58839         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58840         Adjust comments for base varying.
58841         (__expl_finite): Change alias to EXPL_FINITE.
58842         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
58843         tests for bugs.
58844         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58846         [BZ #14064]
58847         * math/libm-test.inc (check_float_internal): Correct ulp
58848         calculation for subnormal expected results.
58850 2012-05-06  Andreas Jaeger  <aj@suse.de>
58852         * Makeconfig (+math-flags): New, set to -frounding-math.
58853         (+cflags): Add +math-flags so that all of glibc gets compiled with
58854         it.
58856         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
58858 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
58860         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
58861         Disable one test.
58863         [BZ #13787]
58864         [BZ #13922]
58865         [BZ #14036]
58866         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
58867         (__ieee754_expl): Allow for and saturate large arguments.
58868         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
58869         (u_threshold): Likewise.
58870         (__exp): Call __ieee754_exp before checking for overflow and
58871         underflow.
58872         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
58873         (u_threshold): Likewise.
58874         (__expf): Call __ieee754_expf before checking for overflow and
58875         underflow.
58876         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
58877         (u_threshold): Likewise.
58878         (__expl): Call __ieee754_expl before checking for overflow and
58879         underflow.
58880         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
58881         (__ieee754_expl): Allow for and saturate large arguments.
58882         * math/libm-test.inc (exp_test): Add another test.  Do not allow
58883         missing overflow exception on overflow.
58884         (expm1_test): Do not allow missing overflow exception on overflow.
58886         * sysdeps/i386/fpu/e_expl.c: Move to ...
58887         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
58888         rather than using inline asm.
58889         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
58890         * sysdeps/x86_64/fpu/e_expl.S: Copy from
58891         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
58893         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
58894         (nice): Likewise.
58895         (poll): Likewise.
58896         (signal): Likewise.
58897         (time): Likewise.
58898         (times): Likewise.
58900 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58902         * sysdeps/unix/syscalls.list (adjtime): Add entry from
58903         sysdeps/unix/common/syscalls.list.
58904         (fchmod): Likewise.
58905         (fchown): Likewise.
58906         (ftruncate): Likewise.
58907         (getrusage): Likewise.
58908         (gettimeofday): Likewise.
58909         (setpgid): Likewise.
58910         (setregid): Likewise.
58911         (setreuid): Likewise.
58912         (sigaction): Likewise.
58913         (truncate): Likewise.
58914         (vhangup): Likewise.
58915         * sysdeps/unix/common/syscalls.list: Remove file.
58916         * sysdeps/unix/bsd/Implies: Don't include unix/common.
58917         * sysdeps/unix/sysv/linux/Implies: Likewise.
58919 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
58921         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
58922         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
58923         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
58924         Moved to ...
58925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
58926         Here.
58927         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
58928         to ...
58929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
58930         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
58931         to ...
58932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
58933         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
58934         to ...
58935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
58936         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
58937         to ...
58938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
58939         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
58940         to ...
58941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
58942         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
58943         to ...
58944         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
58945         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
58946         to ...
58947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58948         Here.
58949         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
58950         to ...
58951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
58952         Here.
58953         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
58954         to ...
58955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
58956         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
58957         Moved to ...
58958         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
58959         Here.
58960         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
58961         to ...
58962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
58964 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58966         * sysdeps/unix/common/bits/dirent.h: Remove file.
58967         * sysdeps/unix/common/bits/fcntl.h: Likewise.
58969         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
58970         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
58971         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
58972         * sysdeps/unix/bsd/isatty.c: Likewise.
58973         * sysdeps/unix/bsd/tcdrain.c: Likewise.
58974         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
58975         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
58977 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58979         [BZ #13563]
58980         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
58981         long double comparison inaccuracies.
58982         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58985 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
58987         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
58988         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
58990 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58992         [BZ #14049]
58993         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
58994         nonzero digits before rounding a hex value.
58995         * stdlib/tst-strtod.c (tests): Add another test.
58997 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58999         * sysdeps/s390/fpu/libm-test-ulps: Update.
59001 2012-05-03  Andreas Jaeger  <aj@suse.de>
59003         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
59004         does not get optimized out.
59005         (malloc_opt_barrier): New.
59007 2012-05-03  Andreas Jaeger  <aj@suse.de>
59008             Roland McGrath  <roland@hack.frob.com>
59010         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
59011         intermediate file deletion.
59012         (generated): Add .symlist files.
59014 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
59016         [BZ #13775]
59017         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
59018         Redirect under this condition.
59019         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59020         [__USE_GNU] (__dprintf_chk): Not under this condition.
59021         [__USE_GNU] (__vdprintf_chk): Likewise.
59022         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
59023         under this condition.
59024         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59025         [__USE_XOPEN2K8] (dprintf): Define under this condition.
59026         [__USE_XOPEN2K8] (vdprintf): Likewise.
59027         [__USE_GNU] (__dprintf_chk): Not under this condition.
59028         [__USE_GNU] (__vdprintf_chk): Likewise.
59029         [__USE_GNU] (dprintf): Likewise.
59030         [__USE_GNU] (vdprintf): Likewise.
59032 2012-05-03  Roland McGrath  <roland@hack.frob.com>
59034         * elf/Makefile (common-generated): Set this instead of generated for
59035         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
59036         $(all-built-dso)-derived lists.
59038 2012-05-03  Andreas Jaeger  <aj@suse.de>
59040         * sysdeps/i386/fpu/libm-test-ulps: Update.
59042         * FAQ: Removed.
59043         * FAQ.in: Likewise.
59044         * scripts/gen-FAQ.pl: Likewise.
59045         * manual/install.texi (Installation): Point to online location of
59046         FAQ.
59047         * Makefile (files-for-dist): Remove FAQ.
59048         (FAQ): Remove.
59050 2012-05-02  Allan McRae  <allan@archlinux.org>
59052         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
59053         (LDFLAGS-reldepmod5.so): Likewise.
59054         (LDFLAGS-reldep6mod1.so): Likewise.
59055         (LDFLAGS-reldep6mod4.so): Likewise.
59056         (LDFLAGS-reldep8mod3.so): Likewise.
59057         (LDFLAGS-unload4mod1.so): Likewise.
59058         (LDFLAGS-unload4mod2.so): Likewise.
59059         (LDFLAGS-tst-initorder): Likewise.
59060         (LDFLAGS-tst-initordera2.so): Likewise.
59061         (LDFLAGS-tst-initordera3.so): Likewise.
59062         (LDFLAGS-tst-initordera4.so): Likewise.
59063         (LDFLAGS-tst-initorderb2.so): Likewise.
59064         (LDFLAGS-noload): Likewise.
59065         (LDFLAGS-next): Likewise.
59066         (LDFLAGS-order2mod1.so): Likewise.
59067         (LDFLAGS-order2mod2.so): Likewise.
59068         (LDFLAGS-tst-initorder2): Likewise.
59069         (LDFLAGS-tst-initorder2a.so): Likewise.
59070         (LDFLAGS-tst-initorder2b.so): Likewise.
59071         (LDFLAGS-tst-initorder2c.so): Likewise.
59072         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
59074 2012-05-02  David S. Miller  <davem@davemloft.net>
59076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59078 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
59080         [BZ #14055]
59081         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
59083 2012-05-02  Andreas Jaeger  <aj@suse.de>
59085         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
59086         since we manipulate rounding mode.
59087         (CPPFLAGS-test-idouble.c): Likewise.
59088         (CPPFLAGS-test-ifloat.c): Likewise.
59089         (CFLAGS-test-ldouble.c): Likewise.
59090         (CFLAGS-test-double.c): Likewise.
59091         (CFLAGS-test-float.c): Likewise.
59092         (CFLAGS-test-misc.c): Likewise.
59093         (CFLAGS-test-test-fenv.c): Likewise.
59095 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59097         [BZ #2550]
59098         [BZ #2570]
59099         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
59100         comparisons to determine direction to adjust input.
59102 2012-05-01  Roland McGrath  <roland@hack.frob.com>
59104         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
59105         output to the target.
59107         * scripts/localplt.awk: New file.
59108         * elf/Makefile ($(objpfx)check-localplt): Target removed.
59109         (check-localplt-CFLAGS): Variable removed.
59110         ($(all-built-dso:=.jmprel)): New static pattern rule.
59111         (generated): Add those targets.
59112         (localplt-built-dso): New variable.
59113         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
59115         * elf/check-localplt.c: File removed.
59117         * scripts/check-execstack.awk: New file.
59118         * elf/Makefile ($(objpfx)check-execstack): Target removed.
59119         (check-execstack-CFLAGS): Variable removed.
59120         ($(objpfx)check-execstack.h): Target removed.
59121         ($(objpfx)execstack-default): New target.
59122         (generated): Add that instead of check-execstack.h.
59123         ($(all-built-dso:=.phdr)): New static pattern rule.
59124         (generated): Add those targets.
59125         * elf/check-execstack.c: File removed.
59127         * scripts/check-textrel.awk: New file.
59128         * elf/Makefile ($(objpfx)check-textrel): Target removed.
59129         (check-textrel-CFLAGS): Variable removed.
59130         (all-built-dso): Use := to define.o
59131         ($(all-built-dso:=.dyn)): New static pattern rule.
59132         (generated): Add those targets.
59133         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
59134         * config.make.in (READELF): New substituted variable.
59135         * elf/check-textrel.c: File removed.
59137 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59139         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59140         allow.
59141         * conform/data/ctype.h-data [C99-based standards] (isblank):
59142         Expect function.
59143         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
59144         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
59145         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59146         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
59147         Specify type.  Require positive value.
59148         (EILSEQ): Likewise.
59149         (ERANGE): Likewise.
59150         [ISO || POSIX] (EILSEQ): Do not expect.
59151         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
59152         Specify type.  Require positive value.
59153         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
59154         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
59155         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
59156         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
59157         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
59158         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
59159         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
59160         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
59161         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
59162         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
59163         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
59164         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
59165         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
59166         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
59167         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
59168         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
59169         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
59170         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
59171         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
59172         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
59173         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
59174         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
59175         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
59176         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
59177         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
59178         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
59179         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
59180         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
59181         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
59182         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
59183         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
59184         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
59185         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
59186         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
59187         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
59188         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
59189         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
59190         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
59191         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
59192         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
59193         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
59194         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
59195         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
59196         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
59197         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
59198         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
59199         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
59200         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
59201         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
59202         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
59203         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
59204         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
59205         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
59206         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
59207         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
59208         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
59209         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
59210         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
59211         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
59212         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
59213         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
59214         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
59215         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
59216         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
59217         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
59218         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
59219         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
59220         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
59221         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
59222         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
59223         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
59224         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
59225         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
59226         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
59227         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
59228         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
59229         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
59230         Require >= 2.
59231         (FLT_ROUNDS): Expect as macro, not constant.
59232         (FLT_MANT_DIG): Use macro-int-constant.
59233         (DBL_MANT_DIG): Likewise.
59234         (LDBL_MANT_DIG): Likewise.
59235         (FLT_DIG): Likewise.
59236         (DBL_DIG): Likewise.
59237         (LDBL_DIG): Likewise.
59238         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
59239         (DBL_MIN_EXP): Likewise.
59240         (LDBL_MIN_EXP): Likewise.
59241         (FLT_MAX_EXP): Use macro-int-constant.
59242         (DBL_MAX_EXP): Likewise.
59243         (LDBL_MAX_EXP): Likewise.
59244         (FLT_MAX_10_EXP): Likewise.
59245         (DBL_MAX_10_EXP): Likewise.
59246         (LDBL_MAX_10_EXP): Likewise.
59247         (FLT_MAX): Use macro-constant.
59248         (DBL_MAX): Likewise.
59249         (LDBL_MAX): Likewise.
59250         (FLT_EPSILON): Use macro-constant.  Give upper bound.
59251         (DBL_EPSILON): Likewise.
59252         (LDBL_EPSILON): Likewise.
59253         (FLT_MIN): Likewise.
59254         (DBL_MIN): Likewise.
59255         (LDBL_MIN): Likewise.
59256         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
59257         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
59258         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
59259         [ISO11] (FLT_HAS_SUBNORM): Likewise.
59260         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
59261         [ISO11] (DBL_DECIMAL_DIG): Likewise.
59262         [ISO11] (FLT_DECIMAL_DIG): Likewise.
59263         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
59264         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
59265         [ISO11] (FLT_TRUE_MIN): Likewise.
59266         [ISO11] (LDBL_TRUE_MIN): Likewise.
59267         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59268         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
59269         (SCHAR_MIN): Use macro-int-constant.  Specify type.
59270         (SCHAR_MAX): Likewise.
59271         (UCHAR_MAX): Likewise.
59272         (CHAR_MIN): Likewise.
59273         (CHAR_MAX): Likewise.
59274         (MB_LEN_MAX): Use macro-int-constant.
59275         (SHRT_MIN): Use macro-int-constant.  Specify type.
59276         (SHRT_MAX): Likewise.
59277         (USHRT_MAX): Likewise.
59278         (INT_MAX): Likewise.
59279         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
59280         bound negative.
59281         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59282         bound with "U".
59283         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59284         bound with "L".
59285         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
59286         bound negative.  Suffix upper bound with "L".
59287         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59288         bound with "UL".
59289         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
59290         Specify type.
59291         [C99-based standards] (LLONG_MAX): Likewise.
59292         [C99-based standards] (ULLONG_MAX): Likewise.
59293         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
59294         == 0.
59295         [ISO11] (max_align_t): Require type.
59296         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59298         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
59299         from $CFLAGS, without defining away __attribute__ calls.
59300         (checknamespace): Use $CFLAGS_namespace.
59302         * conform/conformtest.pl (@keywords): Only include C99 keywords
59303         for standards based on C99 or C11.
59305         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
59306         Disable tests.
59307         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
59308         UNIX98]: Likewise.
59310         * conform/conformtest.pl: Handle "macro-int-constant" and test for
59311         usability of symbols in #if.
59313         * conform/conformtest.pl: If macro or constant types start
59314         "promoted:", expect the symbol to be of the following type
59315         promoted by the integer promotions.
59317         * conform/conformtest.pl: Parse all "constant" and "macro" lines
59318         in one place.  Also handle "macro-constant".
59320         * conform/conformtest.pl: Only accept expected macro values with
59321         "==".  Parse all "macro" lines in one place.
59322         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
59324         * conform/conformtest.pl: Handle braced types on "constant" lines
59325         instead of handling "typed-constant".
59326         * conform/data/signal.h-data: Use "constant" instead of
59327         "typed-constant".
59329         * conform/conformtest.pl: Handle "optional-" at start of lines in
59330         one place rather than duplicating several cases.  Handle each
59331         format of "macro" line with initial "optional-".
59333         * conform/conformtest.pl: Only accept expected constant or
59334         optional-constant values with "==".  Parse all "constant" lines in
59335         one place.  Parse all "optional-constant" lines in one place.
59336         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
59337         * conform/data/fmtmsg.h-data: Likewise.
59338         * conform/data/netinet/in.h-data: Likewise.
59339         * conform/data/tar.h-data: Likewise.
59340         * conform/data/limits.h-data: Use "==" form on "constant" and
59341         "optional-constant" lines.
59343         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
59344         Use -std=c99 for XOPEN2K.
59345         (@knownproblems): Remove.
59346         (newtoken): Don't check %isknown.
59348         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
59349         Do not expect macro.
59350         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
59351         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
59352         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
59353         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
59354         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
59355         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
59356         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
59357         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
59358         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
59359         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
59360         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
59361         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
59362         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
59363         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
59364         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
59365         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
59366         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
59367         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
59368         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
59369         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
59370         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
59371         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
59372         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
59373         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
59374         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
59375         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
59376         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
59377         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
59378         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
59379         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
59380         [XPG3] (acosh): Likewise.
59381         [XPG3] (asinh): Likewise.
59382         [XPG3] (atanh): Likewise.
59383         [XPG3] (cbrt): Likewise.
59384         [XPG3] (expm1): Likewise.
59385         [XPG3] (ilogb): Likewise.
59386         [XPG3] (log1p): Likewise.
59387         [XPG3] (logb): Likewise.
59388         [XPG3] (nextafter): Likewise.
59389         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
59390         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
59391         [XPG3] (remainder): Likewise.
59392         [XPG3] (rint): Likewise.
59393         [XPG3 || XPG4 || UNIX98] (round): Likewise.
59394         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
59395         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
59396         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
59397         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
59398         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
59399         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
59400         [UNIX98 || XOPEN2K] (scalb): Expect.
59401         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
59402         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
59403         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
59404         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
59405         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
59406         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
59407         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
59408         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
59409         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
59410         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
59411         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
59412         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
59413         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
59414         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
59415         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
59416         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
59417         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
59418         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
59419         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
59420         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
59421         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
59422         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
59423         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
59424         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
59425         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
59426         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
59427         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
59428         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
59429         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
59430         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
59431         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
59432         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
59433         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
59434         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
59435         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
59436         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
59437         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
59438         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
59439         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
59440         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
59441         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
59442         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
59443         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
59444         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
59445         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
59446         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
59447         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
59448         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
59449         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
59450         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
59451         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
59452         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
59453         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
59454         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
59455         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
59456         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
59457         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
59458         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
59459         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
59460         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
59461         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
59462         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
59463         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
59464         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
59465         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
59466         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
59467         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
59468         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
59469         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
59470         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
59471         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
59472         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
59473         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
59474         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
59475         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
59476         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
59477         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
59478         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
59479         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
59480         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
59481         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
59482         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
59483         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
59484         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
59485         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
59486         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
59487         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
59488         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
59489         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
59490         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
59491         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
59492         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
59493         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
59494         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
59495         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
59496         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
59497         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
59498         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
59499         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
59500         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
59501         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
59502         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
59503         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
59504         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
59505         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
59506         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
59507         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
59508         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
59509         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
59510         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
59511         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
59512         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
59513         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
59514         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
59515         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
59516         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
59517         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
59518         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
59519         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
59520         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
59521         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
59522         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
59523         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
59524         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
59525         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
59526         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
59527         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
59528         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
59529         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
59530         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
59531         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
59532         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
59533         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
59534         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
59535         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
59536         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
59537         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
59539         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
59540         _XOPEN_SOURCE_EXTENDED for XPG4.
59542         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
59544         * Makeconfig (localtime): Remove variable.
59545         (inst_localtime-file): Likewise.
59547 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
59550         Update.
59551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59552         Update.
59553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
59554         Update.
59555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59556         Update.
59557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
59558         Update.
59559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
59560         Update.
59561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59562         Update.
59563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
59564         Update.
59565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59566         Update.
59568 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59570         [BZ #2550]
59571         [BZ #2570]
59572         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
59573         comparisons to determine direction to adjust input.
59574         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
59575         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
59576         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
59577         Likewise.
59578         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
59579         Likewise.
59580         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59581         Likewise.
59582         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
59583         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
59584         Likewise.
59585         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
59586         Likewise.
59587         * math/libm-test.inc (nexttoward_test): Add more tests.
59589 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59591         [BZ #14040]
59592         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
59593         in version GLIBC_2.1, not GLIBC_2.0.
59594         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
59595         Likewise.
59597 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
59599         [BZ #13942]
59600         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
59601         (1 - x) * (1 + x).
59602         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59603         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
59604         * math/libm-test.inc (acos_test): Add more tests.
59605         (asin_test): Likewise.
59606         * sysdeps/i386/fpu/libm-test-ulps: Update.
59607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59609         [BZ #14034]
59610         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
59611         of square root.
59612         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
59613         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59614         * math/libm-test.inc (acos_test_tonearest): New function.
59615         (acos_test_towardzero): Likewise.
59616         (acos_test_downward): Likewise.
59617         (acos_test_upward): Likewise.
59618         (asin_test_tonearest): Likewise.
59619         (asin_test_towardzero): Likewise.
59620         (asin_test_downward): Likewise.
59621         (asin_test_upward): Likewise.
59622         (main): Call the new functions.
59623         * sysdeps/i386/fpu/libm-test-ulps: Update.
59624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59626         [BZ #13884]
59627         [BZ #13924]
59628         * math/e_exp10.c: Include <float.h>.
59629         (__ieee754_exp10): Handle underflow here rather than multiplying
59630         large negative argument by M_LN10.
59631         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
59632         of __ieee754_expf.
59633         * math/e_exp10l.c: Include <float.h>.
59634         (__ieee754_exp10l): Handle underflow here rather than multiplying
59635         large negative argument by M_LN10l.
59636         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
59637         spurious overflow exception on underflow.
59639 2012-04-29  Marek Polacek  <polacek@redhat.com>
59641         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
59642         (__fortify_function): New macro.
59643         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
59644         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
59645         __extern_always_inline.
59646         * libio/bits/stdio2.h: Likewise.
59647         * libio/bits/stdio.h: Likewise.
59648         * string/string.h: Likewise.
59649         * string/bits/string3.h: Likewise.
59650         * include/stdio.h: Likewise.
59651         * stdlib/bits/stdlib.h: Likewise.
59652         * stdlib/stdlib.h: Likewise.
59653         * rt/bits/mqueue2.h: Likewise.
59654         * rt/mqueue.h: Likewise.
59655         * posix/bits/unistd.h: Likewise.
59656         * posix/unistd.h: Likewise.
59657         * io/bits/poll2.h: Likewise.
59658         * io/bits/fcntl2.h: Likewise.
59659         * io/fcntl.h: Likewise.
59660         * io/sys/poll.h: Likewise.
59661         * misc/bits/syslog.h: Likewise.
59662         * misc/bits/syslog-ldbl.h: Likewise.
59663         * misc/sys/syslog.h: Likewise.
59664         * socket/bits/socket2.h: Likewise.
59665         * socket/sys/socket.h: Likewise.
59666         * debug/tst-chk1.c: Likewise.
59667         * wcsmbs/bits/wchar2.h: Likewise.
59668         * wcsmbs/bits/wchar-ldbl.h: Likewise.
59669         * wcsmbs/wchar.h: Likewise.
59671 2012-04-29  Andreas Jaeger  <aj@suse.de>
59673         * Makerules (tests): Remove enable-check-abi protection.
59674         (check-abi-warn): Remove.
59675         (check-abi-%): Remove check-abi-warn usage.
59677         * configure.in: Remove check-abi configure option.
59678         * configure: Regenerated.
59679         * config.make.in (enable-check-abi): Remove.
59681 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
59683         [BZ #14033]
59684         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
59685         double functions to double *_finite functions.
59687         [BZ #13941]
59688         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
59689         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
59690         LDBL_MIN_EXP.
59691         * stdio-common/Makefile (tests): Add tst-sprintf3.
59692         * stdio-common/tst-sprintf3.c: New file.
59694         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
59695         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
59697 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59699         * conform/conformtest.pl: Remove duplicate typed-constant
59700         handling.
59702 2012-04-28  David S. Miller  <davem@davemloft.net>
59704         * Makerules (%.abilist): Add vpath on sysdep_dirs.
59705         (check-abi-%): Remove AWK script prerequisite and explicit
59706         abilist directory.
59707         (check-abi): Rewrite to just diff the symlist with the abilist.
59708         (config-tls, config-abi-config): Delete, no longer used.
59709         (update-abi-%): Remove AWK script and explicit abilist directory.
59710         (update-abi): Rewrite to simply compare and conditionally copy the
59711         symlist and the sysdep abilist file.  Remove update-abi-config
59712         checks.
59713         * abilist/ld.abilist: Remove.
59714         * abilist/libBrokenLocale.abilist: Remove.
59715         * abilist/libanl.abilist: Remove.
59716         * abilist/libcrypt.abilist: Remove.
59717         * abilist/libdl.abilist: Remove.
59718         * abilist/librt.abilist: Remove.
59719         * abilist/libthread_db.abilist: Remove.
59720         * abilist/libutil.abilist: Remove.
59721         * scripts/extract-abilist.awk: Remove.
59722         * scripts/merge-abilist.awk: Remove.
59723         * sysdeps/generic/libcidn.abilist: New file.
59724         * sysdeps/generic/libnss_compat.abilist: New file.
59725         * sysdeps/generic/libnss_db.abilist: New file.
59726         * sysdeps/generic/libnss_dns.abilist: New file.
59727         * sysdeps/generic/libnss_files.abilist: New file.
59728         * sysdeps/generic/libnss_hesiod.abilist: New file.
59729         * sysdeps/generic/libnss_nis.abilist: New file.
59730         * sysdeps/generic/libnss_nisplus.abilist: New file.
59731         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
59732         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
59733         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
59734         file.
59735         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
59736         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
59737         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
59738         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
59739         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
59740         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
59741         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
59742         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
59743         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
59744         file.
59745         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
59746         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
59747         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
59748         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
59749         file.
59750         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
59751         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
59752         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
59753         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
59754         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
59755         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
59756         file.
59757         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
59758         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
59759         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
59760         file.
59761         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
59762         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
59763         New file.
59764         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
59765         New file.
59766         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
59767         New file.
59768         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
59769         New file.
59770         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
59771         New file.
59772         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
59773         New file.
59774         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
59775         New file.
59776         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
59777         New file.
59778         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
59779         New file.
59780         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
59781         New file.
59782         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
59783         New file.
59784         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
59785         New file.
59786         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
59787         New file.
59788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
59789         file.
59790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
59791         New file.
59792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
59793         New file.
59794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
59795         file.
59796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
59797         New file.
59798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
59799         New file.
59800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
59801         file.
59802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
59803         New file.
59804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59805         New file.
59806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
59807         New file.
59808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
59809         New file.
59810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
59811         New file.
59812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
59813         New file.
59814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
59815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
59816         file.
59817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
59818         New file.
59819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
59820         file.
59821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
59822         file.
59823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
59824         file.
59825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
59826         file.
59827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
59828         file.
59829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59830         New file.
59831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
59832         file.
59833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
59834         file.
59835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
59836         New file.
59837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
59838         file.
59839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
59840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
59841         file.
59842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
59843         New file.
59844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
59845         file.
59846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
59847         file.
59848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
59849         file.
59850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
59851         file.
59852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
59853         file.
59854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59855         New file.
59856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
59857         file.
59858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
59859         file.
59860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
59861         New file.
59862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
59863         file.
59864         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59865         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
59866         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
59867         file.
59868         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
59869         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
59870         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
59871         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
59872         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
59873         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
59874         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
59875         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
59876         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
59877         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
59878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
59879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
59880         file.
59881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
59882         New file.
59883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
59884         file.
59885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
59886         file.
59887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
59888         file.
59889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
59890         file.
59891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
59892         file.
59893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59894         New file.
59895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
59896         New file.
59897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
59898         file.
59899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
59900         New file.
59901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
59902         file.
59903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
59904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
59905         file.
59906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
59907         New file.
59908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
59909         file.
59910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
59911         file.
59912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
59913         file.
59914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
59915         file.
59916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
59917         file.
59918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59919         New file.
59920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
59921         New file.
59922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
59923         file.
59924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
59925         New file.
59926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
59927         file.
59929 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59931         * conform/conformtest.pl: Fix typo in handling typed-constant from
59932         allow-header.
59934 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59936         * README: Cut down references to pre-2.6 Linux kernels and
59937         Linuxthreads.  Update lists of configurations in libc and ports
59938         and sort alphabetically.  Say "or newer" with Linux kernel version
59939         requirements.
59941         * config.h.in [IS_IN_build]: Allow compiling without optimization.
59943 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59945         [BZ #887]
59946         * math/libm-test.inc (logb_test_downward): New test to expose
59947         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
59948         rounding mode.
59950 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59952         [BZ #14027]
59953         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
59954         to be done.
59955         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
59956         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
59958 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
59960         * sysdeps/unix/i386/brk.S: Remove file.
59961         * sysdeps/unix/i386/dl-brk.S: Likewise.
59962         * sysdeps/unix/i386/pipe.S: Likewise.
59963         * sysdeps/unix/i386/sigreturn.S: Likewise.
59964         * sysdeps/unix/i386/syscall.S: Likewise.
59965         * sysdeps/unix/i386/vfork.S: Likewise.
59966         * sysdeps/unix/i386/wait.S: Likewise.
59968         * sysdeps/unix/common/tcsendbrk.c: Move to ...
59969         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
59971         * configure.in (arm*-none*): Do not allow without
59972         --enable-hacker-mode.
59973         (netbsd*): Remove case setting base_os.
59974         (386bsd*): Likewise.
59975         (freebsd*): Likewise.
59976         (bsdi*): Likewise.
59977         (osf*): Likewise.
59978         (sunos*): Likewise.
59979         (ultrix*): Likewise.
59980         (newsos*): Likewise.
59981         (dynix*): Likewise.
59982         (*bsd*): Likewise.
59983         (sysv*): Likewise.
59984         (isc*): Likewise.
59985         (esix*): Likewise.
59986         (sco*): Likewise.
59987         (minix*): Likewise.
59988         (irix4*): Likewise.
59989         (irix6*): Likewise.
59990         (solaris[2-9]*): Likewise.
59991         (none): Likewise.
59992         * configure: Regenerated.
59994 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59996         [BZ #11521]
59997         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
59998         overflow or cancellation in calculating denominator.
59999         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
60000         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
60001         down expression to avoid unexpected rounding in newer GCCs.
60002         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
60004 2012-04-26  David S. Miller  <davem@davemloft.net>
60006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
60007         long-double compat symbols.
60008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
60012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60013         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
60014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
60015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
60016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
60017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
60018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
60019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
60020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60022 2012-04-25  David S. Miller  <davem@davemloft.net>
60024         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
60025         HWCAP_* values only after the memory barriers have been defined.
60026         (atomic_full_barrier): Define.
60027         (atomic_read_barrier): Define.
60028         (atomic_write_barrier): Define.
60030 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60032         * shlib-versions: Add libgcc_s version information.
60033         * sysdeps/generic/libgcc_s.h: Remove.
60034         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
60035         libgcc_s.h.
60036         * sysdeps/gnu/unwind-resume.c: Likewise.
60037         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
60039 2012-04-25  David S. Miller  <davem@davemloft.net>
60041         * sysdeps/unix/sparc/brk.S: Delete.
60042         * sysdeps/unix/sparc/dl-brk.S: Delete.
60043         * sysdeps/unix/sparc/pipe.S: Delete.
60044         * sysdeps/unix/sparc/sysdep.S: Delete.
60045         * sysdeps/unix/sparc/sysdep.h: Delete.
60046         * sysdeps/unix/sparc/vfork.S: Delete.
60047         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
60048         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
60049         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
60050         (ret_ERRVAL, r0, r1, MOVE): Define.
60051         (JUMPTARGET): Remove.
60052         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
60053         sysdeps/unix/sparc/sysdep.h
60054         (ENTRY, END): Remove.
60055         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60057 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
60059         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
60060         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
60061         -DIS_IN_build.
60063         * timezone/README: Update upstream location and email address for
60064         tzcode and tzdata.
60065         * timezone/zdump.c: Update from tzcode 2012b.
60066         * timezone/zic.c: Likewise.
60068         * configure.in (libc_cv_as_needed): Remove test.
60069         * configure: Regenerated.
60070         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
60071         conditional definition.
60072         [$(have-as-needed) != yes] (no-as-needed): Likewise.
60073         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
60074         * config.make.in (have-as-needed): Remove variable.
60076 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60077             Paul Pluzhnikov  <ppluzhnikov@google.com>
60079         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
60080         strings correctly.
60082 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
60084         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
60085         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
60086         * sysdeps/sh/strlen.S: Likewise.
60088 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60090         * sysdeps/unix/fork.S: Remove file.
60091         * sysdeps/unix/i386/fork.S: Likewise.
60092         * sysdeps/unix/sparc/fork.S: Likewise.
60094         * sysdeps/unix/system.c: Remove file.
60095         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
60097         * sysdeps/unix/getegid.S: Remove file.
60098         * sysdeps/unix/geteuid.S: Likewise.
60100 2012-04-24  Roland McGrath  <roland@hack.frob.com>
60102         * scripts/check-localplt.awk: New file.
60103         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
60104         of diff.
60105         * scripts/data/localplt-generic.data: Add a comment.
60107         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
60108         NODE when __dir_mkfile failed.
60109         * sysdeps/mach/hurd/symlinkat.c: Likewise.
60110         Reported by Ludovic Courtès <ludo@gnu.org>.
60112 2012-04-24  Andreas Jaeger  <aj@suse.de>
60114         * Makerules (common-clean): Also remove gen-as-const-headers
60115         files.
60117 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60119         * Makerules (native-compile): Do not change working directory for
60120         build.  Use $(OUTPUT_OPTION) in command.
60121         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
60123 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60125         [BZ #13886]
60126         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
60127         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
60128         * math/libm-test.inc (floor_test): Add more tests.
60129         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
60131 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
60133         * sysdeps/unix/getdents.c: Remove file.
60134         * sysdeps/unix/sysv/getdents.c: Likewise.
60135         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
60137         * sysdeps/unix/syscalls.list (madvise): Add syscall from
60138         sysdeps/unix/mman/syscalls.list.
60139         (mmap): Likewise.
60140         (mprotect): Likewise.
60141         (msync): Likewise.
60142         (munmap): Likewise.
60143         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
60144         * sysdeps/unix/mman/syscalls.list: Remove.
60145         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
60147         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
60148         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
60149         * configure: Regenerated.
60150         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
60151         $(libgcc_s_suffix).
60152         * config.make.in (libgcc_s_suffix): Remove variable.
60154 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
60156         * sysdeps/unix/sysv/gethostname.c: Move to ...
60157         * sysdeps/posix/gethostname.c: ... here.
60159         * sysdeps/unix/execve.S: Remove file.
60161         * sysdeps/unix/_exit.S: Remove file.
60163 2012-04-23  Andreas Jaeger  <aj@suse.de>
60165         [BZ #13739]
60166         * manual/Makefile: Remove make dist support, there's no
60167         need for a stand-alone documentation tar ball.
60168         (TEXI2DVI): Define always, it's not in Makeconfig.
60169         (dist): Removed.
60170         (tar-it): Removed.
60171         (edition): Removed.
60172         (glibc-doc-$(edition).tar): Removed
60173         (%.Z): Removed.
60174         (%.gz): Removed.
60175         (%.uu): Removed.
60176         (ETAGS): Remove, it's in Makeconfig.
60177         (move-if-change): Remove, it's in Makeconfig.
60179 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
60181         [BZ #13970]
60182         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
60183         (strtod, strtof, strtold, strtol, strtoul, strtoq)
60184         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
60185         (strtod_l, strtof_l, strtold_l): Remove __wur.
60186         It is not necessarily an error to ignore strtol's return value.
60187         One can reliably look at the stored endptr to decide whether
60188         the number had valid syntax.
60190 2012-04-21  Andreas Jaeger  <aj@suse.de>
60192         [BZ #13739]
60193         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
60195 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
60197         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
60198         * sysdeps/unix/sysv/Versions: Remove file.
60200 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
60202         [BZ #13927]
60203         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60205 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
60207         [BZ #7064]
60208         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
60209         version from __vm86.
60211 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
60213         * sysdeps/unix/common/lxstat.c: Remove file.
60214         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
60216         * sysdeps/unix/sysv/Makefile: Remove file.
60218         * sysdeps/unix/sysv/direct.h: Remove file.
60220         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
60221         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
60222         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
60223         * sysdeps/unix/sysv/bits/signum.h: Likewise.
60224         * sysdeps/unix/sysv/bits/stat.h: Likewise.
60225         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
60226         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
60228         * sysdeps/unix/sysv/setrlimit.c: Remove file.
60230         * sysdeps/unix/xmknod.c: Remove file.
60231         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
60233         * sysdeps/unix/sysv/settimeofday.c: Remove file.
60235         * sysdeps/unix/sysv/i386/time.S: Remove file.
60237         * sysdeps/unix/fxstat.c: Remove file.
60238         * sysdeps/unix/xstat.c: Likewise.
60239         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
60241         * sysdeps/unix/sysv/sigaction.c: Remove file.
60243         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
60244         (sysdep_headers): Remove variable.
60245         [termio.h not in sysdep_headers] (generated): Likewise.
60246         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
60247         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
60248         * sysdeps/unix/sysv/tcdrain.c: Likewise.
60249         * sysdeps/unix/sysv/tcflow.c: Likewise.
60250         * sysdeps/unix/sysv/tcflush.c: Likewise.
60251         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
60252         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
60253         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
60254         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
60255         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
60257         * sysdeps/unix/siglist.c: Remove file.
60259         * sysdeps/unix/getppid.S: Remove file.
60261         * sysdeps/unix/mkdir.c: Remove file.
60262         * sysdeps/unix/rmdir.c: Likewise.
60264 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
60266         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
60267         ERR_MAX value.
60268         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
60269         errlist-compat value.
60271 2012-04-18  David S. Miller  <davem@davemloft.net>
60273         * sysdeps/generic/memcopy.h (reg_char): Delete.
60274         * debug/strcat_chk.c: Use char, not reg_char.
60275         * debug/strcpy_chk.c: Likewise.
60276         * debug/strncat_chk.c: Likewise.
60277         * debug/strncpy_chk.c: Likewise.
60278         * string/memchr.c: Likewise.
60279         * string/memrchr.c: Likewise.
60280         * string/rawmemchr.c: Likewise.
60281         * string/strcat.c: Likewise.
60282         * string/strchr.c: Likewise.
60283         * string/strchrnul.c: Likewise.
60284         * string/strcmp.c: Likewise.
60285         * string/strcpy.c: Likewise.
60286         * string/strncat.c: Likewise.
60287         * string/strncmp.c: Likewise.
60288         * string/strncpy.c: Likewise.
60290 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60292         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
60293         __builtin_memcopy is called when src and dest ranges are known to not
60294         overlap.
60296 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60298         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
60299         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
60300         fwd_align_merge macro call.
60301         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
60302         bwd_align_merge macro call.
60303         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60305 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60307         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
60308         bwd_align_merge macros.
60309         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
60310         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
60311         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60313 2012-04-18  David S. Miller  <davem@davemloft.net>
60315         * sysdeps/sparc/sparc64/memcopy.h: Delete.
60317 2012-04-18  Andreas Jaeger  <aj@suse.de>
60319         [BZ# 6794]
60320         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
60321         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
60322         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60324         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
60325         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
60326         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60328         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
60329         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
60330         Adjust for changed ldbl-128 files.
60332         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
60333         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
60334         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60336 2012-04-17  David S. Miller  <davem@davemloft.net>
60338         * sysdeps/sparc/sparc32/memcopy.h: Delete.
60340 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
60342         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
60343         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
60344         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
60345         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
60346         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60347         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
60349 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60351         [BZ #6794]
60352         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
60353         * math/libm-test.inc: Add ilogb errno and exception tests.
60354         * math/w_ilogb.c: New file: ilogb wrapper.
60355         * math/w_ilogbf.c: New file: ilogbf wrapper.
60356         * math/w_ilogbl.c: New file: ilogbl wrapper.
60357         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
60358         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
60359         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
60360         exception being thrown with 0.0 as argument.
60361         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
60362         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
60363         exception being thrown with 0.0 as argument.
60364         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
60365         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60366         exception being thrown with 0.0 as argument.
60367         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
60368         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60369         exception being thrown with 0.0 as argument.
60370         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
60371         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
60372         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
60373         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
60374         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
60375         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
60376         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
60377         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
60378         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
60380 2012-04-17  Petr Baudis  <pasky@ucw.cz>
60382         * include/sys/uio.h: Change __vector to __iovec to avoid clash
60383         with altivec.
60385 2012-04-16  Marek Polacek  <polacek@redhat.com>
60387         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
60389 2012-04-16  Marek Polacek  <polacek@redhat.com>
60391         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
60392         operands of fdivp instruction.
60394 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60396         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
60397         * elf/tst-auditmod3b.c: Likewise.
60398         * elf/tst-auditmod4b.c: Likewise.
60399         * elf/tst-auditmod5b.c: Likewise.
60400         * elf/tst-auditmod6b.c: Likewise.
60401         * elf/tst-auditmod6c.c: Likewise.
60402         * elf/tst-auditmod7b.c: Likewise.
60403         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
60404         * sysdeps/x86_64/preconfigure.in: Likewise.
60405         * sysdeps/x86_64/preconfigure: Regenerated.
60407 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60409         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
60410         __ILP32__.
60412 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
60414         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60415         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
60417 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
60419         [BZ #13973]
60420         * locale/iso-639.def: Fix gl language name. Spotted by
60421         Yaron Shahrabani.
60423 2012-04-12  Roland McGrath  <roland@hack.frob.com>
60425         [BZ #2074]
60426         * libio/libio.h (__io_write_fn): Update comment.
60428 2012-04-12  Petr Baudis  <pasky@ucw.cz>
60430         [BZ #2074]
60431         * stdio.texi (Hook Functions): The user provided writer function
60432         is not allowed to return -1.
60434 2012-04-11  David S. Miller  <davem@davemloft.net>
60436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60438 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
60440         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
60441         Add a leading slash to rtkaio.
60443 2012-04-11  Jim Meyering  <meyering@redhat.com>
60445         [BZ #11959]
60446         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
60447         It is not necessarily an error to ignore fwrite's return
60448         value.  One can reliably use ferror to test for errors after
60449         the fact.
60451 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60453         * bits/types.h (__snseconds_t): New type.
60454         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
60456         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
60457         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60458         (__SNSECONDS_T_TYPE): Likewise.
60459         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60460         (__SNSECONDS_T_TYPE): Likewise.
60461         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60462         (__SNSECONDS_T_TYPE): Likewise.
60464 2012-04-10  Andreas Jaeger  <aj@suse.de>
60466         [BZ #2636]
60467         * manual/time.texi (Processor Time): Return type of times is
60468         elapsed real time since an arbitrary point in the past.
60469         (CPU Time): Move CLK_TCK from here...
60470         (Processor Time): ...to here.  Correct description.
60471         * manual/conf.texi (Constants for Sysconf): Correct description of
60472         _SC_CLK_TCK.
60474 2012-04-10  David S. Miller  <davem@davemloft.net>
60476         [BZ #13967]
60477         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
60478         where the is a gap between DT_REL(A) and DT_JMPREL.
60480 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60482         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
60483         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60484         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60486 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60488         * elf/dl-support.c (_dl_inhibit_cache): New variable.
60489         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
60490         (dl_main): Handle --inhibit-cache.
60491         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
60492         _dl_inhibit_cache.
60493         * elf/dl-load.c (_dl_map_object): Use it.
60494         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
60496 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60498         [BZ #13872]
60499         * sysdeps/i386/fpu/e_powl.S (p78): New object.
60500         (__ieee754_powl): Saturate large exponents rather than testing for
60501         overflow of y*log2(x).
60502         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60503         * math/libm-test.inc (pow_test): Do not permit spurious overflow
60504         exceptions.
60506         [BZ #11521]
60507         * math/s_ctan.c: Include <float.h>.
60508         (__ctan): Avoid internal overflow or cancellation in calculating
60509         denominator.
60510         * math/s_ctanf.c: Likewise.
60511         * math/s_ctanl.c: Likewise.
60512         * math/s_ctanh.c: Likewise.
60513         * math/s_ctanhf.c: Likewise.
60514         * math/s_ctanhl.c: Likewise.
60515         * math/libm-test.inc (ctan_test): Add more tests.
60516         (ctanh_test): Likewise.
60517         * sysdeps/i386/fpu/libm-test-ulps: Update.
60518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60520 2012-04-09  Andreas Jaeger  <aj@suse.de>
60522         [BZ #6894]
60523         * manual/filesys.texi (Directory Entries): Mention that d_namlen
60524         is an optional BSD extension.
60526         [BZ #10254]
60527         * manual/stdio.texi (Opening Streams): Document additional fopen
60528         parameters.
60530 2012-04-09  Roland McGrath  <roland@hack.frob.com>
60532         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
60533         %eax without telling the compiler.
60535 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
60537         [BZ # 13963]
60538         * manual/install.texi: Use sourceware.org.
60540 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60542         [BZ #13873]
60543         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
60544         (__ieee754_pow): Generate overflow and underflow using huge*huge
60545         and tiny*tiny rather than just returning constant infinity or zero
60546         for large exponents.
60547         * math/libm-test.inc (pow_test): Require overflow exceptions for
60548         applicable cases of large exponents.
60550         [BZ #706]
60551         * sysdeps/i386/fpu/e_pow.S (p10): New object.
60552         (__ieee754_pow): Use iterative multiplication algorithm only for
60553         integer exponents with absolute value below 1024.  Check for odd
60554         integer exponents when using algorithm for real exponents.
60555         * math/libm-test.inc (pow_test): Add more tests.
60556         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60558 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
60560         [BZ #13705]
60561         * math/libm-test.inc (exp_test): Do not allow overflow exception
60562         on underflow test.
60564 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
60566         [BZ #13705]
60567         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
60568         instead of __kernel_standard_f.
60570 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
60572         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
60573         * sysdeps/x86_64/memset_chk.S: Likewise.
60575 2012-04-08  Andreas Jaeger  <aj@suse.de>
60577         [BZ #10153]
60578         * manual/startup.texi (Environment Access): Describe return value
60579         for putenv and setenv.
60581         [BZ #6895]
60582         * manual/filesys.texi (Directory Entries): Add description for
60583         DT_LNK.
60585         [BZ #6890]
60586         * manual/filesys.texi (Directory Entries): Clarify that it's file
60587         system not operating system in the description of DT_UNKNOWN.
60589         [BZ #6578]
60590         * manual/syslog.texi (closelog): Fix reference, it's openlog.
60592 2012-04-08  Stephen Compall  <s11@member.fsf.org>
60594         [BZ #6649]
60595         * manual/llio.texi (Opening and Closing Files): Add cross
60596         reference to explain mode argument.
60598 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
60600         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
60601         * sysdeps/x86_64/memset_chk.S: Likewise.
60603 2012-04-07  David S. Miller  <davem@davemloft.net>
60605         * elf/elf.h (R_SPARC_WDISP10): Define.
60606         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
60607         R_SPARC_SIZE32.
60608         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
60609         R_SPARC_SIZE64 and R_SPARC_H34.
60611 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
60613         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
60614         conditions and remove no longer applicable assertion.
60616 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60618         * bits/byteswap.h: Include <features.h>.
60619         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60620         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60622 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60624         * bits/byteswap.h (__bswap_16): Removed.
60625         Include <bits/byteswap-16.h> to get __bswap_16.
60626         * sysdeps/i386/bits/byteswap.h: Likewise.
60627         * sysdeps/s390/bits/byteswap.h: Likewise.
60628         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60629         * bits/byteswap-16.h: New file.
60630         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60631         * sysdeps/s390/bits/byteswap-16.h: Likewise.
60632         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
60633         * string/Makefile (headers): Add bits/byteswap-16.h.
60635 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60637         [BZ #13895]
60638         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
60639         extra indirection.
60640         * nss/Makefile (tests-static, tests): Add tst-nss-static.
60641         * nss/tst-nss-static.c: New.
60643 2012-04-06  Robert Millan  <rmh@gnu.org>
60645         [BZ #6486]
60646         * manual/llio.texi (File Position Primitive): lseek
60647         refers to WHENCE when it really means OFFSET.
60649 2012-04-06  Andreas Jaeger  <aj@suse.de>
60651         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
60652         strncmp declarations.
60654         * abilist/libc.abilist: Add __poll and __ppoll.
60656 2012-04-05  David S. Miller  <davem@davemloft.net>
60658         * scripts/check-local-headers.sh: Accept a host triplet in the
60659         path matched by the exclude regexp.
60661         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
60662         definition.
60663         * sysdeps/powerpc/powerpc32/dl-machine.h
60664         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
60665         * sysdeps/s390/s390-32/dl-machine.h
60666         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60667         * sysdeps/sparc/sparc32/dl-machine.h
60668         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60669         * sysdeps/sparc/sparc64/dl-machine.h
60670         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60672         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
60673         lazy binding.
60674         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
60675         undefined symbol errors.
60677         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
60678         DT_NEEDED entries.
60680 2012-04-05  Michael Matz  <matz@suse.de>
60682         [BZ #13592]
60683         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
60685 2012-04-05  Andreas Jaeger  <aj@suse.de>
60687         [BZ #13908]
60688         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
60689         comment.
60691 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60693         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
60694         which ROUND is no valid rounding mode.
60696 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60698         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
60699         read again.
60700         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
60702 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60704         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
60705         an exception using FPU order intentionally.
60707 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60709         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
60710         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
60711         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
60712         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
60714 2012-04-05  Simon Josefsson  <simon@josefsson.org>
60716         [BZ #12340]
60717         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
60718         EINVAL when BUFLEN is too smal.
60720 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60722         [BZ #13553]
60723         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
60724         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
60726 2012-04-03  Andreas Jaeger  <aj@suse.de>
60728         [BZ #13938]
60729         * manual/setjmp.texi (System V contexts): Fix sentence.
60731         [BZ #13926]
60732         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
60733         New macro for this case.
60734         [!__GNUC__] (__bswap_64): New inline function for this case.
60735         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60736         * bits/byteswap.h: Likewise.
60737         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
60738         ull, guard with __GLIBC_HAVE_LONG_LONG.
60740         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
60741         __GLIBC_HAVE_LONG_LONG.
60743         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
60744         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
60746 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60748         [BZ #13691]
60749         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
60750         inptr and inend, rather than using last_ch.
60752 2012-04-02  David S. Miller  <davem@davemloft.net>
60754         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
60755         * stdio-common/printf-parse.h (read_int): Change return type to
60756         'int', return -1 on INT_MAX overflow.
60757         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
60758         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
60759         overflows INT_MAX.  Check for overflow of in-format-string precision
60760         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
60761         SIZE_MAX not INT_MAX for integer overflow test.
60762         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
60763         skip the construct in the format string but do not record anything.
60764         * stdio-common/bug22.c: Adjust to test both width/prevision
60765         INT_MAX overflow as well as total length INT_MAX overflow.  Check
60766         explicitly for proper errno values.
60768 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60770         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
60771         CHAR_MAX.
60772         * string/test-strcmp.c [! WIDE]: Likewise.
60773         * time/tst-mktime2.c: Likewise for INT_MAX.
60774         * string/test-string.h: #include <sys/param.h> for MIN.
60776         * csu/init-first.c (__libc_init_first): Call __ctype_init.
60777         * sysdeps/i386/init-first.c (init): Likewise.
60778         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
60779         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
60780         * sysdeps/sh/init-first.c (init): Likewise.
60782 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
60784         * po/ru.po: Update from translation team.
60785         * po/vi.po: Likewise.
60787 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60789         * resolv/nss_dns/dns-host.c: Merge copyright years.
60791 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60793         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60794         Optimize memcpy with prefetch if
60795         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
60796         src, dst pointers have unequal 16 byte alignments.
60798 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60800         [BZ #13928]
60801         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
60802         from a CNAME entry and return the minimum ttl for the query.
60803         (gaih_getanswer_slice): Likewise.
60805 2012-03-30  Jeff Law  <law@redhat.com>
60807         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
60808         due to long keys.
60809         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
60810         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
60812         * resolv/nss_dns/dns-host.c: Update copyright year.
60814 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
60816         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
60817         requests to save a system call.  Fix check that all bytes are sent.
60819         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
60820         comments for sendmmsg.
60822 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60824         [BZ #13691]
60825         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
60826         with only 1 character between 0x0041 and 0x01b0.
60827         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
60828         * wcsmbs/tst-mbsnrtowcs.c: New file.
60830 2012-03-29  David S. Miller  <davem@davemloft.net>
60832         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
60833         small copies by hand.
60835 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60837         [BZ #13761]
60838         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
60839         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
60840         group memberships.
60842 2012-03-28  David S. Miller  <davem@davemloft.net>
60844         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
60845         that branches into memcpy.
60846         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60847         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
60848         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60849         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
60850         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
60851         bits.
60852         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
60853         implementation too.
60854         * sysdeps/sparc/mempcpy.S: New file.
60856         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
60857         the IFUNC routine in the libc case.
60858         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60860         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
60861         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
60862         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
60863         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
60864         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
60865         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
60866         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
60867         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
60869         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
60870         loop to 256 bytes instead of 64 bytes and fix test signedness.
60872         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
60873         * sysdeps/sparc/sparc32/Makefile: rather than here...
60874         * sysdeps/sparc/sparc64/Makefile: and here.
60876 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
60878         * malloc/mallocbug.c: Avoid warnings about unused variables.
60880 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60882         [BZ #13760]
60883         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
60884         in the right place. Discard and retry query if response is
60885         larger than input buffer size.
60887 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
60889         [BZ #369]
60890         [BZ #2678]
60891         [BZ #3866]
60892         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
60893         x for large integer exponent.
60894         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60895         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
60896         sign of result as needed afterwards.
60897         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60898         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
60899         result for underflowing pow the same as for overflow.
60900         (__kernel_standard_l): Handle powl overflow and underflow here
60901         rather than calling __kernel_standard.
60902         * math/libm-test.inc (pow_test): Add more tests.
60904         [BZ #3868]
60905         [BZ #13879]
60906         [BZ #13910]
60907         [BZ #13911]
60908         [BZ #13912]
60909         [BZ #13913]
60910         [BZ #13915]
60911         [BZ #13916]
60912         [BZ #13917]
60913         [BZ #13918]
60914         [BZ #13919]
60915         [BZ #13920]
60916         [BZ #13921]
60917         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
60918         * sysdeps/ieee754/k_standard.c: Include <float.h>.
60919         (__kernel_standard_l): New function.
60920         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
60921         __kernel_standard.
60922         * math/w_acosl.c (__acosl): Likewise.
60923         * math/w_asinl.c (__asinl): Likewise.
60924         * math/w_atan2l.c (__atan2l): Likewise.
60925         * math/w_atanhl.c (__atanhl): Likewise.
60926         * math/w_coshl.c (__coshl): Likewise.
60927         * math/w_exp10l.c (__exp10l): Likewise.
60928         * math/w_exp2l.c (__exp2l): Likewise.
60929         * math/w_fmodl.c (__fmodl): Likewise.
60930         * math/w_hypotl.c (__hypotl): Likewise.
60931         * math/w_j0l.c (__j0l, __y0l): Likewise.
60932         * math/w_j1l.c (__j1l, __y1l): Likewise.
60933         * math/w_jnl.c (__jnl, __ynl): Likewise.
60934         * math/w_lgammal.c (__lgammal): Likewise.
60935         * math/w_log10l.c (__log10l): Likewise.
60936         * math/w_log2l.c (__log2l): Likewise.
60937         * math/w_logl.c (__logl): Likewise.
60938         * math/w_powl.c (__powl): Likewise.
60939         * math/w_remainderl.c (__remainderl): Likewise.
60940         * math/w_scalbl.c (sysv_scalbl): Likewise.
60941         * math/w_sinhl.c (__sinhl): Likewise.
60942         * math/w_sqrtl.c (__sqrtl): Likewise.
60943         * math/w_tgammal.c (__tgammal): Likewise.
60944         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
60945         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
60946         * math/libm-test.inc (acos_test): Add more tests.
60947         (acosh_test): Likewise.
60948         (asin_test): Likewise.
60949         (atanh_test): Likewise.
60950         (exp_test): Likewise.
60951         (exp10_test): Likewise.
60952         (exp2_test): Likewise.
60953         (expm1_test): Likewise.
60954         (lgamma_test): Likewise.
60955         (log_test): Likewise.
60956         (log10_test): Likewise.
60957         (log1p_test): Likewise.
60958         (log2_test): Likewise.
60959         (pow_test): Do not allow some spurious overflow exceptions.
60960         (sqrt_test): Add more tests.
60961         (tgamma_test): Likewise.
60962         (y0_test): Likewise.
60963         (y1_test): Likewise.
60964         (yn_test): Likewise.
60966 2012-03-27  Anton Blanchard  <anton@samba.org>
60968         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
60969         MAP_HUGETLB.
60970         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60971         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60972         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60974 2012-03-27  David S. Miller  <davem@davemloft.net>
60976         * conform/Makefile: Run run-conformtest.sh using $(BASH).
60978         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
60979         have-as-vis3 check.
60981 2012-03-27  Andreas Jaeger  <aj@suse.de>
60983         * sysdeps/x86_64/elf/configure.in: Moved to ...
60984         * sysdeps/x86_64/configure.in: ... here.
60985         * sysdeps/x86_64/elf/start.S: Moved to ...
60986         * sysdeps/x86_64/start.S: ... here.
60987         * sysdeps/x86_64/elf/configure: Delete.
60989         * sysdeps/x86_64/configure.in: Merge contents from
60990         sysdeps/i386/configure.in (without i686 check).
60992         * sysdeps/i386/elf/Versions: Merge into ...
60993         * sysdeps/i386/Versions: ... this.
60994         * sysdeps/i386/elf/Versions: Delete file.
60995         * sysdeps/i386/elf/start.S: Moved to ...
60996         * sysdeps/i386/start.S: ...here.
60997         * sysdeps/i386/elf/configure.in: Merge into...
60998         * sysdeps/i386/configure.in: ...here.
60999         * sysdeps/i386/elf/configure.in: Delete file.
61000         * sysdeps/i386/elf/configure: Delete file.
61002         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
61003         * debug/backtracesyms.c: ... here.
61004         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
61005         * debug/backtracesymsfd.c: ... here.
61006         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
61007         * sysdeps/generic/ifunc-sel.h: ... here.
61009         * sysdeps/unix/i386/start.c: Delete file.
61010         * sysdeps/unix/sparc/start.c: Delete file.
61011         * sysdeps/unix/start.c: Delete file.
61013         * sysdeps/sh/elf/configure.in: Moved to ...
61014         * sysdeps/sh/configure.in: ... here.
61015         * sysdeps/sh/elf/start.S: Moved to ...
61016         * sysdeps/sh/start.S: ... here.
61017         * sysdeps/sh/elf/configure: Delete file.
61019         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
61020         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
61021         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
61022         * sysdeps/powerpc/powerpc64/entry.h: ... here.
61023         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
61024         * sysdeps/powerpc/powerpc64/start.S: here.
61025         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
61026         * sysdeps/powerpc/powerpc64/Makefile: ... this.
61027         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
61028         * sysdeps/powerpc/powerpc64/configure.in: ... this.
61029         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
61031         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
61032         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
61033         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
61034         * sysdeps/powerpc/powerpc32/start.S: ... here.
61035         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
61036         * sysdeps/powerpc/powerpc32/configure.in: ... this.
61037         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
61039         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
61040         * sysdeps/powerpc/ifunc-sel.h: ... here.
61041         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
61042         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
61044         * sysdeps/sparc/elf/configure.in: Moved to ...
61045         * sysdeps/sparc/configure.in: ... here.
61046         * sysdeps/sparc/elf/configure: Delete file.
61047         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
61048         * sysdeps/sparc/sparc32/start.S: ... here.
61049         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
61050         * sysdeps/sparc/sparc64/start.S: ... here.
61051         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
61052         * sysdeps/sparc/sparc32/Makefile: ... this.
61053         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
61054         * sysdeps/sparc/sparc64/Makefile: ... this.
61056         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
61057         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
61058         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
61059         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
61060         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
61061         * sysdeps/s390/s390-32/setjmp.S: ... here.
61062         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
61063         * sysdeps/s390/s390-32/configure.in: ... here.
61064         * sysdeps/s390/s390-32/elf/configure: Delete file.
61065         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
61066         * sysdeps/s390/s390-32/start.S: ... here.
61068         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
61069         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
61070         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
61071         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
61072         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
61073         * sysdeps/s390/s390-64/setjmp.S: ... here.
61074         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
61075         * sysdeps/s390/s390-64/configure.in: ... here
61076         * sysdeps/s390/s390-64/elf/configure: Delete file.
61077         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
61078         * sysdeps/s390/s390-64/start.S: ... here.
61079         * sysdeps/s390/s390-64/elf/configure: Delete.
61081         * configure.in: Remove support for elf directories in sysdeps.
61083         * configure: Regenerated.
61084         * sysdeps/i386/configure: Regenerated.
61085         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61086         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61087         * sysdeps/s390/s390-32/configure: Regenerated.
61088         * sysdeps/s390/s390-64/configure: Regenerated.
61089         * sysdeps/sh/configure: Regenerated.
61090         * sysdeps/sparc/configure: Regenerated.
61091         * sysdeps/x86_64/configure: Regenerated.
61093 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
61095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61097         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
61098         denormal result into account.
61100 2012-03-25  Roland McGrath  <roland@hack.frob.com>
61102         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
61103         Reported by Allan McRae <allan@archlinux.org>.
61105 2012-03-23  Jeff Law  <law@redhat.com>
61107         * nss/getnssent.c (__nss_getent): Fix typo.
61109 2012-03-23  David S. Miller  <davem@davemloft.net>
61111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61113 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
61115         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
61116         to pad to uint64_t for each field.
61117         (dl_tls_index): Replace unsigned long with uint64_t.
61119 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
61120         Paul Pluzhnikov  <ppluzhnikov@google.com>
61122         [BZ #6528]
61123         * grp/Makefile (otherlibs): Don't set it.
61124         * inet/Makefile (otherlibs): Likewise.
61125         * login/Makefile (otherlibs): Likewise.
61126         * nscd/Makefile (otherlibs): Likewise.
61127         * posix/Makefile (otherlibs): Likewise.
61128         * pwd/Makefile (otherlibs): Likewise.
61129         * rt/Makefile (otherlibs): Likewise.
61130         * sunrpc/Makefile (otherlibs): Likewise.
61131         * nss/Makefile (otherlibs): Likewise.
61132         Add libnss_files to routines and static-only-routines.
61133         ($(objpfx)getent): Remove rule.
61134         * resolv/Makefile: Add libnss_dns and libresolv to routines and
61135         static-only-routines.
61137 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61139         [BZ #13892]
61140         * math/s_cexp.c: Include <float.h>.
61141         (__cexp): Handle exp result overflowing not necessarily
61142         overflowing both real and imaginary parts of result.
61143         * math/s_cexpf.c: Likewise.
61144         * math/s_cexpl.c: Likewise.
61145         * math/libm-test.inc (cexp_test): Add more tests.
61146         * sysdeps/i386/fpu/libm-test-ulps: Update.
61147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61149 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61151         * include/link.h (ELFW): New macro.
61152         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
61153         Replace ELF64_R_TYPE with ELFW(R_TYPE).
61155 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61157         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
61158         with uint64_t.
61160 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61162         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
61163         declaration.
61164         (struct La_x32_retval): Likewise.
61166 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
61168         * sysdeps/x86_64/preconfigure.in: New file.
61169         * sysdeps/x86_64/preconfigure: New generated file.
61171 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
61173         [BZ #13824]
61174         * math/e_exp2l.c: Include <float.h>.
61175         (__ieee754_exp2l): Handle overflow and underflow cases
61176         separately.  Only pass fractional part of argument to
61177         __ieee754_expl.
61178         * math/libm-test.inc (exp2_test): Add more tests.
61180         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
61181         negating x to take absolute value.
61182         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
61183         Likewise.
61184         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61185         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
61186         Likewise.
61187         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
61188         computing low part if x was negated.
61189         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61191 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61193         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
61194         la_x32_gnu_pltexit.
61195         (pltexit): Cast int_retval to ptrdiff_t.
61196         * elf/tst-auditmod3b.c: Likewise.
61197         * elf/tst-auditmod4b.c: Likewise.
61198         * elf/tst-auditmod5b.c: Likewise.
61199         * elf/tst-auditmod6b.c: Likewise.
61200         * elf/tst-auditmod6c.c: Likewise.
61201         * elf/tst-auditmod7b.c: Likewise.
61203         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
61204         and x32_gnu_pltexit.
61206         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
61207         __ELF_NATIVE_CLASS.
61208         (La_x32_regs): New macro.
61209         (La_x32_retval): Likewise.
61210         (la_x32_gnu_pltenter): New function prototype.
61211         (la_x32_gnu_pltexit): Likewise.
61213 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
61215         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
61216         exponent.
61218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61220         * configure.in (libc_cv_cc_nofma): Check for option to disable
61221         generation of FMA instructions.
61222         * configure: Regenerate.
61223         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
61224         * sysdeps/ieee754/dbl-64/Makefile: New file.
61225         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
61226         Remove brandred-fma4.
61227         (CFLAGS-brandred-fma4.c): Remove.
61228         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
61229         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
61230         define.
61231         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
61232         define.
61234 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61236         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61237         LLONG_MAX != LONG_MAX.
61238         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61239         (_fitoa_word): Likewise.
61240         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
61241         LLONG_MAX != LONG_MAX.
61242         * stdio-common/_itowa.h: Include <_itoa.h>.
61243         (_itowa_word): Use _ITOA_WORD_TYPE on value.
61244         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
61245         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
61246         only if not defined.
61247         (_ITOA_WORD_TYPE): Likewise.
61248         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61249         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
61251 2012-03-21  David S. Miller  <davem@davemloft.net>
61253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61255 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61257         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
61258         of x86_64 when setting libc_cv_slibdir, libdir and
61259         libc_cv_localedir.
61260         * sysdeps/unix/sysv/linux/configure: Regenerated.
61262 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61264         * manual/lang.texi (Old Varargs): Remove section.
61265         (How Variadic): Update menu.
61266         (va_start): Do not mention varargs.h.
61268 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61269             Joseph Myers  <joseph@codesourcery.com>
61271         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
61272         link test.
61273         * configure: Regenerated.
61275 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61277         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
61278         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
61279         conformtest.pl
61281 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61283         * NOTES: Remove.
61284         * Makefile (files-for-dist): Remove NOTES.
61285         (NOTES): Remove rule.
61286         * README: Don't refer to NOTES.
61287         * manual/creature.texi: Don't include macros.texi.
61288         * manual/intro.texi (creature.texi): Remove comment referring to
61289         NOTES.
61291         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
61292         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
61293         * configure: Regenerated.
61294         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
61295         LIBC_TRY_CC_OPTION.
61296         (libc_cv_as_i686): Likewise.
61297         (libc_cv_cc_avx): Likewise.
61298         (libc_cv_cc_sse2avx): Likewise.
61299         (libc_cv_cc_fma4): Likewise.
61300         (libc_cv_cc_novzeroupper): Likewise.
61301         * sysdeps/i386/configure: Regenerated.
61303         [BZ #13883]
61304         * sysdeps/i386/fpu/s_cexp.S: Remove.
61305         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61306         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61307         * math/libm-test.inc (cexp_test): Add more tests.
61308         * sysdeps/i386/fpu/libm-test-ulps: Update.
61309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61311 2012-03-21  Allan McRae  <allan@archlinux.org>
61313         * timezone/Makefile: Do not install iso3166.tab and zone.tab
61315 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61317         [BZ #13871]
61318         * math/w_exp2.c: Do not include <float.h>.
61319         (o_threshold, u_threshold): Remove.
61320         (__exp2): Calculate result before checking finiteness and calling
61321         __kernel_standard.
61322         * math/w_exp2f.c: Likewise.
61323         * math/w_exp2l.c: Likewise.
61324         * math/libm-test.inc (exp2_test): Require overflow exception for
61325         1e6 input.
61327         [BZ #3866]
61328         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
61329         range of signed 64-bit integers before using fistpll.  Remove
61330         checks for whether integers fit in mantissa bits.
61331         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
61332         the range of signed 32-bit integers before using fistpl.  Remove
61333         checks for whether integers fit in mantissa bits.
61334         * sysdeps/i386/fpu/e_powl.S (p64): New object.
61335         (__ieee754_powl): Test for y outside the range of signed 64-bit
61336         integers before using fistpll.  Reduce 64-bit values to 63-bit
61337         ones as needed.
61338         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
61339         divide-by-zero is raised for zero to large negative powers.
61340         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
61341         (__ieee754_powl): Test for y outside the range of signed 64-bit
61342         integers before using fistpll.  Reduce 64-bit values to 63-bit
61343         ones as needed.
61344         * math/libm-test.inc (pow_test): Add more tests.
61346 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61348         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
61349         <stdio-common/_itoa.h>.
61350         * debug/segfault.c: Likewise.
61351         * elf/dl-cache.c: Likewise.
61352         * elf/dl-minimal.c: Likewise.
61353         * elf/dl-misc.c: Likewise.
61354         * elf/dl-sysdep.c: Likewise.
61355         * elf/dl-version.c: Likewise.
61356         * elf/rtld.c: Likewise.
61357         * hurd/hurdsock.c: Likewise.
61358         * hurd/lookup-retry.c: Likewise.
61359         * malloc/malloc.c: Likewise.
61360         * malloc/mtrace.c: Likewise.
61361         * nscd/nscd_getgr_r.c: Likewise.
61362         * nscd/nscd_getpw_r.c: Likewise.
61363         * nscd/nscd_getserv_r.c: Likewise.
61364         * posix/getopt_init.c: Likewise.
61365         * posix/wordexp.c: Likewise.
61366         * stdio-common/_itoa.c: Likewise.
61367         * stdio-common/printf_fphex.c: Likewise.
61368         * stdio-common/vfprintf.c: Likewise.
61369         * string/_strerror.c: Likewise.
61370         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
61371         * sysdeps/i386/i686/hp-timing.h: Likewise.
61372         * sysdeps/mach/_strerror.c: Likewise.
61373         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
61374         * sysdeps/mach/hurd/sethostid.c: Likewise.
61375         * sysdeps/mach/hurd/xmknodat.c: Likewise.
61376         * sysdeps/mach/xpg-strerror.c: Likewise.
61377         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61378         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61379         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
61380         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
61381         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61382         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
61383         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
61384         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
61385         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
61386         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
61387         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
61388         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61389         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
61390         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61391         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61392         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
61393         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
61394         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
61395         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
61396         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
61397         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
61399         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
61401         * stdio-common/_itoa.h: Moved to ...
61402         * sysdeps/generic/_itoa.h: Here.
61404         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
61406         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
61407         instead of "_itoa.h" and "_itowa.h".
61408         * stdio-common/vfprintf.: Likewise.
61410 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61412         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
61413         <bits/wordsize.h>.
61414         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
61415         (__signbit): Likwise.
61416         (llrintf): Likwise.
61417         (llrint): Likwise.
61419 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61421         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
61422         __WORDSIZE != 64.
61424 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
61426         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
61427         OVERFLOW_EXCEPTION_OK.
61428         * math/libm-test.inc ("Philosophy"): Update comment about
61429         exception testing.
61430         (OVERFLOW_EXCEPTION): Define.
61431         (OVERFLOW_EXCEPTION_OK): Likewise.
61432         (INVALID_EXCEPTION_OK): Renumber.
61433         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61434         (IGNORE_ZERO_INF_SIGN): Likewise.
61435         (test_exceptions): Handle FE_OVERFLOW.
61436         (exp10_test): Expect overflow exceptions.
61437         (exp2_test): Likewise.
61438         (expm1_test): Likewise.
61439         (nextafter_test): Likewise.
61440         (pow_test): Likewise.
61441         (scalbn_test): Likewise.
61442         (scalbln_test): Likewise.
61444 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61446         * sysdeps/x86_64/bits/atomic.h
61447         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
61448         64bit integer.
61449         (atomic_exchange_acq): Likewise.
61450         (__arch_exchange_and_add_body): Likewise.
61451         (__arch_add_body): Likewise.
61452         (atomic_add_negative): Likewise.
61453         (atomic_add_zero): Likewise.
61455 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61457         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
61458         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
61460 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61462         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
61463         Check __x86_64__ instead of __WORDSIZE.
61465 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61467         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
61469 2012-03-19  David S. Miller  <davem@davemloft.net>
61471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61473         * sysdeps/sparc/fpu/fenv_private.h: New file.
61474         * sysdeps/sparc/fpu/math_private.h: Use it.
61475         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
61476         Remove.
61477         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
61478         (libc_feholdexcept_setroundl): Remove.
61479         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
61480         Remove.
61481         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
61482         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
61484 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61486         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
61487         int64_t instead of long int.
61488         (INSERT_WORDS64): Likwise.
61490 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61492         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
61493         _Unwind_GetCFA return to _Unwind_Ptr first.
61495 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
61497         [BZ #13629]
61498         * math/s_clog.c: Include <float.h>.
61499         (__clog): Scale large or subnormal inputs.
61500         * math/s_clogf.c: Likewise.
61501         * math/s_clogl.c: Likewise.
61502         * math/s_clog10.c: Include <float.h>.
61503         (M_LOG10_2): Define.
61504         (__clog10): Scale large or subnormal inputs.
61505         * math/s_clog10f.c: Likewise.
61506         * math/s_clog10l.c: Likewise.
61507         * math/libm-test.inc (clog_test): Add more tests.
61508         (clog10_test): Likewise.
61509         * sysdeps/i386/fpu/libm-test-ulps: Update.
61510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61512         [BZ #11451]
61513         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
61514         x and y.
61515         * math/libm-test.inc (atan2_test): Add another test.
61517         * Makerules (common-objdir-compile): Remove.
61518         * sysdeps/unix/Makefile (config-generated): Do not add
61519         $(unix-generated) to variable.
61520         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
61521         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
61522         Remove rule.
61523         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
61524         Likewise.
61525         [generic bits/local_lim.h] (before-compile): Do not append to
61526         variable.
61527         [generic bits/local_lim.h] (common-generated): Likewise.
61528         [generic sys/param.h] (before-compile): Do not append to variable.
61529         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
61530         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
61531         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
61532         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
61533         include.
61534         [generic sys/param.h] (sys/param.h-includes): Remove variable.
61535         [generic sys/param.h] (sys/param.h-includes): Remove rule.
61536         [generic sys/param.h] ($(addprefix
61537         $(common-objpfx),$(sys/param.h-includes))): Likewise.
61538         [generic sys/param.h] (common-generated): Do not append to
61539         variable.
61540         [generic sys/param.h] (sysdep_headers): Likewise.
61541         [generic bits/errno.h] (before-compile): Do not append to
61542         variable.
61543         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
61544         rule.
61545         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
61546         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
61547         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
61548         [generic bits/errno.h] (common-generated): Do not append to
61549         variable.
61550         [generic bits/ioctls.h] (before-compile): Do not append to
61551         variable.
61552         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
61553         rule.
61554         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
61555         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
61556         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
61557         rule.
61558         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
61559         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
61560         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
61561         [generic bits/ioctls.h] (common-generated): Do not append to
61562         variable.
61563         [generic sys/syscall.h] (syscall.h): Remove variable.
61564         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
61565         rule.
61566         [generic sys/syscall.h] (before-compile): Do not append to
61567         variable.
61568         [generic sys/syscall.h] (common-generated): Likewise.
61569         * sysdeps/unix/errnos-tmpl.c: Remove file.
61570         * sysdeps/unix/errnos.awk: Likewise.
61571         * sysdeps/unix/ioctls-tmpl.c: Likewise.
61572         * sysdeps/unix/ioctls.awk: Likewise.
61573         * sysdeps/unix/mk-local_lim.c: Likewise.
61574         * sysdeps/unix/snarf-ioctls: Likewise.
61576 2012-03-19  Richard Henderson  <rth@twiddle.net>
61578         * sysdeps/i386/fpu/fenv_private.h: New file.
61579         * sysdeps/i386/fpu/math_private.h: Use it.
61580         (math_opt_barrier, math_force_eval): Remove.
61581         (libc_feholdexcept_setround_53bit): Remove.
61582         (libc_feupdateenv_53bit): Remove.
61583         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61584         (math_opt_barrier, math_force_eval): Remove.
61585         (libc_feholdexcept): Remove.
61586         (libc_feholdexcept_setround): Remove.
61587         (libc_fetestexcept, libc_fesetenv): Remove.
61588         (libc_feupdateenv_test): Remove.
61589         (libc_feupdateenv, libc_feholdsetround): Remove.
61590         (libc_feresetround): Remove.
61592         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
61593         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
61595         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
61596         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
61597         (libc_feupdateenv_testl): New.
61598         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
61599         (libc_feupdateenv_testf): New.
61600         (libc_feupdateenv): Use libc_feupdateenv_test.
61601         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
61602         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
61604         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
61605         (libc_feholdsetroundf, libc_feholdsetroundl): New.
61606         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
61607         (libc_feresetround_noex): New.
61608         (libc_feresetround_noexf): New.
61609         (libc_feresetround_noexl): New.
61610         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
61611         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
61612         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
61613         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
61614         SET_RESTORE_ROUND.
61615         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61616         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
61617         (__cos): Likewise.
61618         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
61619         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
61620         SET_RESTORE_ROUND_NOEX.
61621         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
61622         SET_RESTORE_ROUND_NOEXF.
61623         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
61624         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
61625         (libc_feholdsetroundf): New.
61626         (libc_feresetround, libc_feresetroundf): New.
61628         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
61629         (libc_feholdexcept_setround_53bit): Convert from macro to function.
61630         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
61632         * sysdeps/generic/math_private.h: Include <fenv.h>.
61633         (default_libc_feholdexcept): New.
61634         (default_libc_feholdexcept_setround): New.
61635         (default_libc_fesetenv, default_libc_feupdateenv): New.
61636         (libc_feholdexcept): Only define if undefined.
61637         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
61638         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
61639         (libc_feholdexcept_setroundl): Likewise.
61640         (libc_feholdexcept_setround_53bit): Likewise.
61641         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
61642         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
61643         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
61644         (libc_feupdateenv_53bit): Likewise.
61645         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
61646         (libc_feholdexcept): Convert from macro to inline function.
61647         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
61648         (libc_fesetenv, libc_feupdateenv): Likewise.
61650         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
61651         not previously defined.
61652         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
61653         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
61654         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
61655         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
61656         * sysdeps/ieee754/flt-32/math_private.h: New file.
61657         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
61658         math_private.h below SET_FLOAT_WORD.
61659         (__isnan, __isinf_ns, __finite): Remove.
61660         (__isnanf, __isinf_nsf, __finitef): Remove.
61662 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
61664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61666 2012-03-17  David S. Miller  <davem@davemloft.net>
61668         [BZ #6471]
61669         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
61670         for 2.16.
61672 2012-03-16  David S. Miller  <davem@davemloft.net>
61674         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
61675         warnings.
61677         [BZ #6471]
61678         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
61679         properly.
61680         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
61681         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
61682         sysdep_routines when subdir is sysvipc.
61683         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
61684         __getshmlba helper.
61686         * sysdeps/sparc/fpu/libm-test/ulps: Update.
61688 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61690         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
61691         [__LP64__].
61693 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61695         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
61696         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
61697         (__lround): Renamed to ...
61698         (__llround): This.  Replace long int with long long int.
61699         Define lround functions as aliases of llround functions.
61700         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
61702 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61704         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
61705         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
61706         adresses to uintptr_t.  Replace "long int" and "unsigned long
61707         int" with "greg_t" on va_arg.
61709 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61711         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
61712         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
61714         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
61715         Move e_machine check before EI_CLASS check.  Handle x32
61716         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
61717         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
61718         SKIP_EM_IA_64 and include
61719         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
61721         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
61722         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
61723         (add_system_dir): New macro.
61725         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
61726         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
61728 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61730         [BZ #2551]
61731         [BZ #2552]
61732         [BZ #2553]
61733         [BZ #2554]
61734         [BZ #2562]
61735         [BZ #2563]
61736         [BZ #2565]
61737         [BZ #2566]
61738         [BZ #2576]
61739         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
61740         (y0): Likewise.
61741         * math/w_j0f.c (j0f): Likewise.
61742         (y0f): Likewise.
61743         * math/w_j0l.c (__j0l): Likewise.
61744         (__y0l): Likewise.
61745         * math/w_j1.c (j1): Likewise.
61746         (y1): Likewise.
61747         * math/w_j1f.c (j1f): Likewise.
61748         (y1f): Likewise.
61749         * math/w_j1l.c (__j1l): Likewise.
61750         (__y1l): Likewise.
61751         * math/w_jn.c (jn): Likewise.
61752         (yn): Likewise.
61753         * math/w_jnf.c (jnf): Likewise.
61754         (ynf): Likewise.
61755         * math/w_jnl.c (__jnl): Likewise.
61756         (__ynl): Likewise.
61757         * math/libm-test.inc (j0_test): Add more tests.
61758         (j1_test): Likewise.
61759         (jn_test): Likewise.  Add trailing semicolon to existing test.
61760         (y0_test): Likewise.
61761         (y1_test): Likewise.
61762         * sysdeps/i386/fpu/libm-test-ulps: Update.
61763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61765         [BZ #13851]
61766         [BZ #13854]
61767         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
61768         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
61769         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
61770         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
61771         (__tanl): Set errno for infinite argument.
61772         * sysdeps/i386/fpu/mptan.c: Remove.
61773         * sysdeps/i386/fpu/s_tan.S: Likewise.
61774         * sysdeps/i386/fpu/s_tanl.S: Likewise.
61775         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
61776         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
61777         * math/libm-test.inc (tan_test): Add more tests and enable more
61778         tests for double and long double.
61779         * sysdeps/i386/fpu/libm-test-ulps: Update.
61780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61782 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
61784         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
61785         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
61787 2012-03-16  Roland McGrath  <roland@hack.frob.com>
61789         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
61790         * configure.in: Use it for both main tree and add-ons.
61791         * configure: Regenerated.
61793 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61795         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
61797 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61799         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
61800         in comment.
61802         [BZ #13851]
61803         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
61804         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
61805         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
61806         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
61807         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
61808         infinite argument.
61809         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
61810         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
61811         != 0 for prec == 2.
61812         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
61813         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
61814         * sysdeps/i386/fpu/s_cosl.S: Likewise.
61815         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
61816         * sysdeps/i386/fpu/s_sinl.S: Likewise.
61817         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
61818         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
61819         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
61820         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
61821         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
61822         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
61823         * math/libm-test.inc (cos_test): Add more tests and enable more
61824         tests for long double.
61825         (sin_test): Likewise.
61826         (sincos_test): Likewise.
61827         * sysdeps/i386/fpu/libm-test-ulps: Update.
61828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61830 2012-03-16  David S. Miller  <davem@davemloft.net>
61832         * sysdeps/sparc/fpu/math_private.h: New file.
61834 2012-03-15  David S. Miller  <davem@davemloft.net>
61836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
61837         file.
61838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
61839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
61840         file.
61841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
61842         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
61843         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
61844         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
61845         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
61846         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
61847         sysdep routines.
61848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61850         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
61851         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
61853         * sysdeps/sparc/sparc-ifunc.h: New file.
61854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
61855         sparc-ifunc.h
61856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
61858         Likewise.
61859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
61860         Likewise.
61861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
61862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
61863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61865         Likewise.
61866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
61868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
61870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
61871         Likewise.
61872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
61873         Likewise.
61874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
61876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
61877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
61878         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61879         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61880         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
61881         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
61882         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61883         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61884         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
61885         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
61886         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
61887         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
61888         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
61889         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
61890         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
61891         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
61892         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
61893         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
61894         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
61895         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
61896         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
61897         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
61899 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61901         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
61902         scaling.
61903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61905 2012-03-15  Andreas Jaeger  <aj@suse.de>
61907         [BZ #13852]
61908         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
61909         ieee754/flt-32 implementation for sin, cos and sincos.
61910         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
61911         * sysdeps/i386/fpu/s_cosf.S: Likewise.
61912         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
61913         * sysdeps/i386/fpu/s_sinf.S: Likewise.
61914         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
61915         ieee754/flt-32 implementation for tan.
61917         * math/libm-test.inc (cos_test): Enable some large input tests for
61918         float as well
61919         (sin_test): Likewise.
61920         (sincos_test): Likewise.
61921         (tan_test): Add tests for large input.
61923         * sysdeps/i386/fpu/libm-test-ulps: Update.
61925 2012-03-15  Andreas Jaeger  <aj@suse.de>
61927         [BZ #13658]
61928         * math/libm-test.inc (cos_test): Add more test cases.
61929         (sin_test): Likewise.
61930         (sincos_test): Likewise.
61932 2012-03-15  Andreas Jaeger  <aj@suse.de>
61934         [BZ #13837]
61935         * math/libm-test.inc (cos_test): Add a test case for large input
61936         value.
61937         (sin_test): Likewise.
61938         (sincos_test): Likewise.
61940 2012-03-15  Andreas Jaeger  <aj@suse.de>
61941             Joseph Myers  <joseph@codesourcery.com>
61943         [BZ #13658]
61944         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
61945         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
61946         * sysdeps/i386/fpu/branred.c: Likewise.
61947         * sysdeps/i386/fpu/dosincos.c: Likewise.
61948         * sysdeps/i386/fpu/mpa.c: Likewise.
61949         * sysdeps/i386/fpu/s_cos.S: Likewise.
61950         * sysdeps/i386/fpu/s_sin.S: Likewise.
61951         * sysdeps/i386/fpu/s_sincos.S: Likewise.
61952         * sysdeps/i386/fpu/sincos32.c: Likewise.
61954         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
61955         Define.
61956         (libc_feupdateenv_53bit): Define.
61957         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
61958         Define.
61959         (libc_feupdateenv_53bit): Define.
61961         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
61962         53 bit (without extend i386 double precision).
61964         * math/libm-test.inc (sincos_test): Add tests for large input.
61965         (sin): Likewise.
61966         (cos): Likewise.
61968         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
61970 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61974 2012-03-15  David S. Miller  <davem@davemloft.net>
61976         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
61977         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
61978         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
61979         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
61980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
61981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
61982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
61983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
61984         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
61985         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
61986         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
61987         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
61988         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
61989         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
61990         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
61991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
61992         file.
61993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
61994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
61995         file.
61996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
61997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
61998         file.
61999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
62000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
62001         file.
62002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
62003         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
62004         fmin/fmax sysdep routines.
62005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62007 2012-03-14  David S. Miller  <davem@davemloft.net>
62009         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
62010         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
62011         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
62012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
62013         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
62014         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
62015         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
62016         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
62017         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
62018         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
62019         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
62020         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
62021         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
62022         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
62023         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
62024         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
62025         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
62026         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
62027         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
62028         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
62029         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
62030         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
62031         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
62032         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
62033         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
62034         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
62035         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
62036         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
62037         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
62038         routines.
62039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
62040         file.
62041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
62042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
62043         file.
62044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
62045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
62046         file.
62047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
62048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
62049         file.
62050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
62051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
62052         file.
62053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
62054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
62055         file.
62056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
62057         file.
62058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
62059         file.
62060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
62061         file.
62062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
62063         New file.
62064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
62065         file.
62066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
62067         file.
62068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
62069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
62070         file.
62071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
62072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
62073         file.
62074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
62075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
62076         file.
62077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
62078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
62079         VIS3 routines.
62081         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62082         New file.
62084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62086         * sysdeps/sparc/configure.in: New file.
62087         * sysdeps/sparc/configure: Generate.
62088         * configure.in (libc_cv_sparc_as_vis3): Substitute.
62089         * configure: Regenerate.
62090         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
62091         * config.make.in (have-as-vis3): New.
62092         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
62093         available use -Av9d instead of -Av9a.
62094         * sysdeps/sparc/sparc64/Makefile: Likewise.
62095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
62096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
62097         New file.
62098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
62099         file.
62100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
62101         New file.
62102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
62103         file.
62104         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
62105         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
62106         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
62107         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
62108         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
62110         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
62111         fzeros/fnegs to load 0x80000000 into a float register instead of
62112         using the stack.
62113         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
62115 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62117         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62118         bits/syscall.h.
62119         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
62120         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
62121         ($(inst_includedir)/bits/syscall.h): Remove rule.
62122         ($(objpfx)bits/syscall.d): Include instead of
62123         $(objpfx)syscall-list.d.
62124         (generated): Change syscall-list.h and syscall-list.d to
62125         bits/syscall.h and bits/syscall.d.
62127 2012-03-14  Roland McGrath  <roland@hack.frob.com>
62129         [BZ #13846]
62130         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
62132 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
62134         [BZ #13841]
62135         * math/s_csqrt.c: Include <float.h>.
62136         (__csqrt): Scale large or subnormal inputs.
62137         * math/s_csqrtf.c: Likewise.
62138         * math/s_csqrtl.c: Likewise.
62139         * math/libm-test.inc (csqrt_test): Add more tests.
62140         * sysdeps/i386/fpu/libm-test-ulps: Update.
62141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62143         [BZ #13840]
62144         * math/libm-test.inc (hypot_test): Add more tests.
62146 2012-03-13  David S. Miller  <davem@davemloft.net>
62148         [BZ #13840]
62149         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
62150         double-precision for the calculation instead of scaling.
62152 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
62154         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
62155         manipulate bits before adding and subtracting TWO52[sx].
62156         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
62157         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
62158         Likewise.
62159         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
62161 2012-03-13  David S. Miller  <davem@davemloft.net>
62163         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
62164         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
62165         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
62166         rtld-global-offsets.h
62167         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62169         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
62170         large parameters.
62172         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
62174         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
62175         'err' in the ifdef scope in which it is actually used.
62177         * nss/nss_db/db-init.c: Include string.h
62179 2012-03-12  David S. Miller  <davem@davemloft.net>
62181         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62182         masking out of the most significant byte of random value used.
62183         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62184         Fix coding style in previous change.
62186         * sysdeps/unix/sysv/linux/kernel-features.h
62187         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
62188         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
62189         expression.
62190         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
62191         later.
62193 2012-03-11  David S. Miller  <davem@davemloft.net>
62195         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62196         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
62197         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
62198         for 'resultvar' otherwise things get truncated on 64-bit.
62200         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62201         Fix masking out of the most significant byte of random value used.
62203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62205 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
62207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62209 2012-03-09  David S. Miller  <davem@davemloft.net>
62211         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
62212         variables with appropriate CPP guards.
62213         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
62214         from the frame pointer, not the stack pointer.  Correct layout
62215         comments.  Fix test on resulting framesize and the management of
62216         the outregs buffer for pltexit.  Preserve floating point return
62217         values across _dl_call_pltexit call.
62218         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
62219         framesize and the management of the outregs buffer for pltexit.
62220         Preserve floating point return values across _dl_call_pltexit
62221         call.
62222         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
62223         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
62224         (la_sparc64_gnu_pltexit): New functions.
62225         (print_exit): Fix format string for return register value.
62227 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
62229         * sunrpc/Makefile (others): Add rpcgen.
62230         ($(objpfx)rpcgen): Remove special build rule and dependency on
62231         libc.
62232         * sunrpc/rpcgen.c: New file.
62234 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
62236         [BZ #13673]
62237         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
62238         * stdio-common/bug-vfprintf-nargs.c: Likewise.
62239         * sysdeps/i386/crti.S: Likewise.
62240         * sysdeps/i386/crtn.S: Likewise.
62241         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
62242         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
62243         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
62244         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
62245         * sysdeps/sh/crti.S: Likewise.
62246         * sysdeps/sh/crtn.S: Likewise.
62247         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62249         [BZ #13673]
62250         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
62251         with URL.
62252         * locale/programs/locfile-kw.gperf: Likewise.
62253         * locale/programs/charmap-kw.h: Regenerated.
62254         * locale/programs/locfile-kw.h: Likewise.
62256         [BZ #13673]
62257         * intl/plural.y: Replace FSF snail mail address with URL.
62258         * intl/plural.c: Regenerated.
62260 2012-03-09  Richard Henderson  <rth@twiddle.net>
62262         * include/math_private.h: Remove file.
62263         * math/math_private.h: Move file ...
62264         * sysdeps/generic/math_private.h: ... here.
62266         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
62267         * sysdeps/powerpc/fpu/math_private.h: Likewise.
62268         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62270         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
62271         and <math_private.h>.
62272         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62273         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62274         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62275         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62276         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62277         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
62278         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62279         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62280         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62281         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62282         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62283         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62284         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62285         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62286         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62287         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62288         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62289         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62290         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62291         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
62292         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62293         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62294         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62295         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62296         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62297         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62298         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62299         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62300         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62301         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62302         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62303         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62304         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62305         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62306         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62307         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62308         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62309         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62310         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62311         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62312         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
62313         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62314         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62315         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62316         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62317         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62318         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
62319         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62320         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62321         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62322         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62323         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
62324         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62325         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62326         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62327         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62328         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62329         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62330         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62331         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
62332         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62333         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62334         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62335         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62336         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
62337         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62338         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62339         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62340         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
62341         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
62342         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
62343         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62344         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
62345         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62346         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
62347         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
62348         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
62349         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62350         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
62351         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
62352         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62353         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
62354         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62355         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
62356         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62357         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
62358         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
62359         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
62360         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
62361         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62362         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62363         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
62364         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62365         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
62366         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
62367         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
62368         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62369         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
62370         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62371         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
62372         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
62373         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
62374         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
62375         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
62376         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62377         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
62378         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
62379         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
62380         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62381         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62382         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62383         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62384         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
62385         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62386         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
62387         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62388         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62389         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62390         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62391         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62392         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62393         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62394         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62395         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
62396         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62397         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62398         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
62399         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
62400         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62401         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
62402         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
62403         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62404         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62405         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
62406         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
62407         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62408         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
62409         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62410         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
62411         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
62412         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62413         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62414         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62415         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
62416         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
62417         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62418         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62419         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62420         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
62421         * sysdeps/ieee754/k_standard.c: Likewise.
62422         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
62423         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
62424         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62425         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
62426         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
62427         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
62428         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
62429         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
62430         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
62431         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
62432         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62433         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
62434         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
62435         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
62436         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
62437         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
62438         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62439         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
62440         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
62441         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
62442         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
62443         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
62444         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62445         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62446         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62447         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
62448         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62449         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62450         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62451         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62452         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62453         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62454         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62455         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62456         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62457         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62458         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62459         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
62460         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
62461         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62462         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62463         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62464         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62465         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62466         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62467         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62468         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62469         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62470         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62471         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62472         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62473         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62474         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62475         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
62476         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62477         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62478         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
62479         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
62480         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62481         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62482         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62483         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62484         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62485         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
62486         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62487         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62488         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
62489         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
62490         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
62491         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
62492         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
62493         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62494         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
62495         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
62496         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
62497         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
62498         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
62499         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62500         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62501         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62502         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62503         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62504         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62505         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62506         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
62507         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62508         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62509         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
62510         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62511         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62512         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
62513         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62514         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
62515         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62516         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62517         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62518         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
62519         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
62520         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
62521         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
62522         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62523         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62524         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62525         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62526         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
62527         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62528         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62529         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
62530         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
62531         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62532         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62533         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62534         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62535         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62536         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62537         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62538         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62539         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62540         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62541         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62542         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62543         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62544         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62545         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62546         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62547         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
62548         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62549         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62550         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62551         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62552         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62553         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62554         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62555         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
62556         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62557         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62558         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
62559         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
62560         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62561         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
62562         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
62563         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62564         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
62565         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
62566         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62567         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62568         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62569         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62570         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62571         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
62572         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62573         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62574         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62575         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62576         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
62577         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
62578         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62579         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62580         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62581         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
62582         * sysdeps/ieee754/s_lib_version.c: Likewise.
62583         * sysdeps/ieee754/s_matherr.c: Likewise.
62584         * sysdeps/ieee754/s_signgam.c: Likewise.
62585         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62586         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62587         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
62588         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
62589         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
62590         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62591         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
62592         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
62593         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
62594         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
62595         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62596         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
62597         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62598         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62599         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
62600         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62601         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62602         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62603         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62604         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62605         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62607 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62609         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
62610         * sunrpc/rpc_main.c: Likewise.
62611         * sunrpc/rpc_svcout.c: Likewise.
62613 2012-03-09  David S. Miller  <davem@davemloft.net>
62615         * include/math_private.h: New file.
62617 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62619         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
62620         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
62621         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
62622         from <bits/socket_type.h>.
62623         (enum __socket_type): Don't define here.
62624         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
62625         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62626         bits/socket_type.h.
62628         [BZ #13566]
62629         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
62630         checking __USE_GNU.
62632         * Makerules ($(inst_includedir)/%.h): New rule.
62633         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
62634         (install-others): Remove variable setting.
62635         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
62637 2012-03-08  Richard Henderson  <rth@twiddle.net>
62639         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
62640         from macro to inline function; merge with the
62641         !__LIBC_INTERNAL_MATH_INLINES version.
62642         (__ieee754_sqrtf): Likewise.
62644         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
62645         to inline function.
62646         (__rintf, __floor, __floorf): Likewise.
62648         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
62649         macro to inline function.
62650         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
62652         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
62653         not <math/math_private.h>.
62655 2012-03-08  David S. Miller  <davem@davemloft.net>
62657         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
62658         copyright year.
62659         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
62661 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
62663         * resolv/gai_misc.c (handle_requests): Fix struct timespec
62664         normalization.
62665         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
62666         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
62668 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
62670         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
62671         be defined individually, they must be defined as a block.  Define
62672         S for printing a string instead of hidint the different by using a
62673         macro for adding the 'l'.
62674         * stdio-common/tst-fphex-wide.c: Adjust.
62676 2012-03-07  Marek Polacek  <polacek@redhat.com>
62678         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
62680 2012-03-08  Marek Polacek  <polacek@redhat.com>
62682         [BZ #13806]
62683         * stdio-common/Makefile (tests): Add tst-fphex-wide.
62684         * stdio-common/tst-fphex.c: Define a few macros to make the
62685         test reusable.  Use them.
62686         * stdio-common/tst-fphex-wide.c: New file.
62688 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
62690         [BZ #6911]
62691         * manual/macros.texi (gnusystems): New macro.
62692         (nongnusystems): Likewise.
62693         (gnulinuxhurdsystems): Likewise.
62694         (gnuhurdsystems): Likewise..
62695         (gnulinuxsystems): Likewise.
62696         * manual/charset.texi: Use new macros or @theglibc{} to refer to
62697         variants of the GNU system, not "GNU system".
62698         * manual/conf.texi: Likewise.
62699         * manual/errno.texi: Likewise.  Update example of errno macro
62700         expansion.
62701         * manual/filesys.texi: Likewise.
62702         (getumask): Document as specific to GNU/Hurd.
62703         * manual/install.texi: Likewise.  Reword some references to
62704         GNU/Linux.
62705         * manual/intro.texi: Likewise.
62706         * manual/io.texi: Likewise.
62707         (File Name Portability): Detail which constraints are inapplicable
62708         to all GNU systems and which are only inapplicable to GNU/Hurd.
62709         * manual/job.texi: Likewise.
62710         * manual/llio.texi: Likewise.
62711         (O_NOCTTY): Document as present on GNU/Linux.
62712         * manual/maint.texi: Likewise.
62713         * manual/memory.texi: Likewise.
62714         * manual/pattern.texi: Likewise.
62715         * manual/pipe.texi: Likewise.
62716         * manual/process.texi: Likewise.
62717         * manual/resource.texi: Likewise.
62718         (RUSAGE_CHILDREN): Remove statement about specifying a particular
62719         child on GNU/Hurd.
62720         * manual/setjmp.texi: Likewise.
62721         * manual/signal.texi: Likewise.
62722         * manual/startup.texi: Likewise.
62723         * manual/stdio.texi: Likewise.
62724         * manual/terminal.texi: Likewise.
62725         (ONLCR): Document as POSIX.
62726         (OXTABS): Document availability on GNU/Linux as XTABS.
62727         (ONOEOT): Document availability separately from other bits.
62728         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
62729         * manual/time.texi: Likewise.
62730         * manual/users.texi: Likewise.
62731         * INSTALL: Regenerated.
62732         * sysdeps/gnu/errlist.c: Regenerated.
62734         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
62735         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
62736         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
62737         puts.
62738         * configure: Regenerated.
62740 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
62742         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
62743         default includes instead of AC_HEADER_CHECK.
62744         * sysdeps/i386/configure: Regenerated.
62746         [BZ #10716]
62747         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
62748         * math/s_cacoshf.c (__cacoshf): Likewise.
62749         * math/s_cacoshl.c (__cacoshl): Likewise.
62750         * math/s_casinh.c (__casinh): Set signs of result from argument.
62751         * math/s_casinhf.c (__casinhf): Likewise.
62752         * math/s_casinhl.c (__casinhl): Likewise.
62753         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
62754         (casinh_test): Add more tests.
62755         * sysdeps/i386/fpu/libm-test-ulps: Update.
62756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62758 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
62760         * po/zh_TW.po: Update from translation team.
62762         * login/Makefile (distribute): Remove variable.
62763         * catgets/Makefile: Likewise.
62764         * mach/Makefile: Likewise.
62765         * malloc/Makefile: Likewise.
62766         * misc/Makefile: Likewise.
62767         * iconv/Makefile: Likewise.
62768         * nscd/Makefile: Likewise.
62769         * hurd/Makefile: Likewise.
62770         * manual/Makefile: Likewise.
62771         * locale/Makefile: Likewise.
62772         * intl/Makefile: Likewise.
62773         * conform/Makefile: Likewise.
62774         * nss/Makefile: Likewise.
62775         * time/Makefile: Likewise.
62776         * soft-fp/Makefile: Likewise.
62777         * dirent/Makefile: Likewise.
62778         * gmon/Makefile: Likewise.
62779         * po/Makefile: Likewise.
62780         * rt/Makefile: Likewise.
62781         * socket/Makefile: Likewise.
62782         * math/Makefile: Likewise.
62783         * signal/Makefile: Likewise.
62784         * debug/Makefile: Likewise.
62785         * elf/Makefile: Likewise.
62786         * timezone/Makefile: Likewise.
62787         * stdlib/Makefile: Likewise.
62788         * iconvdata/Makefile: Likewise.
62789         * sunrpc/Makefile: Likewise.
62790         * io/Makefile: Likewise.
62791         * argp/Makefile: Likewise.
62792         * inet/Makefile: Likewise.
62793         * hesiod/Makefile: Likewise.
62794         * grp/Makefile: Likewise.
62795         * csu/Makefile: Likewise.
62796         * wctype/Makefile: Likewise.
62797         * crypt/Makefile: Likewise.
62798         * libio/Makefile: Likewise.
62799         * string/Makefile: Likewise.
62800         * nis/Makefile: Likewise.
62801         * resolv/Makefile: Likewise.
62802         * stdio-common/Makefile: Likewise.
62803         * wcsmbs/Makefile: Likewise.
62804         * dlfcn/Makefile: Likewise.
62805         * posix/Makefile: Likewise.
62807         [BZ #6959]
62808         * timezone/Makefile: Don't install timezone files, just the programs
62809         and scripts.
62811 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
62813         * nss/databases.def: Add missing gshadow entry.
62815         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
62817 2012-03-06  Marek Polacek  <polacek@redhat.com>
62819         [BZ #13726]
62820         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
62821         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62822         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
62823         * stdio-common/tst-long-dbl-fphex.c: New file.
62825 2012-03-06  David S. Miller  <davem@davemloft.net>
62827         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62828         (set_obp_int): New function.
62829         (get_obp_int): New function.
62830         (__get_clockfreq_via_dev_openprom): Likewise.
62831         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
62832         Avoid unused variable warnings on 'val' and use builtin_expect.
62833         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
62834         __builtin_expect.
62835         (INLINE_CLONE_SYSCALL): Likewise.
62837 2012-03-05  David S. Miller  <davem@davemloft.net>
62839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62841 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
62843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62845         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
62846         only for |x| >= 40.
62847         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62849 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
62851         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
62852         Replace gettimeofday with __vdso_gettimeofday.
62854         * sysdeps/unix/sysv/linux/x86_64/init-first.c
62855         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
62856         __vdso_clock_gettime and __vdso_getcpu.
62858         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
62859         time with __vdso_time.
62861 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62863         * manual/lang.texi (size_t): Note types to which size_t may be
62864         equivalent with the GNU C Library, but do not describe when
62865         differences between them are significant.
62867 2012-03-05  Andreas Jaeger  <aj@suse.de>
62869         * sysdeps/i386/fpu/libm-test-ulps: Update.
62871 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62873         [BZ #3976]
62874         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
62875         (__ieee754_pow): Save and restore rounding mode and use
62876         round-to-nearest for main computations.
62877         * math/libm-test.inc (pow_test_tonearest): New function.
62878         (pow_test_towardzero): Likewise.
62879         (pow_test_downward): Likewise.
62880         (pow_test_upward): Likewise.
62881         (main): Call the new functions.
62882         * sysdeps/i386/fpu/libm-test-ulps: Update.
62883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62885         [BZ #3976]
62886         * math/libm-test.inc (cosh_test_tonearest): New function.
62887         (cosh_test_towardzero): Likewise.
62888         (cosh_test_downward): Likewise.
62889         (cosh_test_upward): Likewise.
62890         (sinh_test_tonearest): Likewise.
62891         (sinh_test_towardzero): Likewise.
62892         (sinh_test_downward): Likewise.
62893         (sinh_test_upward): Likewise.
62894         (main): Call the new functions.
62895         * sysdeps/i386/fpu/libm-test-ulps: Update.
62896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62898 2012-03-05  Tom de Vries  <tom@codesourcery.com>
62900         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
62901         default stack guard is set in last bytes.
62902         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
62904 2012-03-05  Kees Cook  <keescook@chromium.org>
62906         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
62908         [BZ #13656]
62909         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
62910         possibly allocate from heap instead of stack.
62911         * stdio-common/bug-vfprintf-nargs.c: New file.
62912         * stdio-common/Makefile (tests): Add nargs overflow test.
62914 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
62916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62918 2012-03-03  Marek Polacek  <polacek@redhat.com>
62920         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
62921         * math/math_private.h: Likewise.
62922         * stdlib/tst-strtod.c: Likewise.
62923         * sysdeps/i386/i486/bits/atomic.h: Likewise.
62924         * sysdeps/x86_64/bits/atomic.h: Likewise.
62926 2012-03-02  David S. Miller  <davem@davemloft.net>
62928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
62929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
62930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
62931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
62932         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
62933         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
62934         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
62935         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
62937 2012-03-02  Roland McGrath  <roland@hack.frob.com>
62939         [BZ #13792]
62940         * manual/examples/README: New file, says the example source files
62941         can be used under GPL>=2.
62942         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
62943         line containing just "*/".
62944         * manual/examples/add.c: Add copyright header (GPL>=2).
62945         * manual/examples/argp-ex1.c: Likewise.
62946         * manual/examples/argp-ex2.c: Likewise.
62947         * manual/examples/argp-ex3.c: Likewise.
62948         * manual/examples/argp-ex4.c: Likewise.
62949         * manual/examples/atexit.c: Likewise.
62950         * manual/examples/db.c: Likewise.
62951         * manual/examples/dir.c: Likewise.
62952         * manual/examples/dir2.c: Likewise.
62953         * manual/examples/execinfo.c: Likewise.
62954         * manual/examples/filecli.c: Likewise.
62955         * manual/examples/filesrv.c: Likewise.
62956         * manual/examples/fmtmsgexpl.c: Likewise.
62957         * manual/examples/genpass.c: Likewise.
62958         * manual/examples/inetcli.c: Likewise.
62959         * manual/examples/inetsrv.c: Likewise.
62960         * manual/examples/isockad.c: Likewise.
62961         * manual/examples/longopt.c: Likewise.
62962         * manual/examples/memopen.c: Likewise.
62963         * manual/examples/memstrm.c: Likewise.
62964         * manual/examples/mkfsock.c: Likewise.
62965         * manual/examples/mkisock.c: Likewise.
62966         * manual/examples/mygetpass.c: Likewise.
62967         * manual/examples/pipe.c: Likewise.
62968         * manual/examples/popen.c: Likewise.
62969         * manual/examples/rprintf.c: Likewise.
62970         * manual/examples/search.c: Likewise.
62971         * manual/examples/select.c: Likewise.
62972         * manual/examples/setjmp.c: Likewise.
62973         * manual/examples/sigh1.c: Likewise.
62974         * manual/examples/sigusr.c: Likewise.
62975         * manual/examples/stpcpy.c: Likewise.
62976         * manual/examples/strdupa.c: Likewise.
62977         * manual/examples/strftim.c: Likewise.
62978         * manual/examples/strncat.c: Likewise.
62979         * manual/examples/subopt.c: Likewise.
62980         * manual/examples/swapcontext.c: Likewise.
62981         * manual/examples/termios.c: Likewise.
62982         * manual/examples/testopt.c: Likewise.
62983         * manual/examples/testpass.c: Likewise.
62984         * manual/examples/timeval_subtract.c: Likewise.
62986         [BZ #13792]
62987         * manual/time.texi (Elapsed Time): Move timeval_subtract example
62988         function to ...
62989         * manual/timeval_subtract.c.texi: ... here, new file.
62991 2012-03-02  David S. Miller  <davem@davemloft.net>
62993         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
62995 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
62997         [BZ #3976]
62998         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
62999         (__sin): Save and restore rounding mode and use round-to-nearest
63000         for all computations.
63001         (__cos): Save and restore rounding mode and use round-to-nearest
63002         for all computations.
63003         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
63004         <fenv.h>.
63005         (tan): Save and restore rounding mode and use round-to-nearest for
63006         all computations.
63007         * math/libm-test.inc (cos_test_tonearest): New function.
63008         (cos_test_towardzero): Likewise.
63009         (cos_test_downward): Likewise.
63010         (cos_test_upward): Likewise.
63011         (sin_test_tonearest): Likewise.
63012         (sin_test_towardzero): Likewise.
63013         (sin_test_downward): Likewise.
63014         (sin_test_upward): Likewise.
63015         (tan_test_tonearest): Likewise.
63016         (tan_test_towardzero): Likewise.
63017         (tan_test_downward): Likewise.
63018         (tan_test_upward): Likewise.
63019         (main): Call the new functions.
63020         * sysdeps/i386/fpu/libm-test-ulps: Update.
63021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63023         [BZ #10135]
63024         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
63025         small n, then large n, before computing and testing k+n.
63026         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
63027         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
63028         Likewise.
63029         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
63030         Likewise.
63031         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
63032         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
63033         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
63034         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
63035         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63036         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63037         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
63038         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
63039         * math/libm-test.inc (scalbn_test): Add more tests.
63040         (scalbln_test): Likewise.
63042         * manual/filesys.texi (mode_t): Describe constraints on size and
63043         signedness, not exact equivalence to a particular type.
63044         (ino_t): Likewise.
63045         (ino64_t): Likewise.
63046         (dev_t): Likewise.
63047         (nlink_t): Likewise.
63048         (blkcnt_t): Likewise.
63049         (blkcnt64_t): Likewise.
63050         * manual/llio.texi (off_t): Likewise.
63052         [BZ #3976]
63053         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
63054         (__ieee754_exp): Save and restore rounding mode and use
63055         round-to-nearest for all computations.
63056         * math/libm-test.inc (exp_test_tonearest): New function.
63057         (exp_test_towardzero): Likewise.
63058         (exp_test_downward): Likewise.
63059         (exp_test_upward): Likewise.
63060         (main): Call the new functions.
63061         * sysdeps/i386/fpu/libm-test-ulps: Update.
63062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63064 2012-03-01  Chris Demetriou  <cgd@google.com>
63066         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
63067         have predictable order.
63069 2012-03-01  David S. Miller  <davem@davemloft.net>
63071         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
63073         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
63074         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
63075         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
63076         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
63078         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
63079         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
63080         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
63081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
63082         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
63083         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
63084         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
63085         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
63086         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
63088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63090         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
63091         * sysdeps/sparc/fpu/libm-test-ulps: to here.
63092         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
63094         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
63095         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
63096         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63097         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
63098         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
63099         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
63100         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
63101         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63102         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63103         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
63104         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
63105         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63106         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
63107         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63108         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63109         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63110         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
63111         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
63112         * sysdeps/sparc/elf/configure: Regenerated.
63114 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
63116         * configure.in (AS, LD): Require binutils 2.20 or later.
63117         * configure: Regenerated.
63118         * manual/install.texi (Tools for Compilation): Give binutils 2.20
63119         as required minimum version.
63120         * INSTALL: Regenerated.
63122         [BZ #2541]
63123         [BZ #4108]
63124         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
63125         before squaring exponent.
63126         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
63127         bottom long double and 27 bits of top long double before squaring
63128         exponent.
63129         * math/libm-test.inc (erfc_test): Add more tests.
63130         * sysdeps/i386/fpu/libm-test-ulps: Update.
63131         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63134 2012-03-01  Kai Tietz  <ktietz@redhat.com>
63136         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
63137         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
63138         containing bit-fields.
63139         * soft-fp/extended.h (_FP_UNION_E): Likewise.
63140         * soft-fp/single.h (_FP_UNION_S): Likewise.
63141         * soft-fp/double.h (_FP_UNION_D): Likewise.
63143 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63145         [BZ #13786]
63146         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
63147         not include ../strcmp.S.
63148         [USE_AS_STRNCASECMP_L]: Likewise.
63149         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
63150         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
63151         * sysdeps/i386/i686/multiarch/strncase_l-c.c
63152         (__strncasecmp_l_ia32): Define as alias to
63153         __strncasecmp_l_nonascii.
63155         [BZ #5794]
63156         * math/libm-test.inc (expm1_test): Add test for bug 5794.
63157         * sysdeps/i386/fpu/libm-test-ulps: Update.
63158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63160         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
63161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63163 2012-02-29  Jeff Law  <law@redhat.com>
63165         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
63166         out of bounds read.
63168 2012-02-29  Marek Polacek  <polacek@redhat.com>
63170         [BZ #13706]
63171         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
63172         * elf/Makefile: Add rules to run tst-unused-dep.out.
63174 2012-02-28  David S. Miller  <davem@davemloft.net>
63176         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
63177         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
63178         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
63179         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
63180         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
63181         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
63183 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
63185         * math/libm-test.inc (llround_test): Move one test from
63186         lround_test.  Use TEST_f_L in moved test.
63187         (lround_test): Move misplaced test to llround_test.  Add testcase
63188         from bug 2561.
63190 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
63192         * sysdeps/x86_64/fpu/e_expf.S: New file.
63193         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
63195 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
63197         [BZ #13637]
63198         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
63199         of remain_len that may cause incomplete multi-byte character and
63200         false match.
63201         * posix/bug-regex33.c: New file.
63202         * posix/Makefile (tests): Add bug-regex33.
63204 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
63206         * manual/macros.texi: New file.
63207         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
63208         * manual/libc.texinfo: Include macros.texi.
63209         * manual/creatute.texi: Likewise.
63210         * manual/install.texi: Likewise.
63211         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
63212         @glibcadj{} in references to the GNU C Library.
63213         * manual/charset.texi: Likewise.
63214         * manual/conf.texi: Likewise.
63215         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
63216         when not using those macros.
63217         * manual/creature.texi: Likewise.
63218         * manual/crypt.texi: Likewise.
63219         * manual/errno.texi: Likewise.
63220         * manual/filesys.texi: Likewise.
63221         * manual/header.texi: Likewise.
63222         * manual/install.texi: Likewise.
63223         * manual/intro.texi: Likewise.
63224         * manual/io.texi: Likewise.
63225         * manual/job.texi: Likewise.
63226         * manual/lang.texi: Likewise.
63227         * manual/libc.texiinfo: Likewise.
63228         * manual/llio.texi: Likewise.
63229         * manual/locale.texi: Likewise.
63230         * manual/maint.texi: Likewise.
63231         * manual/math.texi: Likewise.
63232         * manual/memory.texi: Likewise.
63233         * manual/message.texi: Likewise.
63234         * manual/nss.texi: Likewise.
63235         * manual/pattern.texi: Likewise.
63236         * manual/process.texi: Likewise.
63237         * manual/resource.texi: Likewise.
63238         * manual/search.texi: Likewise.
63239         * manual/setjmp.texi: Likewise.
63240         * manual/signal.texi: Likewise.
63241         * manual/socket.texi: Likewise.
63242         * manual/startup.texi: Likewise.
63243         * manual/stdio.texi: Likewise.
63244         * manual/string.texi: Likewise.
63245         * manual/sysinfo.texi: Likewise.
63246         * manual/syslog.texi: Likewise.
63247         * manual/terminal.texi: Likewise.
63248         * manual/time.texi: Likewise.
63249         * manual/users.texi: Likewise.
63250         * INSTALL: Regenerated.
63251         * NOTES: Regenerated.
63252         * sysdeps/gnu/errlist.c: Regenerated.
63254 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
63256         * include/dirent.h: Include <dirstream.h> before
63257         <dirent/dirent.h>.
63259 2012-02-28  David S. Miller  <davem@davemloft.net>
63261         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
63262         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
63263         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
63264         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
63266 2012-02-27  David S. Miller  <davem@davemloft.net>
63268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
63269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
63270         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
63271         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
63273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
63274         frame pointer instead of stack pointer relative arg slot.
63275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63276         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63277         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63279 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
63281         [BZ #3992]
63282         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
63284 2012-02-27  David S. Miller  <davem@davemloft.net>
63286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
63287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
63290         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63291         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63292         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
63293         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
63295 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63297         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
63298         later.  Allow versions 5-9.
63299         * configure: Regenerated.
63300         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
63301         required minimum version and 4.6 as recommended version.  Do not
63302         mention bugs in GCC 2.7 and 2.8.
63303         * INSTALL: Regenerated.
63305 2012-02-27  David S. Miller  <davem@davemloft.net>
63307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
63308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
63309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
63310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
63311         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
63312         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
63313         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
63314         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
63316         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
63317         manipulate bits before adding and subtracting TWO112[sx].
63318         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63320 2012-02-27  Roland McGrath  <roland@hack.frob.com>
63322         [BZ #13775]
63323         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
63324         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
63325         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
63326         being in POSIX, because they are in 1003.1-2008.
63328         * rt/tst-aio.c: Include <fcntl.h>.
63329         * rt/tst-aio7.c: Likewise.
63330         * rt/tst-aio64.c: Likewise.
63332         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
63334 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63336         * manual/install.texi (--with-headers): Describe headers as
63337         interface headers, not private headers.
63338         (Specific advice for GNU/Linux systems): Describe use of headers
63339         from "make headers_install", not private headers from older
63340         kernels.
63341         * INSTALL: Regenerated.
63342         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
63343         Change to 2.6.19.
63344         * sysdeps/unix/sysv/linux/configure: Regenerated.
63346         * manual/llio.texi (fclean): Remove documentation.
63348         * manual/Makefile (libc-texi-generated): New variable.  Include
63349         version.texi.
63350         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
63351         $(libc-texi-generated), not duplicated list of files.
63352         (version.texi, stamp-version): New rules.
63353         (realclean): Remove $(libc-texi-generated), not individual files
63354         from that list.  Do not remove dir-add.texinfo.
63355         * manual/libc.texinfo: Comment out uses of edition numbers and
63356         references to printed manual.  Remove last-updated dates.
63357         (EDITION): Comment out.
63358         (ISBN): Likewise.
63359         (VERSION, UPDATED): Remove.
63360         (version.texi): Include.
63362 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
63364         * sysdeps/posix/spawni.c: Include <signal.h>.
63365         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
63366         * sysdeps/pthread/aio_fsync.c: Likewise.
63368 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
63370         * conform/Makefile (tests): Run only when not cross-compiling and
63371         when fast-check is not defined.
63373         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
63374         * conform/data/limits.h-data: Fixes for POSIX2008.
63375         * conform/run-conformtest.sh: Run all tests.
63376         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
63377         headers.
63378         * include/bits/dlfcn.h: Likewise.
63379         * include/langinfo.h: Likewise.
63380         * include/monetary.h: Likewise.
63381         * include/sys/poll.h: Likewise.
63383         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
63384         for __USE_GNU.
63385         * posix/spawn.h: Define __need_sigset_t.
63386         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
63387         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
63388         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
63389         to get sigevent_t only.
63390         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
63391         only for __USE_GNU.
63392         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63393         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63394         process_vm_writev only for __USE_GNU.
63395         * termios/termios.h: Declare tcgetsid also for POSIX2008.
63397         * conform/Makefile: For now ignore errors from run-conformtest.
63398         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
63399         POSIX to avoid namespace pollution.  Don't prepend headers.
63400         * conform/data/aio.h-data: Fixes for POSIX testing.
63401         * conform/data/fcntl.h-data: Likewise.
63402         * conform/data/glob.h-data: Likewise.
63403         * conform/data/grp.h-data: Likewise.
63404         * conform/data/pthread.h-data: Likewise.
63405         * conform/data/pwd.h-data: Likewise.
63406         * conform/data/signal.h-data: Likewise.
63407         * conform/data/spawn.h-data: Likewise.
63408         * conform/data/stdio.h-data: Likewise.
63409         * conform/data/stdlib.h-data: Likewise.
63410         * conform/data/stropts.h-data: Likewise.
63411         * conform/data/sys/mman.h-data: Likewise.
63412         * conform/data/sys/stat.h-data: Likewise.
63413         * conform/data/sys/types.h-data: Likewise.
63414         * conform/data/sys/wait.h-data: Likewise.
63415         * conform/data/time.h-data: Likewise.
63416         * conform/data/unistd.h-data: Likewise.
63417         * conform/data/utime.h-data: Likewise.
63419         * io/sys/stat.h: fchmod was always in POSIX.
63420         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
63421         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
63422         * rt/aio.h: Define __need_timespec before including <time.h>.
63423         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
63424         struct.  Add forward declaration of pthread_attr_t and use it in
63425         sigevent.
63426         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63427         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63428         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
63429         always remove CLK_TCK definition.
63431 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
63433         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
63435 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
63437         * conform/run-conformtest.sh: New file.
63438         * conform/Makefile: Run run-conformtest for tests.
63439         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
63440         support.
63442         * conform/data/uchar.h-data: New file.
63443         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
63444         * conform/data/arpa/inet.h-data: Likewise.
63445         * conform/data/assert.h-data: Likewise.
63446         * conform/data/complex.h-data: Likewise.
63447         * conform/data/cpio.h-data: Likewise.
63448         * conform/data/ctype.h-data: Likewise.
63449         * conform/data/dirent.h-data: Likewise.
63450         * conform/data/dlfcn.h-data: Likewise.
63451         * conform/data/errno.h-data: Likewise.
63452         * conform/data/fcntl.h-data: Likewise.
63453         * conform/data/float.h-data: Likewise.
63454         * conform/data/fmtmsg.h-data: Likewise.
63455         * conform/data/fnmatch.h-data: Likewise.
63456         * conform/data/ftw.h-data: Likewise.
63457         * conform/data/glob.h-data: Likewise.
63458         * conform/data/grp.h-data: Likewise.
63459         * conform/data/iconv.h-data: Likewise.
63460         * conform/data/inttypes.h-data: Likewise.
63461         * conform/data/langinfo.h-data: Likewise.
63462         * conform/data/libgen.h-data: Likewise.
63463         * conform/data/limits.h-data: Likewise.
63464         * conform/data/locale.h-data: Likewise.
63465         * conform/data/math.h-data: Likewise.
63466         * conform/data/monetary.h-data: Likewise.
63467         * conform/data/mqueue.h-data: Likewise.
63468         * conform/data/ndbm.h-data: Likewise.
63469         * conform/data/net/if.h-data: Likewise.
63470         * conform/data/netdb.h-data: Likewise.
63471         * conform/data/netinet/in.h-data: Likewise.
63472         * conform/data/nl_types.h-data: Likewise.
63473         * conform/data/poll.h-data: Likewise.
63474         * conform/data/pthread.h-data: Likewise.
63475         * conform/data/pwd.h-data: Likewise.
63476         * conform/data/regex.h-data: Likewise.
63477         * conform/data/sched.h-data: Likewise.
63478         * conform/data/search.h-data: Likewise.
63479         * conform/data/semaphore.h-data: Likewise.
63480         * conform/data/setjmp.h-data: Likewise.
63481         * conform/data/signal.h-data: Likewise.
63482         * conform/data/spawn.h-data: Likewise.
63483         * conform/data/stdarg.h-data: Likewise.
63484         * conform/data/stdio.h-data: Likewise.
63485         * conform/data/stdlib.h-data: Likewise.
63486         * conform/data/string.h-data: Likewise.
63487         * conform/data/strings.h-data: Likewise.
63488         * conform/data/stropts.h-data: Likewise.
63489         * conform/data/sys/ipc.h-data: Likewise.
63490         * conform/data/sys/mman.h-data: Likewise.
63491         * conform/data/sys/msg.h-data: Likewise.
63492         * conform/data/sys/resource.h-data: Likewise.
63493         * conform/data/sys/select.h-data: Likewise.
63494         * conform/data/sys/sem.h-data: Likewise.
63495         * conform/data/sys/shm.h-data: Likewise.
63496         * conform/data/sys/socket.h-data: Likewise.
63497         * conform/data/sys/stat.h-data: Likewise.
63498         * conform/data/sys/statvfs.h-data: Likewise.
63499         * conform/data/sys/time.h-data: Likewise.
63500         * conform/data/sys/timeb.h-data: Likewise.
63501         * conform/data/sys/times.h-data: Likewise.
63502         * conform/data/sys/types.h-data: Likewise.
63503         * conform/data/sys/uio.h-data: Likewise.
63504         * conform/data/sys/un.h-data: Likewise.
63505         * conform/data/sys/utsname.h-data: Likewise.
63506         * conform/data/sys/wait.h-data: Likewise.
63507         * conform/data/syslog.h-data: Likewise.
63508         * conform/data/tar.h-data: Likewise.
63509         * conform/data/termios.h-data: Likewise.
63510         * conform/data/utime.h-data: Likewise.
63511         * conform/data/utmpx.h-data: Likewise.
63512         * conform/data/varargs.h-data: Likewise.
63513         * conform/data/wchar.h-data: Likewise.
63514         * conform/data/wctype.h-data: Likewise.
63515         * conform/data/wordexp.h-data: Likewise.
63517         * include/stropts.h: New file.
63518         * include/uchar.h: New file.
63519         * include/aio.h: Changes to allow conformtest.pl to use the headers.
63520         * include/assert.h: Likewise.
63521         * include/ctype.h: Likewise.
63522         * include/dirent.h: Likewise.
63523         * include/dlfcn.h: Likewise.
63524         * include/fcntl.h: Likewise.
63525         * include/fnmatch.h: Likewise.
63526         * include/glob.h: Likewise.
63527         * include/grp.h: Likewise.
63528         * include/libio.h: Likewise.
63529         * include/locale.h: Likewise.
63530         * include/math.h: Likewise.
63531         * include/net/if.h: Likewise.
63532         * include/netdb.h: Likewise.
63533         * include/netinet/in.h: Likewise.
63534         * include/pthread.h: Likewise.
63535         * include/pwd.h: Likewise.
63536         * include/regex.h: Likewise.
63537         * include/sched.h: Likewise.
63538         * include/search.h: Likewise.
63539         * include/setjmp.h: Likewise.
63540         * include/signal.h: Likewise.
63541         * include/stdio.h: Likewise.
63542         * include/stdlib.h: Likewise.
63543         * include/string.h: Likewise.
63544         * include/sys/cdefs.h: Likewise.
63545         * include/sys/mman.h: Likewise.
63546         * include/sys/msg.h: Likewise.
63547         * include/sys/resource.h: Likewise.
63548         * include/sys/select.h: Likewise.
63549         * include/sys/socket.h: Likewise.
63550         * include/sys/stat.h: Likewise.
63551         * include/sys/statvfs.h: Likewise.
63552         * include/sys/time.h: Likewise.
63553         * include/sys/times.h: Likewise.
63554         * include/sys/uio.h: Likewise.
63555         * include/sys/utsname.h: Likewise.
63556         * include/sys/wait.h: Likewise.
63557         * include/termios.h: Likewise.
63558         * include/time.h: Likewise.
63559         * include/ulimit.h: Likewise.
63560         * include/unistd.h: Likewise.
63561         * include/utime.h: Likewise.
63562         * include/wchar.h: Likewise.
63563         * include/wctype.h: Likewise.
63564         * include/wordexp.h: Likewise.
63566         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
63568         * time/time.h: TIME_UTC must be a macro.
63569         Make timespec_get available for ISO C11 only as well.
63571 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
63573         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
63574         Reported by Peng Haitao <penght@cn.fujitsu.com>.
63576 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63578         * configure.in: Use -o not -a in test for unsupported multi-arch.
63580 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63582         * manual/texinfo.tex: Update to version 2012-01-19.16.
63584 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63586         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
63588 2012-02-24  Roland McGrath  <roland@hack.frob.com>
63590         [BZ #13738]
63591         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
63592         * manual/fdl-1.3.texi: New file.
63593         * manual/fdl-1.1.texi: File removed.
63595         [BZ #13738]
63596         * manual/libc.texinfo (FDL_VERSION): New @set.
63597         Use it for mention of FDL in cover text.
63598         (Documentation License): Use it in @include file name.
63600 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63601             Roland McGrath  <roland@hack.frob.com>
63603         [BZ #5461]
63604         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
63605         (not LONG_LONG_MAX and LONG_LONG_MIN.
63606         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
63607         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
63608         name.
63609         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
63611 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63613         [BZ #2547]
63614         [BZ #11365]
63615         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
63616         manipulate bits before adding and subtracting TWO23[sx].
63617         * math/libm-test.inc (nearbyint_test): Add more tests.
63619 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63621         [BZ #2548]
63622         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
63623         bits before adding and subtracting TWO23[sx].
63624         * math/libm-test.inc (rint_test): Add more tests.
63625         (rint_test_tonearest): Likewise.
63626         (rint_test_towardzero): Likewise.
63627         (rint_test_downward): Likewise.
63628         (rint_test_upward: Likewise.
63630 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63632         [BZ #10110]
63633         * include/stdc-predef.h: New file.  Extracted from features.h.
63634         * include/features.h: Include stdc-predef.h.
63635         * Makefile (headers): Add stdc-predef.h.
63636         * CONFORMANCE (Compiler limitations): Update.
63638 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63640         * manual/libc.texinfo (VERSION, UPDATED): Revert.
63642 2012-02-21  David S. Miller  <davem@davemloft.net>
63644         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
63645         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63647 2012-02-20  David S. Miller  <davem@davemloft.net>
63649         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
63650         using a normal save/restore sequence, rather than allocating a
63651         dummy stack frame just to store a frame pointer and restore.
63652         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63654 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63656         * manual/install.texi: Fix stray word in line-wrapped comment.
63658 2012-02-20  David S. Miller  <davem@davemloft.net>
63660         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
63661         both binutils and gcc support GOTDATA.
63663         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
63664         "rd %pc" in the PIC register setup sequences.
63666         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
63667         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
63668         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63669         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
63670         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63671         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63672         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63673         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63674         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
63675         (SYSCALL_ERROR_HANDLER): Likewise.
63676         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63677         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63678         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
63679         (SYSCALL_ERROR_HANDLER): Likewise.
63681         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
63682         (HAVE_GCC_GOTDATA): New.
63683         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
63684         relocation support in both binutils and gcc.
63685         * sysdeps/sparc/elf/configure: Regenerate.
63687         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
63688         * sysdeps/sparc/sparc32/elf/configure: Delete.
63689         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
63690         * sysdeps/sparc/sparc64/elf/configure: Delete.
63691         * sysdeps/sparc/elf/configure.in: New file.
63692         * sysdeps/sparc/elf/configure: Generate.
63694         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
63695         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
63696         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
63697         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
63698         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
63700 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63702         * manual/install.texi: Do not mention specific glibc version
63703         numbers.
63704         * manual/libc.texinfo (VERSION, UPDATED): Update.
63705         (@copying): Use @copyright{} and range of years.
63707 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63709         [BZ #13695]
63710         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
63711         [crti.S not in sysdirs] (generated): Do not append.
63712         [crti.S not in sysdirs] (omit-deps): Likewise.
63713         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
63714         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
63715         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
63716         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
63717         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
63718         Likewise.
63719         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
63720         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
63721         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
63722         * csu/defs.awk: Remove file.
63723         * sysdeps/generic/initfini.c: Likewise.
63724         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
63725         variable.
63726         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
63727         Likewise.
63729 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63731         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
63732         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
63733         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
63734         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
63735         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63736         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
63737         <bits/epoll.h>.
63738         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
63739         (__EPOLL_PACKED): Define to empty if not defined by
63740         <bits/epoll.h>.
63741         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
63742         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63743         bits/epoll.h.
63745 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63747         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
63748         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
63749         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
63750         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
63751         <bits/timerfd.h>.
63752         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
63753         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63754         bits/timerfd.h.
63756 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63758         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
63759         in C locale.
63760         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63761         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63762         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
63763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63765 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
63767         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63768         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63770 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
63772         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
63773         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
63774         defined.
63775         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
63776         Likewise.
63777         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
63778         entry for 2.16.
63780 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
63782         * math/w_acos.c: Use non-signaling floating-point comparisons.
63783         * math/w_acosf.c: Likewise.
63784         * math/w_acosh.c: Likewise.
63785         * math/w_acoshf.c: Likewise.
63786         * math/w_acoshl.c: Likewise.
63787         * math/w_acosl.c: Likewise.
63788         * math/w_asin.c: Likewise.
63789         * math/w_asinf.c: Likewise.
63790         * math/w_asinl.c: Likewise.
63791         * math/w_atanh.c: Likewise.
63792         * math/w_atanhf.c: Likewise.
63793         * math/w_atanhl.c: Likewise.
63794         * math/w_exp2.c: Likewise.
63795         * math/w_exp2f.c: Likewise.
63796         * math/w_exp2l.c: Likewise.
63797         * math/w_j0.c: Likewise.
63798         * math/w_j0f.c: Likewise.
63799         * math/w_j0l.c: Likewise.
63800         * math/w_j1.c: Likewise.
63801         * math/w_j1f.c: Likewise.
63802         * math/w_j1l.c: Likewise.
63803         * math/w_jn.c: Likewise.
63804         * math/w_jnf.c: Likewise.
63805         * math/w_log.c: Likewise.
63806         * math/w_log10.c: Likewise.
63807         * math/w_log10f.c: Likewise.
63808         * math/w_log10l.c: Likewise.
63809         * math/w_log2.c: Likewise.
63810         * math/w_log2f.c: Likewise.
63811         * math/w_log2l.c: Likewise.
63812         * math/w_logf.c: Likewise.
63813         * math/w_logl.c: Likewise.
63814         * math/w_sqrt.c: Likewise.
63815         * math/w_sqrtf.c: Likewise.
63816         * math/w_sqrtl.c: Likewise.
63817         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63818         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
63819         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63820         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63821         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63823 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63825         [BZ #9739]
63826         * manual/string.texi (strnlen): Use correct parameter name in
63827         equivalent expression.
63829 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63831         [BZ #11174]
63832         * manual/users.texi (seteuid): Consistently use neweuid for
63833         argument name.
63835 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63837         [BZ #13704]
63838         * manual/nss.texi (Services in the NSS configuration): Correct
63839         list of services in example configuration file.
63841 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
63843         [BZ #11322]
63844         * manual/arith.texi: Remove statements about negative zero
63845         behaving identically to zero.
63847 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63849         [BZ #5993]
63850         * manual/install.texi: Do not document upgrading from libc5.
63852 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63854         [BZ #4596]
63855         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
63857 2012-02-18  David S. Miller  <davem@davemloft.net>
63859         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
63860         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
63861         %o7 across the call.
63862         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
63863         instead.
63864         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
63865         SETUP_PIC_REG_LEAF.
63866         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63867         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
63868         * sysdeps/sparc/crtn.S: Likewise.
63870 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
63872         * aout/Makefile: Remove.
63874 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
63876         [BZ #13058]
63877         * manual/examples/argp-ex1.c (main): Format definition in GNU
63878         style.
63879         * manual/examples/argp-ex2.c (main): Likewise.
63880         * manual/examples/argp-ex3.c (main): Likewise.
63881         * manual/examples/argp-ex4.c (main): Likewise.
63882         * manual/examples/longopt.c (main): Use new-style prototype
63883         definition.
63884         * manual/examples/strncat.c (main): Specify return type and use
63885         (void) for arguments.
63886         * manual/examples/subopt.c (main): Use char **argv argument.
63888 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63890         [BZ #5077]
63891         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
63892         rounding modes.
63894 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
63896         [BZ #6907]
63897         * manual/string.texi (strchr): Change when strchrnul is
63898         recommended.
63900 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
63902         [BZ #174]
63903         * manual/locale.texi (setlocale): Document LOCPATH.
63905 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63907         [BZ #10210]
63908         * manual/process.texi (execle): Move @dots{} before last argument.
63910 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
63912         [BZ #12047]
63913         * manual/charset.texi (Generic Charset Conversion): Fix typo
63914         (LC_TYPE -> LC_CTYPE).
63916 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
63918         [BZ #5805]
63919         * manual/arith.texi (scalbn): Use @var{} on parameter names.
63920         (scalbnf): Likewise.
63921         (scalbnl): Likewise.
63922         (scalbln): Likewise.
63923         (scalblnf): Likewise.
63924         (scalblnl): Likewise.
63925         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
63926         (vwarnx): Likewise.
63927         (verr): Likewise.
63928         (verrx): Likewise.
63929         * manual/filesys.texi (telldir): Use braces around return type.
63930         * manual/llio.texi (mmap): Add space after comma.
63931         (mmap64): Likewise.
63932         * manual/math.texi (jn): Use @var{} on parameter names.
63933         (jnf): Likewise.
63934         (jnl): Likewise.
63935         (yn): Likewise.
63936         (ynf): Likewise.
63937         (ynl): Likewise.
63938         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
63939         line.
63940         * manual/resource.texi (ulimit): Use @dots{} instead of literal
63941         "...".
63942         (sched_get_priority_min): Remove semicolon on @deftypefun line.
63943         (sched_get_priority_max): Likewise.
63944         * manual/signal.texi (sigvec): Add space after comma.
63945         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
63946         names.
63947         (if_indextoname): Likewise.
63948         (if_freenameindex): Likewise.
63949         (sendto): Use ',' instead of '.' in prototype.
63950         * manual/startup.texi (syscall): Use @dots{} instead of literal
63951         "...".
63952         * manual/stdio.texi (__fpending): Separate initial words of
63953         paragraph from @deftypefun line.
63954         * manual/syslog.texi (syslog): Use @dots{} instead of literal
63955         "...".
63956         (vsyslog): Use @var{} on parameter names.
63957         * manual/terminal.texi (stty): Use @var{} on parameter names.
63958         * manual/users.texi (getutmp): Use @var{} on parameter names.
63959         (getutmpx): Likewise.
63961 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63963         [BZ #6884]
63964         * manual/stdio.texi (fopen): Fix typos in description of
63965         ",ccs=STRING".
63967 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
63969         [BZ #4026]
63970         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
63971         get clock_id definition.
63973 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
63975         [BZ #4822]
63976         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
63977         (madvise): Cast every argument to void on its own.
63979 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63981         [BZ #9902]
63982         * manual/startup.texi (Exit Status): Fix typo.
63984 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63986         [BZ #10140]
63987         * manual/examples/argp-ex1.c: Include <stdlib.h>.
63988         * manual/examples/argp-ex2.c: Likewise.
63989         * manual/examples/argp-ex3.c: Likewise.
63991 2012-02-16  Richard Henderson  <rth@redhat.com>
63993         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
63994         * sysdeps/s390/s390-32/initfini.c: Remove.
63995         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
63996         * sysdeps/s390/s390-64/initfini.c: Remove.
63998 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64000         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
64001         compiler output for sysdeps/generic/initfini.c.
64002         * sysdeps/sh/elf/initfini.c: Remove file.
64004 2012-02-16  David S. Miller  <davem@davemloft.net>
64006         [BZ #11494]
64007         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
64009         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
64010         * sysdeps/sparc/crti.S: New file.
64011         * sysdeps/sparc/crtn.S: New file.
64012         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
64013         * sysdeps/sparc/sparc64/Makefile: Likewise.
64015 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
64017         [BZ #3335]
64018         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
64020 2012-02-15  Roland McGrath  <roland@hack.frob.com>
64022         [BZ #4822]
64023         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
64025         * mach/devstream.c (cookie_io_functions_t): Macro removed.
64026         (write, read, close): Likewise.
64027         Patch by Aurelien Jarno <aurelien@aurel32.net>.
64029 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
64031         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
64032         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
64033         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
64034         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
64035         <bits/signalfd.h>.
64036         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
64037         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64038         bits/signalfd.h.
64040 2012-02-14  Marek Polacek  <polacek@redhat.com>
64042         * sysdeps/x86_64/crti.S: New file.
64043         * sysdeps/x86_64/crtn.S: New file.
64044         * sysdeps/x86_64/elf/initfini.c: Remove file.
64046 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64048         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
64049         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
64050         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
64051         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
64052         <bits/inotify.h>.
64053         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
64054         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64055         bits/inotify.h.
64057 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
64059         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
64060         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
64061         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
64062         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
64063         <bits/eventfd.h>.
64064         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
64065         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64066         bits/eventfd.h.
64068 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
64070         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
64071         __feraiseexcept instead of feraiseexcept.
64073         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
64074         nanosleep invocations.
64075         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
64076         strings, and add error checking for a nanosleep invocations.
64078 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
64080         Replace FSF snail mail address with URLs, as per GNU coding standards.
64081         Most of the snail mail addresses were wrong anyway, and omitting
64082         them makes the source code easier to maintain.  Almost all of the
64083         changes are to license notices and to locale LC_IDENTIFICATION
64084         addresses, except for this one:
64085         * manual/libc.texinfo: In "Published by", give the FSF's URL,
64086         not its snail mail address.
64088 2012-02-09  Richard Henderson  <rth@twiddle.net>
64090         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
64091         of kernel-features.h.
64093         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
64095 2012-02-08  Marek Polacek  <polacek@redhat.com>
64097         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
64098         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
64099         * sysdeps/gnu/_G_config.h: Likewise.
64100         * sysdeps/generic/_G_config.h: Likewise.
64102 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
64104         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
64105         tests.
64106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64108         * sysdeps/powerpc/powerpc32/crti.S: New file.
64109         * sysdeps/powerpc/powerpc32/crtn.S: New file.
64110         * sysdeps/powerpc/powerpc64/crti.S: New file.
64111         * sysdeps/powerpc/powerpc64/crtn.S: New file.
64113         * Makeconfig (have-initfini): Don't set.
64114         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
64115         * configure.in (nopic_initfini): Don't substitute.
64116         * config.h.in (HAVE_INITFINI): Don't #undef.
64117         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
64118         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
64120 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
64122         Support crti.S and crtn.S provided directly by architectures.
64123         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
64124         [crti.S in sysdirs] (omit-deps): Likewise.
64125         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
64126         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
64127         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
64128         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
64129         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
64130         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
64131         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
64132         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
64133         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
64134         compiler output for sysdeps/generic/initfini.c.
64135         * sysdeps/i386/elf/Makefile: Remove file.
64136         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
64138 2012-02-07  Marek Polacek  <polacek@redhat.com>
64140         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
64141         * sysdeps/gnu/_G_config.h: Likewise.
64142         * sysdeps/mach/hurd/_G_config.h: Likewise.
64144 2012-02-07  Marek Polacek  <polacek@redhat.com>
64146         * math/Makefile (tests): Add tst-CMPLX2.
64147         * math/tst-CMPLX2.c: New file.
64149 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
64151         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64153         * math/libm-test.inc (jn_test): Add missing L suffix.
64155 2012-02-06  Marek Polacek  <polacek@redhat.com>
64157         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
64158         * sysdeps/i386/fpu/e_powf.S: Likewise.
64159         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64160         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64161         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64162         * sysdeps/i386/fpu/e_pow.S: Likewise.
64163         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64164         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64165         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64166         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64167         * sysdeps/i386/fpu/e_log2.S: Likewise.
64168         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64169         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64170         * sysdeps/i386/fpu/e_powl.S: Likewise.
64171         * sysdeps/i386/fpu/s_log1p.S: Likewise.
64172         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64173         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64174         * sysdeps/i386/fpu/e_logl.S: Likewise.
64175         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64176         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
64177         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64178         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64179         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64180         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64181         * sysdeps/i386/fpu/e_log.S: Likewise.
64182         * sysdeps/i386/fpu/s_cexp.S: Likewise.
64183         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64184         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
64185         * sysdeps/i386/fpu/e_logf.S: Likewise.
64186         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64187         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64188         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
64189         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64190         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64191         * sysdeps/i386/fpu/e_log10.S: Likewise.
64192         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64193         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64194         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64195         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64196         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64197         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64198         * sysdeps/i386/asm-syntax.h: Likewise.
64199         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64200         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64201         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64202         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
64203         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
64204         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64205         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64206         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64207         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64208         * sysdeps/powerpc/sysdep.h: Likewise.
64209         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
64210         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64212 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64214         [BZ #411]
64215         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
64217 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
64219         * sysdeps/i386/sysdep.h: Include <features.h>.
64220         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
64221         version.
64223 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
64225         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
64226         Define.
64227         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
64228         LOAD_PIC_REG_STR.
64230 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64232         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
64233         (SETUP_PIC_REG): Use GET_PC_THUNK.
64234         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
64235         macro.
64237 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64239         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
64240         for non-PIC compilation.
64241         (SETUP_PIC_REG): Add .p2align directive.
64242         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
64243         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
64244         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64245         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64246         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64247         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64248         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
64249         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64250         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64251         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64252         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64253         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64254         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64255         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64256         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64257         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64258         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64259         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64260         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64261         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64262         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64263         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64264         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64265         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64266         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64267         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64268         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64269         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64270         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64271         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64272         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64273         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64274         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64275         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
64276         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
64277         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
64278         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
64279         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
64280         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
64281         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
64282         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
64284 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64286         * math/tst-CMPLX.c: Include <stdio.h>.
64288 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
64290         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
64291         float.
64292         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64293         * sysdeps/sparc/bits/mathdef.h: Likewise.
64295 2012-01-31  Marek Polacek  <polacek@redhat.com>
64297         * libio/libio.h: Don't define _PARAMS.
64298         * locale/programs/config.h: Don't define PARAMS.
64299         * stdlib/strtol_l.c: Likewise.
64300         (__strtol_l): Remove PARAMS from the prototype.
64302 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
64304         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
64305         names.  Just use the correct names.  Remove unnecessary wrapper
64306         functions.
64307         * malloc/arena.c: Likewise.
64308         * malloc/hooks.c: Likewise.
64310         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
64311         ARENA_TEST says not to.  Simplify test for creation of a new arena.
64312         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
64314 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
64316         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
64317         into tail calls.
64318         (update_get_addr): New function.
64319         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
64320         GET_ADDR_MODULE parameter.
64322 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64324         * crypt/cert.c: Remove __STDC__ conditionals.
64325         * crypt/crypt-entry.c: Likewise.
64326         * crypt/crypt_util.c: Likewise.
64327         * libio/filedoalloc.c: Likewise.
64328         * libio/fileops.c: Likewise.
64329         * libio/genops.c: Likewise.
64330         * libio/iofclose.c: Likewise.
64331         * libio/iofdopen.c: Likewise.
64332         * libio/iofopen.c: Likewise.
64333         * libio/iofopen64.c: Likewise.
64334         * libio/iogetdelim.c: Likewise.
64335         * libio/iopopen.c: Likewise.
64336         * libio/obprintf.c: Likewise.
64337         * libio/oldfileops.c: Likewise.
64338         * libio/oldiofclose.c: Likewise.
64339         * libio/oldiofdopen.c: Likewise.
64340         * libio/oldiofopen.c: Likewise.
64341         * libio/oldiopopen.c: Likewise.
64342         * libio/wfiledoalloc.c: Likewise.
64343         * libio/wgenops.c: Likewise.
64344         * locale/programs/xmalloc.c: Likewise.
64345         * misc/syslog.c: Likewise.
64346         * stdio-common/xbug.c: Likewise.
64347         * string/memchr.c: Likewise.
64348         * string/memcmp.c: Likewise.
64349         * string/memrchr.c: Likewise.
64350         * string/rawmemchr.c: Likewise.
64351         * sysdeps/posix/getcwd.c: Likewise.
64352         * time/strftime_l.c: Likewise.
64354 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64356         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
64357         * config.make.in (config-cflags-sse2avx): Define.
64358         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
64359         Fix typo.
64361 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
64363         * scripts/config.guess: Update from upstream config git repository.
64364         * scripts/config.sub: Likewise.
64366 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
64368         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
64369         (EM_NUM): Update.
64370         (R_TILEPRO_*, R_TILEGX_*): New macros.
64372         * scripts/firstversions.awk: Fix bug in version range handling.
64374         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
64376         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
64378         * include/sys/epoll.h: New file.
64379         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
64380         libc_hidden_def.
64382 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
64384         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
64385         Avoid unnecessary __WORDSIZE == 64 test.
64386         (fmaxf): Use VEX format if possible.
64387         (fmax): Likewise.
64388         (fminf): Likewise.
64389         (fmin): Likewise.
64391         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
64392         * math/math_private.h: Remove libc_fegetround* and
64393         libc_fesetround*.
64394         * sysdeps/i386/configure.in: Check for -msse2avx.
64395         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
64396         also if SSE2AVX is defined.
64397         Remove libc_fegetround* and libc_fesetround*.
64398         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
64399         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
64400         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
64401         of HAS_YMM_USABLE.
64402         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64403         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64404         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64405         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64406         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64408         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
64410 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64412         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
64413         size is not set.
64414         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64416 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
64418         [BZ #13618]
64419         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
64420         relocation.
64421         * Makeconfig (libm): Define.
64422         * elf/Makefile: Add rules to build and run tst-relsort1.
64423         * elf/tst-relsort1.c: New file.
64424         * elf/tst-relsort1mod1.c: New file.
64425         * elf/tst-relsort1mod2.c: New file.
64427 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
64429         * math/s_ldexp.c: Remove __STDC__ conditionals.
64430         * math/s_ldexpf.c: Likewise.
64431         * math/s_ldexpl.c: Likewise.
64432         * math/s_nextafter.c: Likewise.
64433         * math/s_nexttowardf.c: Likewise.
64434         * math/s_significand.c: Likewise.
64435         * math/s_significandf.c: Likewise.
64436         * math/s_significandl.c: Likewise.
64437         * math/w_jnl.c: Likewise.
64438         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64439         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64440         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64441         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64442         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64443         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64444         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
64445         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64446         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64447         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64448         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64449         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64450         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64451         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64452         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64453         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64454         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64455         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64456         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64457         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64458         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64459         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64460         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64461         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64462         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64463         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64464         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64465         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64466         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64467         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64468         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64469         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64470         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64471         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64472         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64473         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64474         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64475         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64476         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64477         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64478         * sysdeps/ieee754/k_standard.c: Likewise.
64479         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64480         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64481         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64482         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64483         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64484         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64485         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64486         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64487         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64488         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64489         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64490         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64491         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64492         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64493         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64494         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64495         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64496         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64497         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64498         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64499         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64500         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64501         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64502         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64503         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64504         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64505         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64506         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64507         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64508         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64509         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64510         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
64511         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64512         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64513         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64514         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64515         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
64516         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64517         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64518         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
64519         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
64520         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64521         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
64522         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
64523         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64524         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
64525         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64526         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64527         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64528         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
64529         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
64530         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64531         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64532         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64533         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64534         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64535         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
64536         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64537         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64538         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64539         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64540         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64541         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64542         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64543         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64544         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64545         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64546         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64547         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64548         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64549         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64550         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64551         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64552         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64553         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64554         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64555         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64556         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64557         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64558         * sysdeps/ieee754/s_matherr.c: Likewise.
64559         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64560         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64561         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64562         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64564 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64566         * crypt/md5.h: Remove __STDC__ conditionals.
64567         * libio/libioP.h: Likewise.
64568         * locale/programs/config.h: Likewise.
64569         * sysdeps/generic/sysdep.h: Likewise.
64570         * sysdeps/i386/asm-syntax.h: Likewise.
64571         * sysdeps/s390/asm-syntax.h: Likewise.
64572         * sysdeps/unix/sysdep.h: Likewise.
64573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
64574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64576 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64578         * libio/libio.h: Remove __STDC__ conditionals.
64579         * malloc/obstack.h: Likewise.
64580         * math/complex.h: Likewise.
64581         * math/math.h: Likewise.
64582         * sysdeps/generic/_G_config.h: Likewise.
64583         * sysdeps/gnu/_G_config.h: Likewise.
64584         * sysdeps/mach/hurd/_G_config.h: Likewise.
64585         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64586         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64587         * sysdeps/sparc/bits/mathdef.h: Likewise.
64589 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
64591         [BZ #13583]
64592         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
64593         Clean up HAS_* macros.
64594         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
64595         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
64596         possible.
64597         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
64598         HAS_AVX.
64599         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64600         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64601         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64602         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64603         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64605 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
64607         * elf/tst-unique3.cc (gets): Remove declaration.
64608         * elf/tst-unique3lib.cc (gets): Likewise.
64609         * elf/tst-unique3lib2.cc (gets): Likewise.
64610         * elf/tst-unique4.cc (gets): Likewise.
64612 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
64614         * include/stdio.h: Add C++ protection.  Add gets declarations and
64615         definitions.
64616         * debug/tst-chk1.c: Don't declare gets here.
64617         * stdio-common/tst-gets.c: Likewise.
64619 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64621         * posix/glob: Remove directory.
64623 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64625         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
64627 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
64629         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
64630         of the non-standard EPFNOSUPPORT.
64632 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64634         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
64635         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
64636         ANYWHERE set to 1 only on KERN_NO_SPACE error.
64638 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
64640         * wcsmbs/uchar.h: Test __STDC_VERSION__.
64642 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
64644         * nscd/aicache.c (addhstaiX): Do not cache negative results of
64645         transient errors.
64646         * nscd/grpcache.c (cache_addgr): Likewise.
64647         * nscd/hstcache.c (cache_addhst): Likewise.
64648         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64649         * nscd/pwdcache.c (cache_addpw): Likewise.
64650         * nscd/servicescache.c (cache_addserv): Likewise.
64652 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
64654         * malloc/malloc.c: Various cleanups.
64655         * malloc/hooks.c: Likewise.
64657         * stdlib/Makefile (tests): Add bug-fmtmsg1.
64658         * stdlib/bug-fmtmsg1.c: New file.
64660         * stdlib/fmtmsg.c (init): Add missing unlock.
64661         Patch by Peng Haitao <penght@cn.fujitsu.com>.
64663 2012-01-12  Marek Polacek  <polacek@redhat.com>
64665         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
64666         and _GNU_SOURCE.
64668 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
64670         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
64671         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
64672         macro to ensure uniqueness of label name.
64673         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64674         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64676 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
64678         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
64680         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
64681         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64682         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64683         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
64685 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
64687         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
64689         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
64690         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64691         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64693         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
64695         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
64696         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64697         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64698         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
64700         * math/bits/math-finite.h: Add ldexp support.
64702 2012-01-10  Marek Polacek  <polacek@redhat.com>
64704         * locale/programs/localedef.h (show_archive_content): Add noreturn
64705         attribute.
64707 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
64709         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
64711 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64713         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
64715         * io/Makefile (headers): Add bits/poll2.h.
64717 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
64719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
64720         typo #include statement.
64722 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64724         * include/sys/cdefs.h: Define __attribute_alloc_size.
64725         * catgets/gencat.c: Add alloc_size attribute and apply consistently
64726         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
64727         * elf/pldd.c: Likewise.
64728         * iconv/iconv_charmap.c: Likewise.
64729         * iconv/iconvconfig.c: Likewise.
64730         * iconv/strtab.c: Likewise.
64731         * locale/programs/locale.c: Likewise.
64732         * locale/programs/localedef.h: Likewise.
64733         * locale/programs/simple-hash.c: Likewise.
64734         * nscd/nscd.h: Likewise.
64735         * nss/makedb.c: Likewise.
64736         * sysdeps/generic/ldconfig.h: Likewise.
64737         * locale/programs/localedef.c: Remove xmalloc prototype.
64738         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
64740 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64742         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
64743         appropriate.
64745 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64747         * math/Makefile (tests): Add tst-CMPLX.
64748         * math/tst-CMPLX.c: New file.
64750         * math/complex.h (CMPLXL): Fix typo.
64752         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
64753         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
64754         GLIBC_2.16.
64755         * debug/tst-chk1.c: Add poll and ppoll tests.
64756         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
64757         * include/sys/poll.h: Add hidden proto for ppoll.
64758         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
64759         * sysdeps/mach/hurd/ppoll.c: Likewise.
64760         * io/ppoll.c: Likewise.
64761         * debug/poll_chk.c: New file.
64762         * debug/ppoll_chk.c: New file.
64763         * include/bits/poll2.h: New file.
64764         * io/bits/poll2.h: New file.
64766         [BZ #1350]
64767         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
64769         * configure.in: static is always set to yes.  Remove.
64770         * config.make.in: Don't set build-static.
64771         * Makeconfig: Remove use of build-static.
64772         * dlfcn/Makefile: Likewise.
64773         * elf/Makefile: Likewise.
64774         * math/Makefile: Likewise.
64775         * misc/Makefile: Likewise.
64776         * nptl/Makefile: Likewise.
64777         * sysdeps/mach/hurd/Makefile: Likewise.
64779         * configure.in: PWD_P is not used anymore.
64780         * config.make.in: Remove PWD_P entry.
64782         * configure.in: Remove last remnants of RANLIB.
64783         No need to check for signed size_t anymore.
64784         Don't set libc_commonpagesize and libc_relro_required here for Alpha
64785         and IA-64.
64786         Remove __builtin_expect test because we require at least gcc 3.4.
64787         * aclocal.m4: Likewise.
64789         * wcsmbs/mbrtoc16.c: Implement using towc function.
64790         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
64791         * wcsmbs/wcsmbsload.c: Likewise.
64792         * iconv/gconv_simple.c: Likewise.
64793         * iconv/gconv_int.h: Likewise.
64794         * iconv/gconv_builtin.h: Likewise.
64795         * iconv/iconv_prog.c: Remove CHAR16 handling.
64797         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
64799         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
64801         * configure.in: Remove --with-elf and --enable-bounded options.
64802         Dont set base_machine for ia64.  More non-ELF conditions removed.
64803         Remove testing and setting of leading underscore information.
64804         * config.make.in (build-bounded): Set to no.
64805         * config.h.in: Remove NO_UNDERSCORES entry.
64806         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
64807         them.
64808         * csu/start.c: Remove !NO_UNDERSCORE code.
64809         * locale/localeinfo.h: Likewise.
64810         * sysdeps/generic/machine-gmon.h: Likewise.
64811         * sysdeps/generic/sysdep.h: Likewise.
64812         * sysdeps/i386/sysdep.h: Likewise.
64813         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64814         * sysdeps/mach/sysdep.h: Likewise.
64815         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64816         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64817         * sysdeps/sh/sysdep.h: Likewise.
64818         * sysdeps/sparc/sparc32/alloca.S: Likewise.
64819         * sysdeps/unix/i386/sysdep.S: Likewise.
64820         * sysdeps/unix/sparc/start.c: Likewise.
64821         * sysdeps/unix/sparc/sysdep.S: Likewise.
64822         * sysdeps/unix/sparc/sysdep.h: Likewise.
64823         * sysdeps/unix/start.c: Likewise.
64824         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64825         * sysdeps/x86_64/sysdep.h: Likewise.
64827 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
64829         [BZ #13553]
64830         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
64831         for non-gcc.
64832         * argp/argp-fmtstream.h: Use const instead __const.
64833         * argp/argp.h: Likewise.
64834         * assert/assert.h: Likewise.
64835         * bits/fenv.h: Likewise.
64836         * bits/sched.h: Likewise.
64837         * bits/sigset.h: Likewise.
64838         * bits/sigthread.h: Likewise.
64839         * catgets/nl_types.h: Likewise.
64840         * conform/data/pthread.h-data: Likewise.
64841         * crypt/crypt-private.h: Likewise.
64842         * crypt/crypt.h: Likewise.
64843         * crypt/crypt_util.c: Likewise.
64844         * ctype/ctype.h: Likewise.
64845         * debug/execinfo.h: Likewise.
64846         * debug/mbsnrtowcs_chk.c: Likewise.
64847         * debug/mbsrtowcs_chk.c: Likewise.
64848         * debug/wcsnrtombs_chk.c: Likewise.
64849         * debug/wcsrtombs_chk.c: Likewise.
64850         * debug/wcstombs_chk.c: Likewise.
64851         * dirent/dirent.h: Likewise.
64852         * dlfcn/dlfcn.h: Likewise.
64853         * elf/neededtest4.c: Likewise.
64854         * grp/grp.h: Likewise.
64855         * gshadow/gshadow.h: Likewise.
64856         * iconv/gconv.h: Likewise.
64857         * iconv/gconv_int.h: Likewise.
64858         * iconv/gconv_simple.c: Likewise.
64859         * iconv/iconv.h: Likewise.
64860         * iconv/loop.c: Likewise.
64861         * iconv/skeleton.c: Likewise.
64862         * include/aio.h: Likewise.
64863         * include/aliases.h: Likewise.
64864         * include/argz.h: Likewise.
64865         * include/arpa/inet.h: Likewise.
64866         * include/assert.h: Likewise.
64867         * include/dirent.h: Likewise.
64868         * include/dlfcn.h: Likewise.
64869         * include/execinfo.h: Likewise.
64870         * include/fcntl.h: Likewise.
64871         * include/fenv.h: Likewise.
64872         * include/glob.h: Likewise.
64873         * include/grp.h: Likewise.
64874         * include/libintl.h: Likewise.
64875         * include/mntent.h: Likewise.
64876         * include/netdb.h: Likewise.
64877         * include/pwd.h: Likewise.
64878         * include/rpc/netdb.h: Likewise.
64879         * include/sched.h: Likewise.
64880         * include/search.h: Likewise.
64881         * include/shadow.h: Likewise.
64882         * include/signal.h: Likewise.
64883         * include/stdio.h: Likewise.
64884         * include/stdlib.h: Likewise.
64885         * include/string.h: Likewise.
64886         * include/sys/socket.h: Likewise.
64887         * include/sys/stat.h: Likewise.
64888         * include/sys/statfs.h: Likewise.
64889         * include/sys/statvfs.h: Likewise.
64890         * include/sys/syslog.h: Likewise.
64891         * include/sys/time.h: Likewise.
64892         * include/sys/uio.h: Likewise.
64893         * include/time.h: Likewise.
64894         * include/unistd.h: Likewise.
64895         * include/utmp.h: Likewise.
64896         * include/wchar.h: Likewise.
64897         * include/wctype.h: Likewise.
64898         * inet/aliases.h: Likewise.
64899         * inet/arpa/inet.h: Likewise.
64900         * inet/netinet/ether.h: Likewise.
64901         * inet/netinet/in.h: Likewise.
64902         * intl/libintl.h: Likewise.
64903         * io/bits/fcntl2.h: Likewise.
64904         * io/fcntl.h: Likewise.
64905         * io/ftw.h: Likewise.
64906         * io/sys/poll.h: Likewise.
64907         * io/sys/stat.h: Likewise.
64908         * io/sys/statfs.h: Likewise.
64909         * io/sys/statvfs.h: Likewise.
64910         * io/utime.h: Likewise.
64911         * libio/bits/stdio.h: Likewise.
64912         * libio/bits/stdio2.h: Likewise.
64913         * libio/libio.h: Likewise.
64914         * libio/libioP.h: Likewise.
64915         * libio/stdio.h: Likewise.
64916         * locale/lc-ctype.c: Likewise.
64917         * locale/locale.h: Likewise.
64918         * login/utmp.h: Likewise.
64919         * malloc/arena.c: Likewise.
64920         * malloc/malloc.c: Likewise.
64921         * malloc/malloc.h: Likewise.
64922         * malloc/mcheck.c: Likewise.
64923         * malloc/mtrace.c: Likewise.
64924         * math/bits/mathcalls.h: Likewise.
64925         * math/fenv.h: Likewise.
64926         * math/math_private.h: Likewise.
64927         * misc/bits/error.h: Likewise.
64928         * misc/bits/syslog.h: Likewise.
64929         * misc/err.h: Likewise.
64930         * misc/error.h: Likewise.
64931         * misc/fstab.h: Likewise.
64932         * misc/mntent.h: Likewise.
64933         * misc/regexp.h: Likewise.
64934         * misc/search.h: Likewise.
64935         * misc/sgtty.h: Likewise.
64936         * misc/sys/mman.h: Likewise.
64937         * misc/sys/syslog.h: Likewise.
64938         * misc/sys/uio.h: Likewise.
64939         * misc/sys/xattr.h: Likewise.
64940         * misc/ttyent.h: Likewise.
64941         * nis/rpcsvc/ypclnt.h: Likewise.
64942         * nss/nss.h: Likewise.
64943         * posix/bits/unistd.h: Likewise.
64944         * posix/fnmatch.h: Likewise.
64945         * posix/glob.h: Likewise.
64946         * posix/sched.h: Likewise.
64947         * posix/spawn.h: Likewise.
64948         * posix/sys/wait.h: Likewise.
64949         * posix/unistd.h: Likewise.
64950         * posix/wordexp.h: Likewise.
64951         * pwd/pwd.h: Likewise.
64952         * resolv/netdb.h: Likewise.
64953         * resource/sys/resource.h: Likewise.
64954         * rt/aio.h: Likewise.
64955         * rt/bits/mqueue2.h: Likewise.
64956         * rt/mqueue.h: Likewise.
64957         * shadow/shadow.h: Likewise.
64958         * signal/signal.h: Likewise.
64959         * socket/send.c: Likewise.
64960         * socket/sendto.c: Likewise.
64961         * socket/sys/socket.h: Likewise.
64962         * stdio-common/printf.h: Likewise.
64963         * stdlib/bits/stdlib.h: Likewise.
64964         * stdlib/fmtmsg.h: Likewise.
64965         * stdlib/monetary.h: Likewise.
64966         * stdlib/stdlib.h: Likewise.
64967         * stdlib/ucontext.h: Likewise.
64968         * streams/stropts.h: Likewise.
64969         * string/argz.h: Likewise.
64970         * string/bits/string2.h: Likewise.
64971         * string/string.h: Likewise.
64972         * string/strings.h: Likewise.
64973         * sunrpc/rpc/auth.h: Likewise.
64974         * sunrpc/rpc/auth_des.h: Likewise.
64975         * sunrpc/rpc/clnt.h: Likewise.
64976         * sunrpc/rpc/netdb.h: Likewise.
64977         * sunrpc/rpc/pmap_clnt.h: Likewise.
64978         * sunrpc/rpc/xdr.h: Likewise.
64979         * sysdeps/generic/inttypes.h: Likewise.
64980         * sysdeps/generic/net/if.h: Likewise.
64981         * sysdeps/generic/sys/swap.h: Likewise.
64982         * sysdeps/gnu/net/if.h: Likewise.
64983         * sysdeps/gnu/utmpx.h: Likewise.
64984         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
64985         * sysdeps/i386/i486/bits/string.h: Likewise.
64986         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
64987         * sysdeps/s390/bits/string.h: Likewise.
64988         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
64989         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
64990         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
64991         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
64992         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
64993         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
64994         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
64995         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
64996         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
64997         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
64998         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
64999         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65000         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
65001         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65002         * sysdeps/unix/sysv/linux/readv.c: Likewise.
65003         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
65004         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
65005         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65006         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
65007         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
65008         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65009         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
65010         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
65011         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
65012         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
65013         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
65014         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
65015         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65016         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
65017         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
65018         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
65019         * sysvipc/sys/ipc.h: Likewise.
65020         * sysvipc/sys/msg.h: Likewise.
65021         * sysvipc/sys/sem.h: Likewise.
65022         * sysvipc/sys/shm.h: Likewise.
65023         * termios/termios.h: Likewise.
65024         * time/sys/time.h: Likewise.
65025         * time/time.h: Likewise.
65026         * wcsmbs/bits/wchar2.h: Likewise.
65027         * wcsmbs/uchar.h: Likewise.
65028         * wcsmbs/wchar.h: Likewise.
65029         * wctype/wctype.h: Likewise.
65031         [BZ #13551]
65032         * Makeconfig: Remove all but ELF support including AIX support.
65033         * Makerules: Likewise.
65034         * config.h.in: Likewise.
65035         * config.make.in: Likewise.
65036         * configure: Likewise.
65037         * configure.in: Likewise.
65038         * csu/Makefile: Likewise.
65039         * csu/version.c: Likewise.
65040         * debug/Makefile: Likewise.
65041         * dlfcn/Makefile: Likewise.
65042         * elf/Makefile: Likewise.
65043         * extra-lib.mk: Likewise.
65044         * iconv/Makefile: Likewise.
65045         * include/libc-symbols.h: Likewise.
65046         * include/shlib-compat.h: Likewise.
65047         * resolv/Makefile: Likewise.
65048         * resolv/res_libc.c: Likewise.
65049         * rt/Makefile: Likewise.
65050         * sysdeps/i386/asm-syntax.h: Likewise.
65051         * sysdeps/i386/sysdep.h: Likewise.
65052         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65053         * sysdeps/mach/sysdep.h: Likewise.
65054         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
65055         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
65056         * sysdeps/s390/asm-syntax.h: Likewise.
65057         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65058         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65059         * sysdeps/sh/sysdep.h: Likewise.
65060         * sysdeps/unix/sparc/sysdep.h: Likewise.
65061         * sysdeps/wordsize-32/divdi3.c: Likewise.
65062         * sysdeps/x86_64/sysdep.h: Likewise.
65064         * argp/Versions: Remove _argp_unlock_xxx.
65066         [BZ #13559]
65067         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
65068         * abilist/libBrokenLocale.abilist: Likewise.
65069         * abilist/libanl.abilist: Likewise.
65070         * abilist/libc.abilist: Likewise.
65071         * abilist/libcrypt.abilist: Likewise.
65072         * abilist/libdl.abilist: Likewise.
65073         * abilist/libm.abilist: Likewise.
65074         * abilist/libnsl.abilist: Likewise.
65075         * abilist/libpthread.abilist: Likewise.
65076         * abilist/libresolv.abilist: Likewise.
65077         * abilist/librt.abilist: Likewise.
65078         * abilist/libthread_db.abilist: Likewise.
65079         * abilist/libutil.abilist: Likewise.
65080         * abilist/libnss_db.abilist: New file.
65082         * scripts/abilist.awk: Add support for indirect functions.
65084         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
65086         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
65088         * shlib-versions: Remove entries for ports architectures.
65090         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
65091         files in ports.
65092         * elf/stackguard-macros.h: Remove support for IA-64.
65093         * elf/tst-auditmod1.c: Likewise.
65094         * sysdeps/generic/ldsodefs.h: Likewise.
65096         * sysdeps/unix/sysv/linux/configure.in: Ports should define
65097         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
65098         configure files.
65100         [BZ #13552]
65101         * configure.in: Remove --enable-omitfp support.
65102         * FAQ.in: Adjust.
65103         * config.make.in: Likewise.
65104         * Makeconfig: Likewise.
65105         * manual/install.texi: Likewise.
65107         In case anyone cares, the IA-64 architecture could move to ports.
65108         * sysdeps/ia64/*: Removed.
65109         * sysdeps/unix/sysv/linux/ia64/*: Removed.
65110         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
65112         [BZ #13555]
65113         * configure.in: Remove entries for unsupported architectures.
65115         [BZ #13533]
65116         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
65117         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
65118         routines.
65119         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
65120         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
65121         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
65122         fall back to using wcrtomb.
65123         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
65124         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
65125         renaming.
65126         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
65127         * wcsmbs/tst-c16c32-1.c: New file.
65129         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
65130         local variable.
65132         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
65134         * elf/tst-unique3.cc: Add explicit declaration of gets.
65135         * elf/tst-unique3lib.cc: Likewise.
65136         * elf/tst-unique3lib2.cc: Likewise.
65137         * elf/tst-unique4.cc: Likewise.
65139         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
65141 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
65143         [BZ #13566]
65144         * assert/assert.h (static_assert): Don't define for C++.
65145         * libio/stdio.h (gets): Do declare for C++ <= C++11.
65146         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
65148 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
65150         * iconv/loop.c (single loop): Fix assertion in storing of
65151         remaining bytes.
65153         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
65155 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
65157         * posix/getconf.c: Update copyright year.
65158         * nss/getent.c: Likewise.
65159         * nss/makedb.c: Likewise.
65160         * iconv/iconvconfig.c: Likewise.
65161         * iconv/iconv_prog.c: Likewise.
65162         * elf/ldconfig.c: Likewise.
65163         * elf/pldd.c: Likewise.
65164         * elf/sotruss.ksh: Likewise.
65165         * catgets/gencat.c: Likewise.
65166         * csu/version.c: Likewise.
65167         * elf/ldd.bash.in: Likewise.
65168         * elf/sprof.c (print_version): Likewise.
65169         * locale/programs/locale.c: Likewise.
65170         * locale/programs/localedef.c: Likewise.
65171         * login/programs/pt_chown.c: Likewise.
65172         * nscd/nscd.c (print_version): Likewise.
65173         * debug/xtrace.sh: Likewise.
65174         * malloc/memusage.sh: Likewise.
65175         * malloc/mtrace.pl: Likewise.
65176         * debug/catchsegv.sh: Likewise.
65178 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
65180         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
65181         pure attribute.
65183 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
65185         [BZ #13533]
65186         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
65187         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
65188         transformations.
65189         * iconv/gconv_int.h: Likewise.
65190         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
65191         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
65192         from libc for GLIBC_2.16.
65193         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
65194         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
65195         * wcsmbs/uchar.h: Really define mbstate_t.
65196         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
65197         * wcsmbs/c16rtomb.c: New file.
65198         * wcsmbs/mbrtoc16.c: New file.
65199         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
65200         for C/POSIX locale.
65201         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
65202         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
65204         * wcsmbs/wchar.h: Add missing __restrict.
65206 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65208         [BZ #13532]
65209         * time/Makefile (routines): Add timespec_get.
65210         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
65211         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
65212         timespec for ISO C11.
65213         * time/timespec_get.c: New file.
65214         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
65215         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
65217         [BZ #13531]
65218         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
65219         * stdlib/stdlib.h: Declare aligned_alloc.
65220         * Versions.def: Add GLIBC_2.16 for libc.
65221         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
65223         [BZ 13527]
65224         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
65225         ISO C11.
65227         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
65228         code.
65230         [BZ #13528]
65231         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
65233         [BZ #13529]
65234         * assert/assert.h (static_assert): Define.
65236         * version.h: Update for 2.16 development version.
65238         [BZ #13526]
65239         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
65240         _ISOC11_SOURCE.
65242         * version.h (RELEASE): Bump for 2.15 release.
65243         * include/features.h (__GLIBC_MINOR__): Bump to 15.
65245         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
65246         Patch by Marek Polacek <mpolacek@redhat.com>.
65248         * bits/byteswap.h: Protect long long constants with __extension__.
65249         * sysdeps/i386/bits/byteswap.h: Likewise.
65250         * sysdeps/ia64/bits/byteswap.h: Likewise.
65251         * sysdeps/s390/bits/byteswap.h: Likewise.
65252         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65254 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65256         [BZ #13540]
65257         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
65258         destination buffer.
65259         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
65261 2011-12-23  Marek Polacek  <polacek@redhat.com>
65263         * elf/dl-addr.c (determine_info): Add inline keyword.
65264         * elf/tst-auditmod4b.c (check_avx): Likewise.
65265         * elf/tst-auditmod6b.c (check_avx): Likewise.
65266         * elf/tst-auditmod6c.c (check_avx): Likewise.
65267         * elf/tst-auditmod7b.c (check_avx): Likewise.
65269 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65271         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
65272         !__SSE_MATH__.
65274 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65276         [BZ #13540]
65277         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
65278         processing for last bytes.
65280 2011-08-06  Bruno Haible  <bruno@clisp.org>
65282         [BZ #13061]
65283         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
65284         U+0385, not to U+1FEE.
65286         [BZ #13062]
65287         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
65288         entry for U+00A5 U+0301.
65290 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65292         [BZ #13166]
65293         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
65294         buffer for the output is too small.
65296         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
65297         optimization.
65299         [BZ #13185]
65300         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
65301         SSE flags if possible.
65303 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65305         [BZ #13540]
65306         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
65307         processing for last bytes.
65309 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
65311         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
65312         (syscall-list-default-options, syscall-list-default-condition)
65313         (syscall-list-includes): Define.
65314         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
65315         list of ABIs and options and #if conditions for each ABI.  Do not
65316         handle common syscalls between ABIs specially.
65317         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
65318         Remove.
65319         (syscall-list-variants, syscall-list-32bit-options)
65320         (syscall-list-32bit-condition, syscall-list-64bit-options)
65321         (syscall-list-64bit-condition): Define.
65322         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
65323         (syscall-list-variants, syscall-list-32bit-options)
65324         (syscall-list-32bit-condition, syscall-list-64bit-options)
65325         (syscall-list-64bit-condition): Define.
65326         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
65327         Remove.
65328         (syscall-list-variants, syscall-list-32bit-options)
65329         (syscall-list-32bit-condition, syscall-list-64bit-options)
65330         (syscall-list-64bit-condition): Define.
65331         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
65332         Remove.
65333         (syscall-list-variants, syscall-list-32bit-options)
65334         (syscall-list-32bit-condition, syscall-list-64bit-options)
65335         (syscall-list-64bit-condition): Define.
65337 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65339         * locale/iso-639.def: Add brx entry.
65341         [BZ #13328]
65342         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
65343         Proposed by Mariusz_Cukr <marcukr@op.pl>.
65345         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
65346         __feraiseexcept_renamed.
65348 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65350         [BZ #13538]
65351         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
65352         EPOLLET with unsigned values.
65353         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65354         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65356         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
65357         to large cancellation.
65358         * math/s_cacoshf.c: Likewise.
65359         * math/s_cacoshl.c: Likewise.
65361 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
65363         [BZ #13305]
65364         [BZ #12786]
65365         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
65366         * math/s_cacoshf.c: Likewise.
65367         * math/s_cacoshl.c: Likewise.
65369 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65371         [BZ #13439]
65372         * iconv/gconv.h: Define __GCONV_SWAP.
65373         * iconvdata/unicode.c: The swap bit must be stored in __flags.
65374         * iconvdata/utf-16.c: Likewise.
65375         * iconvdata/utf-32.c: Likewise.
65377 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
65379         [BZ #13524]
65380         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
65381         numerator after shifting it by one limb.
65383 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
65385         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
65386         under [__USE_EXTERN_INLINES].
65388 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65390         [BZ #13446]
65391         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
65393 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65395         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
65396         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
65397         optimized code.
65398         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
65399         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
65400         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
65401         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
65402         for strncasecmp/strncasecmp_l compilation.
65403         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
65404         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
65406 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
65408         [BZ #13484]
65409         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
65410         of __asm__.
65412 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65414         [BZ #13506]
65415         * time/tzfile.c (__tzfile_read): Check values from file header.
65417 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
65419         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
65420         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
65421         * powerpc/powerpc32/dl-start.S: Likewise.
65422         * powerpc/powerpc32/elf/start.S: Likewise.
65423         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
65424         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
65425         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
65426         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
65427         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65428         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
65429         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
65430         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65431         * powerpc/powerpc32/fpu/s_round.S: Likewise.
65432         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65433         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65434         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65435         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
65436         * powerpc/powerpc32/memset.S: Likewise.
65437         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65438         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65439         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65440         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65441         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65442         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
65443         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
65444         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
65445         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
65446         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
65447         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
65448         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65449         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65451 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65453         * math/libm-test.inc: Added more nearbyint tests.
65454         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
65455         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
65456         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
65457         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
65459 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
65461         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
65462         FD_CLOEXEC.
65464 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65466         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
65467         Add wcscpy-ssse3 wcscpy-c.
65468         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
65469         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
65470         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
65471         * sysdeps/x86_64/wcschr.S: New file.
65472         * sysdeps/x86_64/wcsrchr.S: New file.
65473         * string/test-strcmp.c: Remove checking of wcscmp function for
65474         wrong alignments.
65475         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
65476         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
65477         wcsrchr-sse2 wcsrchr-c.
65478         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
65479         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
65480         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
65481         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
65482         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
65483         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
65484         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
65485         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
65486         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
65487         * wcsmbc/wcschr.c (WCSCHR): New macro.
65489 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65491         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
65492         * wcsmbs/test-wcsrchr.c: New file.
65493         * string/test-strrchr.c: Add wcsrchr support.
65494         (WIDE): New macro.
65495         * wcsmbs/test-wcscpy.c: New file.
65496         * string/test-strcpy.c: Add wcscpy support.
65497         (WIDE): New macro.
65499 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
65501         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
65502         the inner loop.
65504 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
65506         [BZ #13472]
65507         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
65509 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
65511         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
65512         Minor optimizations.
65514         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
65515         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
65516         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
65518 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
65520         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
65521         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
65522         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
65523         for gcc to avoid warnings.
65524         * inet/Makefile (tests): Add tst-checks.
65525         * inet/tst-checks.c: New file.
65527         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
65528         warning.
65530         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
65531         __wmemcmp_sse2.
65533         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
65534         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
65536         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
65538 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
65540         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
65541         problem.
65543         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
65545 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
65547         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
65548         conditional on GCC version.
65549         (__arch_compare_and_exchange_val_8_acq)
65550         (__arch_compare_and_exchange_val_16_acq)
65551         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
65552         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
65553         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
65555 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
65557         * sysdeps/sh/backtrace.c: New file.
65559 2011-12-02  Andreas Schwab  <schwab@redhat.com>
65561         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
65562         parenthesis.
65564 2011-12-01  Andreas Schwab  <schwab@redhat.com>
65566         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
65567         falling back to utime.
65569 2011-11-30  Andreas Schwab  <schwab@redhat.com>
65571         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
65572         expectations for float.
65574 2011-11-29  Andreas Schwab  <schwab@redhat.com>
65576         * locale/weight.h (findidx): Add parameter len.
65577         * locale/weightwc.h (findidx): Likewise.
65578         * posix/fnmatch_loop.c (FCT): Adjust caller.
65579         * posix/regcomp.c (build_equiv_class): Likewise.
65580         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
65581         * posix/regexec.c (check_node_accept_bytes): Likewise.
65582         * string/strcoll_l.c (STRCOLL): Likewise.
65583         * string/strxfrm_l.c (STRXFRM): Likewise.
65585 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
65587         * Makefile.in: Remove CVSOPT handling.
65588         * configure.in: Remove use of AC_REVISION.
65589         * iconvdata/Makefile (distribute): No need to filter out CVS.
65590         * scripts/list-sources.sh: Remove CVS, subversion and monotone
65591         handling.
65593 2011-11-16  Andreas Schwab  <schwab@redhat.com>
65595         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
65596         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
65597         [USE_AS_STRNCASECMP_L]: Likewise.
65598         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
65599         NO_TLS_DIRECT_SEG_REFS.
65600         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
65601         Fix argument offsets for non-PIC.
65602         [USE_AS_STRNCASECMP_L]: Likewise.
65603         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
65604         NO_TLS_DIRECT_SEG_REFS.
65606 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65608         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
65609         O_CLOEXEC.
65610         * locale/loadlocale.c (_nl_load_locale): Likewise.
65612 2011-11-15  Andreas Schwab  <schwab@redhat.com>
65614         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
65615         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
65616         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
65617         (SYSCALL_GETTIME): Set errno on error.
65619         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
65620         count references to noai6ai_cached.
65622 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65624         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
65626         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
65627         FD_CLOEXEC for /proc/self/maps.
65629         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
65630         FD_CLOEXEC for /proc/meminfo.
65632         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
65633         gai.conf.
65635         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
65636         FD_CLOEXEC for given file.
65638         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
65640         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
65641         FD_CLOEXEC for /etc/hosts.
65642         (_gethtent): Likewise.
65644         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
65646         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
65647         cancellation and set FD_CLOEXEC for /etc/netgroup.
65649         * nss/nss_files/files-key.c (search): Don't allow cancellation when
65650         reading /etc/publickey.
65652         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
65653         allow cancellation when reading /etc/group.
65655         * nss/nss_files/files-alias.c (internal_setent): Don't allow
65656         cancellation.
65657         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
65659         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
65660         when using data file.
65662         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
65664         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
65665         (write_nis_obj): Use "c" and "e" in fopen.
65667         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
65669         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
65671         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
65673         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
65675         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
65676         locale.alias.
65678         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
65680         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
65682         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
65684         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
65685         file parsing and set FD_CLOEXEC.
65687 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65689         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
65691 2011-11-14  Andreas Schwab  <schwab@redhat.com>
65693         * malloc/arena.c (arena_get2): Don't call reused_arena when
65694         _int_new_arena failed.
65696 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65698         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
65699         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
65700         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
65701         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65702         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65703         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
65704         to compile strcasecmp and strncasecmp.
65705         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
65706         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
65708         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
65710 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
65712         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
65713         locale-defines.sym to gen-as-const-headers.
65714         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
65715         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
65716         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
65717         to compile strcasecmp and strncasecmp.
65718         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
65719         strcasecmp_l and strncasecmp_l.
65720         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
65721         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
65722         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
65723         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
65724         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
65725         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
65726         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
65727         * sysdeps/i386/i686/multiarch/strncase.S: New file.
65728         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
65729         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
65730         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
65732 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
65734         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
65735         result of SYSDEP_GETTIME_CPU to retval.
65736         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
65737         parameter list to macro.  Remove trailing semicolon.  Adjust users.
65739         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
65740         variable.
65742         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
65743         mantissa words.
65744         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
65746         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
65747         from unused variable.
65749         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
65750         DWARF definitions.
65751         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
65752         for assembling.
65754         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
65755         over namespaces.
65757         * sunrpc/rpc_prot.c (rejected): Fix case value.
65759         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
65760         unsigned long long int to avoid warnings in shift.
65762         * posix/regex_internal.c (re_string_reconstruct): Actually use result
65763         of use of trans.
65764         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
65765         variable tmp.
65767         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
65768         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
65769         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
65771         * nis/nis_table.c (nis_list): Use variable of correct type for
65772         result of __follow_path call.
65774 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65776         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
65777         of math functions ceil, trunc, floor, round, and sqrt, when
65778         avaliable on the platform.
65779         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
65780         name clash.
65781         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65782         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65783         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65785 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
65787         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
65788         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65790 2011-11-11  Roland McGrath  <roland@hack.frob.com>
65792         * include/unistd.h: Fix __readlink return type.
65793         Reported by Chris Metcalf <cmetcalf@tilera.com>.
65795 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
65797         * stdlib/ucontext.h: Undo last change for makecontext.
65799 2011-11-11  Andreas Schwab  <schwab@redhat.com>
65801         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
65803         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
65804         * setjmp/setjmp.h: Mark functions as non-leaf.
65805         * setjmp/bits/setjmp2.h: Likewise.
65806         * stdlib/ucontext.h: Likewise.
65808 2011-11-10  Andreas Schwab  <schwab@redhat.com>
65810         * malloc/arena.c (_int_new_arena): Don't increment narenas.
65811         (reused_arena): Don't check arena limit.
65812         (arena_get2): Atomically check arena limit.
65814 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
65816         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
65817         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
65819         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
65820         instructions.
65822 2011-11-07  Andreas Schwab  <schwab@redhat.com>
65824         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
65825         handler when locking.
65827         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65828         Fix size of allocated buffer.
65830 2011-11-04  Andreas Schwab  <schwab@redhat.com>
65832         [BZ #10103]
65833         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
65834         declarations for long double functions.
65835         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
65837         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
65839 2011-11-03  Andreas Schwab  <schwab@redhat.com>
65841         * nscd/nscd.c (main): Don't start AVC thread until credentials are
65842         installed.
65844         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
65845         is disabled.
65847 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65849         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
65851 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65853         * include/alloca.h (stackinfo_alloca_round): Define.
65854         (extend_alloca): Use it.
65855         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
65856         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
65857         here.
65859         * scripts/check-local-headers.sh: Ignore libaudit.h.
65861         * nscd/Makefile (extra-objs): Make recursively expanded.
65863 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
65865         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
65866         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
65868         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
65869         * posix/tst-rfc3484-2.c: Likewise.
65870         * posix/tst-rfc3484-3.c: Likewise.
65872         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65873         process_vm_writev.
65874         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
65875         process_vm_writev.
65876         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
65877         process_vm_writev from libc using GLIBC_2.15 version.
65879         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
65881 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
65883         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
65884         stack usage.
65886 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
65888         [BZ #13367]
65889         * nss/getent.c (initgroups_keys): Show error message in case no group
65890         names are given.
65892         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
65893         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
65894         __bump_nl_timestamp.
65895         * nscd/connections (nscd_init): When host database is served open
65896         netlink socket and request notification about configuration changes.
65897         (main_loop_poll): Track netlink file descriptor and bump timestamp
65898         in case data becomes available.
65899         (main_loop_epoll): Likewise.
65900         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
65901         (database_pers_head): Add extra_data fileds.
65902         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
65903         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
65904         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
65905         Adjust caller.
65906         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
65907         in6ai data, call __free_in6ai.
65908         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
65909         Add -DHAVE_NETLINK.
65910         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
65911         interface information.  Reuse previous data if netlink timestamp
65912         is not changed.
65913         (__bump_nl_timestamp): New function.
65914         (__free_in6ai): New function.
65916 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
65918         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
65919         close_not_cancel_no_status here.
65920         (__check_pf): Reorganize code a bit to not call close twice if OOM.
65922 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65924         [BZ #13276]
65925         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
65926         return value.
65928         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
65929         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
65930         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
65932 2011-07-03  Andreas Jaeger  <aj@suse.de>
65934         [BZ #10709]
65935         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
65936         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
65937         * math/libm-test.inc (sin_test): Add test case.
65939 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65941         [BZ #13337]
65942         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
65943         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65945         * elf/chroot_canon.c (chroot_canon): Cleanups.
65947         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
65949         [BZ #13335]
65950         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
65951         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65953         * string/test-strchr.c: Make usable for strchrnul testing.
65954         * string/test-strchrnul.c: New file.
65955         * string/Makefile (strop-tests): Add strchrnul.
65957         * po/it.po: Update from translation team.
65958         * po/es.po: Likewise.
65960 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
65962         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
65963         the three constants needed as parameters.  Drop the others.
65964         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
65965         __m128i_strloadu_tolower.
65966         Create and initialize variable zero and use it in all the places
65967         where _mm_setzero_si128 was used.
65969         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
65970         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
65971         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
65972         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
65973         anymore.
65974         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
65975         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
65976         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
65977         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
65978         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
65979         __mpranred, __mptan.
65980         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
65981         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
65982         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
65983         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
65984         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
65985         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
65986         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
65987         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
65988         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
65990 2011-10-28  Andreas Schwab  <schwab@redhat.com>
65992         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
65993         redefine if SHARED.
65994         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
65996         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
65997         wide char related routines to wcsmbs subdir.
65999 2011-10-27  Andreas Schwab  <schwab@redhat.com>
66001         [BZ #13344]
66002         * misc/sys/cdefs.h (__THROWNL): Define.
66003         * posix/unistd.h: Use __THREADNL instead of __THREAD
66004         for memory synchronization functions.
66006 2011-10-26  Roland McGrath  <roland@hack.frob.com>
66008         [BZ #13349]
66009         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
66010         doesn't exist.
66011         * manual/stdio.texi (Obstack Streams): Node removed.
66013 2011-10-26  Andreas Schwab  <schwab@redhat.com>
66015         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
66016         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66017         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66019         * math/math_private.h (math_force_eval): Allow non-addressable
66020         arguments.
66021         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
66023 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66025         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
66026         file is not needed.
66028         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
66029         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
66030         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66031         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66032         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66033         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66034         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66035         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
66036         Add AVX variants.
66037         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
66038         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
66039         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
66040         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
66041         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
66042         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
66043         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
66044         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
66045         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
66046         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
66047         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
66048         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
66049         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
66050         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
66051         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
66052         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
66053         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
66054         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
66055         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
66057         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
66058         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
66060         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
66061         place.  Use VEX encoding when compiling for AVX.
66063 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66065         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
66066         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
66068         * string/test-strchr.c (do_test): Don't generate NUL bytes.
66070 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66072         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
66073         useless if() expression.
66074         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66075         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66076         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66077         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66078         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66079         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66080         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66081         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66082         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66083         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66084         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66085         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66086         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66087         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66088         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66089         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66090         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66091         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66092         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66094         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
66096 2011-10-25  Andreas Schwab  <schwab@redhat.com>
66098         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
66099         condition.
66100         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66102 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
66104         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
66105         .text section.  Avoid duplicate constants.
66106         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66107         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66108         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66109         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66110         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66111         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66112         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66113         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66114         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66115         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
66116         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66117         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66118         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66119         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66120         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66121         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66122         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66123         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66124         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66125         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66126         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66127         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66128         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66129         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
66130         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
66131         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
66132         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
66133         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
66134         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
66135         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
66136         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
66137         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
66138         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66139         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
66140         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
66141         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
66142         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
66143         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
66144         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
66145         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
66146         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
66147         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
66148         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
66149         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
66150         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
66152 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
66154         * sysdeps/x86_64/dla.h: Move to ...
66155         * sysdeps/x86_64/fpu/dla.h: ...here.
66156         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
66157         situations.  Use __builtin_fma only for gcc 4.6 and up.
66159         * config.make.in: Add have-mfma4 entry.
66160         * configure.in: Substitute libc_cv_cc_fma4.
66161         * math/Makefile (dbl-only-routines): Add sincostab.
66162         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
66163         Use __sincostab not sincos.
66164         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
66165         name is a macro.
66166         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66167         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66168         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66169         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
66170         using __copysign.
66171         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
66172         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
66173         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
66174         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
66175         and __inv.
66176         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
66177         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
66178         __copysign.
66179         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
66180         define aliases when function name is a macro.
66181         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
66182         sysdeps/ieee754/dbl-64/sincos.tbl.
66183         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
66184         fma4-enabled routines.
66185         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
66186         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
66187         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
66188         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
66189         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
66190         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
66191         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
66192         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
66193         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
66194         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
66195         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
66196         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
66197         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
66198         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
66199         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
66200         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
66201         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
66202         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
66203         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
66204         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
66205         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
66206         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
66207         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
66208         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
66209         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
66210         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
66211         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
66212         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
66213         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
66214         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
66216         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
66217         rename.
66218         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66219         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66220         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66221         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66222         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66223         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66224         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66225         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66227 2011-10-24  Andreas Schwab  <schwab@redhat.com>
66229         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
66231 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66233         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
66235         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
66236         prediction.
66237         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
66239         * string/strnlen.c: Don't define STRNLEN, reverse logic.
66240         Remove unused variable magic_bits.
66241         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
66243         * string/strnlen.c: Define and use STRNLEN macro.
66244         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
66245         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
66246         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
66247         * wcsmbs/wcslen.c: Define and use WCSLEN.
66248         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
66249         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
66250         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
66251         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
66252         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
66253         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
66254         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66256 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66258         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66259         strnlen-sse2-no-bsf.
66260         Rename strlen-no-bsf to strlen-sse2-no-bsf.
66261         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
66262         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
66263         Add strnlen support.
66264         (USE_AS_STRNLEN): New macro.
66265         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
66266         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
66267         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
66268         * sysdeps/x86_64/wcslen.S: New file.
66270 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
66272         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66273         XMM-moves are used for copying on small sizes.
66275 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66277         * wcsmbs/Makefile (strop-tests): Add wcschr.
66278         * wcsmbs/test-wcschr.c: New file.
66279         * string/test-strchr.c: Update.
66280         Add wcschr support.
66281         (WIDE): New macro.
66283 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66285         * wcsmbs/Makefile (strop-tests): Add wcslen.
66286         * wcsmbs/test-wcslen.c: New file.
66287         * string/test-strlen.c: Update.
66288         Add wcslen support.
66289         (WIDE): New macro.
66291 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66293         * po/it.po: Update from translation team.
66295 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66297         * sysdeps/x86_64/wcscmp.S: Update.
66298         Fix wrong comparison semantics.
66299         wcscmp shall use signed comparison not unsigned.
66300         Don't use substraction to avoid overflow bug.
66301         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
66302         * wcsmbc/wcscmp.c: Likewise.
66303         * string/test-strcmp.c: Likewise.
66304         Add new tests to check cases with negative values.
66306 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66308         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
66309         * sysdeps/x86_64/dla.h: ...here.  New file.
66310         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
66311         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66312         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66313         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66314         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66315         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66316         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66317         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66318         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66320 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
66322         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
66323         __ynl_finite aliases.
66325 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66327         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66329         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
66330         define DLA_FMA.
66331         [DLA_FMA] (EMULV): Use DLA_FMA.
66332         [DLA_FMA] (MUL12): Use EMULV.
66333         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
66334         that are not needed.
66335         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66336         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66337         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66338         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66339         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66340         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66341         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66343 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
66345         * math/s_nan.c: Undef __nan.
66346         * math/s_nanf.c: Undef __nanf.
66347         * math/s_nanl.c: Undef __nanl.
66348         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
66349         "math_private.h".
66351 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66353         * math/s_catan.c: Add branch predictions.
66354         * math/s_catanf.c: Likewise.
66355         * math/s_catanh.c: Likewise.
66356         * math/s_catanhf.c: Likewise.
66357         * math/s_catanhl.c: Likewise.
66358         * math/s_catanl.c: Likewise.
66359         * math/s_cexp.c: Likewise.
66360         * math/s_cexpf.c: Likewise.
66361         * math/s_cexpl.c: Likewise.
66362         * math/s_clog.c: Likewise.
66363         * math/s_clog10.c: Likewise.
66364         * math/s_clog10f.c: Likewise.
66365         * math/s_clog10l.c: Likewise.
66366         * math/s_clogf.c: Likewise.
66367         * math/s_clogl.c: Likewise.
66368         * math/s_csqrt.c: Likewise.
66369         * math/s_csqrtf.c: Likewise.
66370         * math/s_csqrtl.c: Likewise.
66371         * math/s_ctanf.c: Likewise.
66372         * math/s_ctanh.c: Likewise.
66373         * math/s_ctanhf.c: Likewise.
66374         * math/s_ctanhl.c: Likewise.
66375         * math/s_ctanl.c: Likewise.
66377         * math/math_private.h: Define __nan, __nanf, __nanl.
66378         * math/s_cacosh.c: Include <math_private.h>.
66379         * math/s_cacoshl.c: Likewise.
66380         * math/s_casinh.c: Likewise.
66381         * math/s_casinhf.c: Likewise.
66382         * math/s_casinhl.c: Likewise.
66383         * math/s_ccos.c: Rely entire on ccosh.
66384         * math/s_ccosf.c: Rely entire on ccoshf.
66385         * math/s_ccosl.c: Rely entirely on ccoshl.
66386         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
66387         Remove tests for FE_INVALID.
66388         * math/s_ccoshf.c: Likewise.
66389         * math/s_ccoshl.c: Likewise.
66390         * math/s_csin.c: Likewise.
66391         * math/s_csinf.c: Likewise.
66392         * math/s_csinh.c Likewise.
66393         * math/s_csinhf.c: Likewise.
66394         * math/s_csinhl.c: Likewise.
66395         * math/s_csinl.c: Likewise.
66396         * math/s_ctan.c: Likewise.
66397         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
66398         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
66399         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
66401 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
66403         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
66404         compilation problems.
66406         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
66407         __builtin_expect.
66409 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
66411         * sysdeps/i386/configure.in: Test for -mfma4 option.
66412         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
66413         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
66414         COMMON_CPUID_INDEX_80000001.
66415         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
66416         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
66417         use it if FMA3 is not supported.
66418         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
66420         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
66421         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
66423 2011-10-20  Andreas Schwab  <schwab@redhat.com>
66425         [BZ #12892]
66426         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
66427         it would create a cycle with a link time dependency.
66429 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
66431         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
66432         instruction.
66433         * string/Makefile (strop-tests): Add rawmemchr.
66434         * string/test-rawmemchr.c: New file.
66436         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
66437         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
66438         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
66439         when compiling str{,n}casecmp and when AVX is available.  Hook up
66440         new optimized code in initializers.
66442 2011-10-19  Andreas Schwab  <schwab@redhat.com>
66444         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
66445         __feraiseexcept instead of feraiseexcept.
66447 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
66449         * math/math_private.h: Define defaults for libc_fetestexcept and
66450         libc_feupdateenv.
66451         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
66452         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
66453         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66454         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66455         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66456         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66457         libc_fetestexcept and libc_feupdateenv.
66459         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
66460         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
66461         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
66462         * sysdeps/x86_64/fpu/math_private.h: Define special version of
66463         libc_feholdexcept_setround.
66465         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
66466         Add s_nearbyint-c and s_nearbyintf-c.
66467         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
66468         nearbyintf inlines.
66469         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
66470         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
66471         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
66472         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
66474         * math/math_private.h: Define defaults for libc_fegetround,
66475         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
66476         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
66477         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
66478         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
66479         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
66480         standard functions.
66481         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66482         Remove comments and hacks for old compiler versions.
66483         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66484         libc_fegetround, libc_fesetround, libc_feholdexcept, and
66485         libc_feholdexceptl.
66487 2011-10-18  Andreas Schwab  <schwab@redhat.com>
66489         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
66490         (__feraiseexcept_renamed): Add __NTH.
66491         (feraiseexcept): Add __NTH.  Rename local variables to fix
66492         namespace violations.
66494 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
66496         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
66498         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
66500         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
66501         recently added interfaces.
66502         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
66504         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
66505         about macro parameter expansion.
66507         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
66508         __NO_MATH_INLINES is defined.  Cleanups.
66510         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
66511         and __floorf is target has SSE4.1.
66512         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
66513         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
66514         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
66515         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
66517         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
66518         name.
66519         (floorf): Likewise.
66521         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
66523 2011-10-17  Andreas Schwab  <schwab@redhat.com>
66525         * misc/sys/cdefs.h: Fix last change.
66527         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
66528         database lookup.
66530 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
66532         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
66534         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
66535         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66536         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66537         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66538         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66539         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66540         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66541         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66542         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66543         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
66544         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
66545         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
66546         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
66547         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
66548         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
66549         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
66550         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
66551         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
66552         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
66553         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
66554         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
66555         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
66557         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
66558         ceil, ceilf, floor, floorf.
66560         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
66561         Perform IRELATIVE relocations last.
66563         * elf/do-rel.h: Add another parameter nrelative, replacing the
66564         local variable with the same name.  Change name of the function
66565         to end in Rel or Rela (uppercase).
66566         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
66567         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
66568         elf_dynamic_do_##reloc function.
66570 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66572         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
66573         is sufficient, at least on modern CPUs.
66575         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
66577         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
66578         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
66580         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
66581         __expl_finite.
66582         * math/bits/math-finite.h: Add entries for exp.
66583         * math/e_expl.c: Add __*_finite alias.
66584         * sysdeps/i386/fpu/e_exp.S: Likewise.
66585         * sysdeps/i386/fpu/e_expf.S: Likewise.
66586         * sysdeps/i386/fpu/e_expl.c: Likewise.
66587         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66588         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66589         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
66590         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
66591         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
66592         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66593         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66595         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
66596         is sufficient, at least on modern CPUs.
66598         * ctype/ctype-info.c (__ctype_init): Define.
66599         * include/ctype.h (__ctype_init): Declare.
66600         (__ctype_b_loc): The variable is always initialized.
66601         (__ctype_toupper_loc): Likewise.
66602         (__ctype_tolower_loc): Likewise.
66603         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
66604         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
66606 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
66608         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
66610         * configure.in: Also look in $cxxmachine/include for C++ system
66611         headers.
66613 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66615         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
66616         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
66617         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
66618         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
66619         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
66620         (USE_AS_WMEMCMP): New macro.
66621         Fixing indents.
66622         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
66623         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
66624         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
66625         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
66626         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66627         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
66628         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
66629         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
66630         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
66631         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
66632         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
66633         (USE_AS_WMEMCMP): New macro.
66634         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
66635         * sysdeps/string/test-memcmp.c: Update.
66636         Fix simple_wmemcmp.
66637         Add new tests.
66638         * wcsmbs/wmemcmp.c: Update.
66639         (WMEMCMP): New macro.
66640         Fix overflow bug.
66642 2011-10-12  Andreas Jaeger  <aj@suse.de>
66644         [BZ #13268]
66645         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
66647 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66649         * libio/iofwide.c (do_length): Avoid warning.
66651         * ctype/ctype.h (__isctype_f): Add missing __THROW.
66653 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
66655         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
66657         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
66658         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
66659         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
66660         * sysdeps/i386/i686/fpu/e_log.S: New file.
66661         * sysdeps/i386/i686/fpu/e_logf.S: New file.
66662         * sysdeps/i386/i686/fpu/e_logl.S: New file.
66664         * ctype/ctype.h: Add support for inlined isXXX functions when
66665         compiling C++ code.
66667 2011-10-14  Andreas Schwab  <schwab@redhat.com>
66669         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66671         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
66673 2011-10-13  Roland McGrath  <roland@hack.frob.com>
66675         [BZ #13291]
66676         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
66678 2011-10-13  Andreas Schwab  <schwab@redhat.com>
66680         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
66681         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
66682         feraiseexcept.
66684         * sysdeps/x86_64/memrchr.S: Check for zero size.
66686         * string/stratcliff.c: Add memrchr tests.
66688 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66690         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66691         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
66692         rawmemchr-sse2 rawmemchr-sse2-bsf.
66693         * sysdeps/i386/i686/multiarch/memchr.S: New file.
66694         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
66695         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
66696         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
66697         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
66698         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
66699         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
66700         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
66701         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
66702         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
66703         * string/memrchr.c (MEMRCHR): New macro.
66705 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
66707         Add integration with gcc's -ffinite-math-only and optimize wrapper
66708         functions in libm.
66709         * Versions.def: Define GLIBC_2.15 version for libm.
66710         * math/Makefile (headers): Add bits/math-finite.h.
66711         * math/bits/math-finite.h: New file.
66712         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
66713         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
66714         * math/e_acoshl.c: Add __*_finite alias.
66715         * math/e_acosl.c: Likewise.
66716         * math/e_asinl.c: Likewise.
66717         * math/e_atan2l.c: Likewise.
66718         * math/e_atanhl.c: Likewise.
66719         * math/e_coshl.c: Likewise.
66720         * math/e_exp10.c: Likewise.
66721         * math/e_exp10f.c: Likewise.
66722         * math/e_exp10l.c: Likewise.
66723         * math/e_exp2l.c: Likewise.
66724         * math/e_fmodl.c: Likewise.
66725         * math/e_gammal_r.c: Likewise.
66726         * math/e_hypotl.c: Likewise.
66727         * math/e_j0l.c: Likewise.
66728         * math/e_j1l.c: Likewise.
66729         * math/e_jnl.c: Likewise.
66730         * math/e_lgammal_r.c: Likewise.
66731         * math/e_log10l.c: Likewise.
66732         * math/e_log2l.c: Likewise.
66733         * math/e_logl.c: Likewise.
66734         * math/e_powl.c: Likewise.
66735         * math/e_sinhl.c: Likewise.
66736         * math/e_sqrtl.c: Likewise.
66737         * math/e_scalb.c: Completely rewritten and optimized.
66738         * math/e_scalbf.c: Likewise.
66739         * math/e_scalbl.c: Likewise.
66740         * math/w_acos.c: Likewise.
66741         * math/w_acosf.c: Likewise.
66742         * math/w_acosl.c: Likewise.
66743         * math/w_acosh.c: Likewise.
66744         * math/w_acoshf.c: Likewise.
66745         * math/w_acoshl.c: Likewise.
66746         * math/w_asin.c: Likewise.
66747         * math/w_asinf.c: Likewise.
66748         * math/w_asinl.c: Likewise.
66749         * math/w_atan2.c: Likewise.
66750         * math/w_atan2f.c: Likewise.
66751         * math/w_atan2l.c: Likewise.
66752         * math/w_atanh.c: Likewise.
66753         * math/w_atanhf.c: Likewise.
66754         * math/w_atanhl.c: Likewise.
66755         * math/w_exp10.c: Likewise.
66756         * math/w_exp10f.c: Likewise.
66757         * math/w_exp10l.c: Likewise.
66758         * math/w_fmod.c: Likewise.
66759         * math/w_fmodf.c: Likewise.
66760         * math/w_fmodl.c: Likewise.
66761         * math/w_j0.c: Likewise.
66762         * math/w_j0f.c: Likewise.
66763         * math/w_j0l.c: Likewise.
66764         * math/w_j1.c: Likewise.
66765         * math/w_j1f.c: Likewise.
66766         * math/w_j1l.c: Likewise.
66767         * math/w_jn.c: Likewise.
66768         * math/w_jnf.c: Likewise.
66769         * math/w_log.c: Likewise.
66770         * math/w_logf.c: Likewise.
66771         * math/w_logl.c: Likewise.
66772         * math/w_log10.c: Likewise.
66773         * math/w_log10f.c: Likewise.
66774         * math/w_log10l.c: Likewise.
66775         * math/w_log2.c: Likewise.
66776         * math/w_log2f.c: Likewise.
66777         * math/w_log2l.c: Likewise.
66778         * math/w_pow.c: Likewise.
66779         * math/w_powf.c: Likewise.
66780         * math/w_powl.c: Likewise.
66781         * math/w_remainder.c: Likewise.
66782         * math/w_remainderf.c: Likewise.
66783         * math/w_remainderl.c: Likewise.
66784         * math/w_scalb.c: Likewise.
66785         * math/w_scalbf.c: Likewise.
66786         * math/w_scalbl.c: Likewise.
66787         * math/w_sqrt.c: Likewise.
66788         * math/w_sqrtf.c: Likewise.
66789         * math/w_sqrtl.c: Likewise.
66790         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
66791         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
66792         used.
66793         * math/math_private.h: Declare __kernel_standard_f.
66794         * math/w_cosh.c: Remove cruft and optimize a bit.
66795         * math/w_coshf.c: Likewise.
66796         * math/w_coshl.c: Likewise.
66797         * math/w_exp2.c: Likewise.
66798         * math/w_exp2f.c: Likewise.
66799         * math/w_exp2l.c: Likewise.
66800         * math/w_hypot.c: Likewise.
66801         * math/w_hypotf.c: Likewise.
66802         * math/w_hypotl.c: Likewise.
66803         * math/w_lgamma.c: Likewise.
66804         * math/w_lgamma_r.c: Likewise.
66805         * math/w_lgammaf.c: Likewise.
66806         * math/w_lgammaf_r.c: Likewise.
66807         * math/w_lgammal.c: Likewise.
66808         * math/w_lgammal_r.c: Likewise.
66809         * math/w_sinh.c: Likewise.
66810         * math/w_sinhf.c: Likewise.
66811         * math/w_sinhl.c: Likewise.
66812         * math/w_tgamma.c: Likewise.
66813         * math/w_tgammaf.c: Likewise.
66814         * math/w_tgammal.c: Likewise.
66815         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66816         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66817         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
66818         Minor optimizations.  Pretty printing.  Remove cruft.
66819         * sysdeps/i386/fpu/e_acosf.S: Likewise.
66820         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66821         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66822         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66823         * sysdeps/i386/fpu/e_acosl.c: Likewise.
66824         * sysdeps/i386/fpu/e_asin.S: Likewise.
66825         * sysdeps/i386/fpu/e_asinf.S: Likewise.
66826         * sysdeps/i386/fpu/e_atan2.S: Likewise.
66827         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
66828         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
66829         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66830         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66831         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66832         * sysdeps/i386/fpu/e_exp10.S: Likewise.
66833         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
66834         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
66835         * sysdeps/i386/fpu/e_exp2.S: Likewise.
66836         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
66837         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
66838         * sysdeps/i386/fpu/e_fmod.S: Likewise.
66839         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
66840         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
66841         * sysdeps/i386/fpu/e_hypot.S: Likewise.
66842         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
66843         * sysdeps/i386/fpu/e_log.S: Likewise.
66844         * sysdeps/i386/fpu/e_log10.S: Likewise.
66845         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66846         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66847         * sysdeps/i386/fpu/e_log2.S: Likewise.
66848         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66849         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66850         * sysdeps/i386/fpu/e_logf.S: Likewise.
66851         * sysdeps/i386/fpu/e_logl.S: Likewise.
66852         * sysdeps/i386/fpu/e_pow.S: Likewise.
66853         * sysdeps/i386/fpu/e_powf.S: Likewise.
66854         * sysdeps/i386/fpu/e_powl.S: Likewise.
66855         * sysdeps/i386/fpu/e_remainder.S: Likewise.
66856         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
66857         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
66858         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66859         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66860         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66861         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
66862         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
66863         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
66864         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66865         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66866         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66867         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66868         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66869         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66870         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
66871         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66872         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66873         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66874         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66875         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66876         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66877         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66878         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66879         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66880         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66881         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66882         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66883         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66884         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66885         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66886         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66887         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66888         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66889         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66890         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66891         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66892         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
66893         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66894         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66895         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66896         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66897         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66898         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66899         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66900         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66901         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66902         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66903         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66904         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66905         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66906         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66907         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66908         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66909         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66910         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66911         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66912         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66913         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
66914         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66915         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66916         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66917         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66918         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66919         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66920         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66921         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66922         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66923         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66924         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66925         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66926         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66927         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66928         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66929         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66930         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66931         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66932         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
66933         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66934         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66935         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66936         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66937         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66938         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66939         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66940         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66941         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66942         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66943         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66944         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66945         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66946         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
66947         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66948         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66949         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66950         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66951         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66952         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66953         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66954         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66955         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66956         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66957         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66958         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66959         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66960         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66961         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
66962         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
66963         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
66964         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
66965         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
66966         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
66967         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
66968         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66969         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66970         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66971         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66972         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
66973         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66974         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
66975         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
66976         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
66977         (__isnanf): Likewise.
66978         (__isinf_ns): Likewise.
66979         (__isinf_nsf): Likewise.
66980         (__finite): Likewise.
66981         (__finitef): Likewise.
66982         (__ieee754_sqrt): Define as macro.
66983         (__ieee754_sqrtf): Define as macro.
66984         (__ieee754_sqrtl): Define as macro.
66985         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
66986         inlined copy.
66987         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
66988         __FINITE_MATH_ONLY__ consistent.
66989         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
66991 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
66993         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
66994         of rawmemchr.
66996         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
66998 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
67000         * po/ja.po: Update from translation team.
67002 2011-10-08  Roland McGrath  <roland@hack.frob.com>
67004         * locale/programs/locarchive.c (prepare_address_space): New function.
67005         (create_archive, enlarge_archive, open_archive): Use it.
67007         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
67008         inside [SHARED], where it is used.
67010         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
67012         * nss/getent.c (netgroup_keys): Remove unused variable.
67013         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67015 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
67017         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
67018         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
67019         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
67020         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
67021         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
67022         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
67023         * math/Makefile (libm-calls): Add s_isinf_ns.
67024         * math/divtc3.c: Use __isinf_nsl instead of isinf.
67025         * math/multc3.c: Likewise.
67026         * math/s_casin.c: Likewise.
67027         * math/s_casinf.c: Likewise.
67028         * math/s_casinl.c: Likewise.
67029         * math/s_ccos.c: Likewise.
67030         * math/s_ccosf.c: Likewise.
67031         * math/s_ccosl.c: Likewise.
67032         * math/s_ctan.c: Likewise.
67033         * math/s_ctanf.c: Likewise.
67034         * math/s_ctanh.c: Likewise.
67035         * math/s_ctanhf.c: Likewise.
67036         * math/s_ctanhl.c: Likewise.
67037         * math/s_ctanl.c: Likewise.
67038         * math/w_fmod.c: Likewise.
67039         * math/w_fmodf.c: Likewise.
67040         * math/w_fmodl.c: Likewise.
67041         * math/w_remainder.c: Likewise.
67042         * math/w_remainderf.c: Likewise.
67043         * math/w_remainderl.c: Likewise.
67044         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
67045         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
67046         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
67047         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
67048         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
67049         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
67050         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
67051         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
67053         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
67054         of the number.
67055         * stdio-common/printf_fphex.c: Likewise.
67056         * stdio-common/printf_size.c: Likewise.
67058         * math/e_exp10.c: Include math_private.h using <...> not "...".
67059         * math/e_exp10f.c: Likewise.
67060         * math/e_exp10l.c: Likewise.
67061         * math/e_exp2l.c: Likewise.
67062         * math/e_j0l.c: Likewise.
67063         * math/e_j1l.c: Likewise.
67064         * math/e_jnl.c: Likewise.
67065         * math/e_lgammal_r.c: Likewise.
67066         * math/e_rem_pio2l.c: Likewise.
67067         * math/e_scalb.c: Likewise.
67068         * math/e_scalbf.c: Likewise.
67069         * math/e_scalbl.c: Likewise.
67070         * math/k_cosl.c: Likewise.
67071         * math/k_sinl.c: Likewise.
67072         * math/k_tanl.c: Likewise.
67073         * math/s_cacoshf.c: Likewise.
67074         * math/s_catan.c: Likewise.
67075         * math/s_catanf.c: Likewise.
67076         * math/s_catanh.c: Likewise.
67077         * math/s_catanhf.c: Likewise.
67078         * math/s_catanhl.c: Likewise.
67079         * math/s_catanl.c: Likewise.
67080         * math/s_ccosh.c: Likewise.
67081         * math/s_ccoshf.c: Likewise.
67082         * math/s_ccoshl.c: Likewise.
67083         * math/s_cexp.c: Likewise.
67084         * math/s_cexpf.c: Likewise.
67085         * math/s_cexpl.c: Likewise.
67086         * math/s_clog.c: Likewise.
67087         * math/s_clog10.c: Likewise.
67088         * math/s_clog10f.c: Likewise.
67089         * math/s_clog10l.c: Likewise.
67090         * math/s_clogf.c: Likewise.
67091         * math/s_clogl.c: Likewise.
67092         * math/s_csin.c: Likewise.
67093         * math/s_csinf.c: Likewise.
67094         * math/s_csinh.c: Likewise.
67095         * math/s_csinhf.c: Likewise.
67096         * math/s_csinhl.c: Likewise.
67097         * math/s_csinl.c: Likewise.
67098         * math/s_csqrt.c: Likewise.
67099         * math/s_csqrtf.c: Likewise.
67100         * math/s_csqrtl.c: Likewise.
67101         * math/s_ctan.c: Likewise.
67102         * math/s_ctanf.c: Likewise.
67103         * math/s_ctanh.c: Likewise.
67104         * math/s_ctanhf.c: Likewise.
67105         * math/s_ctanhl.c: Likewise.
67106         * math/s_ctanl.c: Likewise.
67107         * math/s_ldexp.c: Likewise.
67108         * math/s_ldexpf.c: Likewise.
67109         * math/s_ldexpl.c: Likewise.
67110         * math/s_significand.c: Likewise.
67111         * math/s_significandf.c: Likewise.
67112         * math/s_significandl.c: Likewise.
67113         * math/w_acos.c: Likewise.
67114         * math/w_acosf.c: Likewise.
67115         * math/w_acosh.c: Likewise.
67116         * math/w_acoshf.c: Likewise.
67117         * math/w_acoshl.c: Likewise.
67118         * math/w_acosl.c: Likewise.
67119         * math/w_asin.c: Likewise.
67120         * math/w_asinf.c: Likewise.
67121         * math/w_asinl.c: Likewise.
67122         * math/w_atan2.c: Likewise.
67123         * math/w_atan2f.c: Likewise.
67124         * math/w_atan2l.c: Likewise.
67125         * math/w_atanh.c: Likewise.
67126         * math/w_atanhf.c: Likewise.
67127         * math/w_atanhl.c: Likewise.
67128         * math/w_cosh.c: Likewise.
67129         * math/w_coshf.c: Likewise.
67130         * math/w_coshl.c: Likewise.
67131         * math/w_dremf.c: Likewise.
67132         * math/w_exp10.c: Likewise.
67133         * math/w_exp10f.c: Likewise.
67134         * math/w_exp10l.c: Likewise.
67135         * math/w_exp2.c: Likewise.
67136         * math/w_exp2f.c: Likewise.
67137         * math/w_fmod.c: Likewise.
67138         * math/w_fmodf.c: Likewise.
67139         * math/w_fmodl.c: Likewise.
67140         * math/w_hypot.c: Likewise.
67141         * math/w_hypotf.c: Likewise.
67142         * math/w_hypotl.c: Likewise.
67143         * math/w_j0.c: Likewise.
67144         * math/w_j0f.c: Likewise.
67145         * math/w_j0l.c: Likewise.
67146         * math/w_j1.c: Likewise.
67147         * math/w_j1f.c: Likewise.
67148         * math/w_j1l.c: Likewise.
67149         * math/w_jn.c: Likewise.
67150         * math/w_jnf.c: Likewise.
67151         * math/w_jnl.c: Likewise.
67152         * math/w_lgamma.c: Likewise.
67153         * math/w_lgamma_r.c: Likewise.
67154         * math/w_lgammaf.c: Likewise.
67155         * math/w_lgammaf_r.c: Likewise.
67156         * math/w_lgammal.c: Likewise.
67157         * math/w_lgammal_r.c: Likewise.
67158         * math/w_log.c: Likewise.
67159         * math/w_log10.c: Likewise.
67160         * math/w_log10f.c: Likewise.
67161         * math/w_log10l.c: Likewise.
67162         * math/w_log2.c: Likewise.
67163         * math/w_log2f.c: Likewise.
67164         * math/w_log2l.c: Likewise.
67165         * math/w_logf.c: Likewise.
67166         * math/w_logl.c: Likewise.
67167         * math/w_pow.c: Likewise.
67168         * math/w_powf.c: Likewise.
67169         * math/w_powl.c: Likewise.
67170         * math/w_remainder.c: Likewise.
67171         * math/w_remainderf.c: Likewise.
67172         * math/w_remainderl.c: Likewise.
67173         * math/w_scalb.c: Likewise.
67174         * math/w_scalbf.c: Likewise.
67175         * math/w_scalbl.c: Likewise.
67176         * math/w_sinh.c: Likewise.
67177         * math/w_sinhf.c: Likewise.
67178         * math/w_sinhl.c: Likewise.
67179         * math/w_sqrt.c: Likewise.
67180         * math/w_sqrtf.c: Likewise.
67181         * math/w_sqrtl.c: Likewise.
67182         * math/w_tgamma.c: Likewise.
67183         * math/w_tgammaf.c: Likewise.
67184         * math/w_tgammal.c: Likewise.
67186         * po/ja.po: Update from translation team.
67188 2011-09-29  Andreas Jaeger  <aj@suse.de>
67190         [BZ #13179]
67191         * sunrpc/netname.c (netname2host): Fix logic.
67193         [BZ #6779]
67194         [BZ #6783]
67195         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
67196         correctly.
67197         * math/w_remainder.c (__remainder): Likewise.
67198         * math/w_remainderf.c (__remainderf): Likewise.
67199         * math/libm-test.inc (remainder_test): Add test cases.
67201 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67203         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
67204         sdiv_qrnnd.
67206 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67208         * string/test-memcmp.c: Avoid unncessary #defines.
67209         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67211 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67213         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
67214         Use new sse2 version for core i3 - i7 as it's faster
67215         than sse42 version.
67216         (bit_Prefer_PMINUB_for_stringop): New.
67217         * sysdeps/x86_64/rawmemchr.S: Update.
67218         Replace with faster SSE2 version.
67219         * sysdeps/x86_64/memrchr.S: New file.
67220         * sysdeps/x86_64/memchr.S: Update.
67221         Replace with faster SSE2 version.
67223 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
67225         * elf/dl-load.c (lose): Add cast to avoid warning.
67227 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67229         * po/ca.po: Update from translation team.
67231         * inet/getnetgrent_r.c: Hook up nscd.
67232         * nscd/Makefile (routines): Add nscd_netgroup.
67233         (nscd-modules): Add netgroupcache.
67234         (CFLAGS-netgroupcache.c): Define.
67235         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
67236         (cache_search): Add const to second parameter.
67237         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
67238         INNETGR.
67239         (dbs): Add netgrdb entry.
67240         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
67241         (verify_persistent_db): Handle netgrdb.
67242         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
67243         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
67244         GETFDNETGR.
67245         (netgroup_response_header): Define.
67246         (innetgroup_response_header): Define.
67247         (datahead): Add netgroup_response_header and innetgroup_response_header
67248         elements.
67249         * nscd/nscd.conf: Add entries for netgroup cache.
67250         * nscd/nscd.h (dbtype): Add netgrdb.
67251         (_PATH_NSCD_NETGROUP_DB): Define.
67252         (netgroup_iov_disabled): Declare.
67253         (xmalloc, xcalloc, xrealloc): Move declarations here.
67254         (cache_search): Adjust prototype.
67255         Add netgroup-related prototypes.
67256         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
67257         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
67258         (__nscd_innetgr): Declare.
67259         * nscd/selinux.c (perms): Use access_vector_t as element type and
67260         add netgroup-related initializers.
67261         * nscd/netgroupcache.c: New file.
67262         * nscd/nscd_netgroup.c: New file.
67263         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
67264         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
67265         For four parameters use innetgr.
67266         * nss/nss_files/files-init.c: Add definition and callback for netgr.
67267         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
67268         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
67269         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
67271         * nscd/connections.c (register_traced_file): Don't register file
67272         for disabled databases.
67274 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
67276         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
67278         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
67279         from tree and freeing node.
67281 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
67283         * nss/nsswitch.c (__nss_database_lookup): Handle
67284         nss_parse_service_list out of memory case.
67286 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
67288         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
67289         out of memory case.
67291 2011-10-04  Andreas Schwab  <schwab@redhat.com>
67293         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
67294         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
67295         pass it down.
67296         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
67297         elf_machine_rela, elf_machine_lazy_rel.
67298         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
67299         (ELF_DYNAMIC_DO_REL): Likewise.
67300         (ELF_DYNAMIC_DO_RELA): Likewise.
67301         (ELF_DYNAMIC_RELOCATE): Likewise.
67302         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
67303         to ELF_DYNAMIC_DO_REL.
67304         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
67305         (dl_main): In trace mode always set __RTLD_NOIFUNC.
67306         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
67307         elf_machine_rela.
67308         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
67309         skip_ifunc, don't call ifunc function if non-zero.
67310         (elf_machine_rela): Likewise.
67311         (elf_machine_lazy_rel): Likewise.
67312         (elf_machine_lazy_rela): Likewise.
67313         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
67314         (elf_machine_lazy_rel): Likewise.
67315         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
67316         Likewise.
67317         (elf_machine_lazy_rel): Likewise.
67318         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67319         Likewise.
67320         (elf_machine_lazy_rel): Likewise.
67321         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
67322         (elf_machine_lazy_rel): Likewise.
67323         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
67324         (elf_machine_lazy_rel): Likewise.
67325         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
67326         (elf_machine_lazy_rel): Likewise.
67327         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
67328         (elf_machine_lazy_rel): Likewise.
67329         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
67330         (elf_machine_lazy_rel): Likewise.
67331         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
67332         (elf_machine_lazy_rel): Likewise.
67334 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
67336         * nss/nss_files/files-init.c (_nss_files_init): Use static
67337         initialization for all the *_traced_file variables.
67339 2011-09-28  Andreas Schwab  <schwab@redhat.com>
67341         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67343 2011-09-27  Roland McGrath  <roland@hack.frob.com>
67345         [BZ #13226]
67346         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
67348 2011-09-27  Andreas Schwab  <schwab@redhat.com>
67350         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67351         Reread the line before reparsing it.
67353 2011-09-26  Andreas Schwab  <schwab@redhat.com>
67355         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
67357 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
67358             Maxim Kuvyrkov  <maxim@codesourcery.com>
67359             Joseph Myers  <joseph@codesourcery.com>
67361         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
67362         if needed for __stack_chk_guard.
67364 2011-09-19  Roland McGrath  <roland@hack.frob.com>
67366         * sysdeps/posix/spawni.c (script_execute): Always define it.
67367         It will be optimized away if unused.
67368         (maybe_script_execute): New function.
67369         (__spawni): Call it.
67371         * Makerules: Don't include tls.make.
67372         (config-tls): Always set to thread.
67373         * tls.make.c: File removed.
67375 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
67377         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
67378         * config.make.in (CPPFLAGS-config): New substituted variable.
67380 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67382         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
67384         [BZ #13192]
67385         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
67386         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
67388 2011-09-15  Roland McGrath  <roland@hack.frob.com>
67390         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
67391         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
67392         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67393         (CALL_FAIL): Likewise.
67394         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
67395         (CALL_FAIL): Macro removed.
67396         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
67398 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67400         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
67401         for __FINITE_MATH_ONLY__ == 1.
67403 2011-09-15  Andreas Schwab  <schwab@redhat.com>
67405         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
67406         __ieee754_sqrt instead of sqrt.
67407         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
67408         __ieee754_sqrtf instead of sqrtf.
67409         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
67410         __floorf instead of floorf.
67411         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
67412         __floorf, __truncf instead of floorf, truncf.
67414 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
67416         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
67418         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
67419         __extern_always_inline.
67420         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
67421         32-bit.
67423 2011-09-14  Andreas Schwab  <schwab@redhat.com>
67425         * elf/rtld.c (dl_main): Also relocate in dependency order when
67426         doing symbol dependency testing.
67428 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
67430         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67431         Always define `refsym'.
67433 2011-09-13  Andreas Schwab  <schwab@redhat.com>
67435         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
67436         (__FD_ELT): Renamed from __FDELT.
67437         * misc/bits/select2.h (__FD_ELT): Likewise.
67438         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
67439         __FD_MASK instead of __FDELT, __FDMASK.
67440         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67441         Likewise.
67442         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67443         Likewise.
67445         * elf/Makefile (gen-ldd): Fix pattern.
67447         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
67448         (init_tls): Likewise.
67450 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
67452         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
67454 2011-09-12  Andreas Schwab  <schwab@redhat.com>
67456         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
67457         `struct cmsghdr *' instead of `void *'.
67458         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
67459         Likewise.
67461 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
67463         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
67464         if non-absolute.
67465         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
67466         ldd_rewrite_script.
67468 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
67470         * configure.in: Remove --with-tls option.
67471         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
67472         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
67473         out in case it is missing.
67474         * sysdeps/ia64/elf/configure.in: Likewise.
67475         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
67476         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
67477         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
67478         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
67479         * sysdeps/sh/elf/configure.in: Likewise.
67480         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
67481         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67482         * sysdeps/x86_64/elf/configure.in: Likewise.
67483         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
67484         * sysdeps/mach/hurd/tls.h: Likewise.
67486         [BZ #13067]
67487         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
67489         [BZ #13090]
67490         * configure.in: Fix use of AC_INIT.
67492         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
67494 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
67496         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
67497         __set_errno.
67498         * malloc/hooks.c: Likewise.
67500         [BZ #11929]
67501         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
67502         variables statically.
67503         (narenas): Initialize.
67504         (list_lock): Initialize.
67505         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
67506         initializtion of main_arena and list_lock.  Small cleanups.
67507         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
67508         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
67509         Add initializers to main_arena and mp_.
67510         (malloc_state): Remove pagesize member.  Change all users to use
67511         GLRO(dl_pagesize).
67513         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
67514         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
67515         is always initialized.
67517         * malloc/malloc.c: Removed unused configurations and dead code.
67518         * malloc/arena.c: Likewise.
67519         * malloc/hooks.c: Likewise.
67520         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
67522         * include/tls.h: Removed.  USE___THREAD must always be defined.
67523         * bits/libc-tsd.h: Don't handle !USE___THREAD.
67524         * elf/dl-libc.c: Likewise.
67525         * elf/dl-tsd.c: Likewise.
67526         * include/errno.h: Likewise.
67527         * include/netdb.h: Likewise.
67528         * include/resolv.h: Likewise.
67529         * inet/herrno-loc.c: Likewise.
67530         * inet/herrno.c: Likewise.
67531         * malloc/arena.c: Likewise.
67532         * malloc/hooks.c: Likewise.
67533         * malloc/malloc.c: Likewise.
67534         * resolv/res-state.c: Likewise.
67535         * resolv/res_libc.c: Likewise.
67536         * sysdeps/i386/dl-machine.h: Likewise.
67537         * sysdeps/ia64/dl-machine.h: Likewise.
67538         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
67539         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67540         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
67541         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
67542         * sysdeps/sh/dl-machine.h: Likewise.
67543         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67544         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67545         * sysdeps/unix/i386/sysdep.S: Likewise.
67546         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
67547         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
67548         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
67549         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
67550         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
67551         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
67552         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
67553         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67554         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67555         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
67556         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67557         * sysdeps/x86_64/dl-machine.h: Likewise.
67558         * tls.make.c: Likewise.
67560         * configure.in: Remove --with-__thread option.  Make tests for
67561         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
67562         tls_model attribute fail if no support is available.  Remove
67563         USE_IN_LIBIO.
67564         * Makeconfig: Adjust for dropped configure option.  All features are
67565         now mandatory.
67566         * Makerules: Likewise.
67567         * Versions.def: Likewise.
67568         * argp/argp-fmtstream.c: Likewise.
67569         * argp/argp-fmtstream.h: Likewise.
67570         * argp/argp-help.c: Likewise.
67571         * assert/assert.c: Likewise.
67572         * config.h.in: Likewise.
67573         * config.make.in: Likewise.
67574         * configure: Likewise.
67575         * configure.in: Likewise.
67576         * csu/Versions: Likewise.
67577         * csu/init.c: Likewise.
67578         * elf/tst-audit2.c: Likewise.
67579         * elf/tst-tls10.c: Likewise.
67580         * elf/tst-tls10.h: Likewise.
67581         * elf/tst-tls11.c: Likewise.
67582         * elf/tst-tls12.c: Likewise.
67583         * elf/tst-tls14.c: Likewise.
67584         * elf/tst-tlsmod11.c: Likewise.
67585         * elf/tst-tlsmod12.c: Likewise.
67586         * elf/tst-tlsmod13.c: Likewise.
67587         * elf/tst-tlsmod13a.c: Likewise.
67588         * elf/tst-tlsmod14a.c: Likewise.
67589         * elf/tst-tlsmod15b.c: Likewise.
67590         * elf/tst-tlsmod16a.c: Likewise.
67591         * elf/tst-tlsmod16b.c: Likewise.
67592         * elf/tst-tlsmod7.c: Likewise.
67593         * elf/tst-tlsmod8.c: Likewise.
67594         * elf/tst-tlsmod9.c: Likewise.
67595         * gmon/gmon.c: Likewise.
67596         * grp/fgetgrent_r.c: Likewise.
67597         * grp/putgrent.c: Likewise.
67598         * hurd/fopenport.c: Likewise.
67599         * include/libc-symbols.h: Likewise.
67600         * include/tls.h: Likewise.
67601         * intl/gettextP.h: Likewise.
67602         * intl/loadinfo.h: Likewise.
67603         * locale/global-locale.c: Likewise.
67604         * locale/localeinfo.h: Likewise.
67605         * mach/devstream.c: Likewise.
67606         * malloc/arena.c: Likewise.
67607         * malloc/set-freeres.c: Likewise.
67608         * misc/err.c: Likewise.
67609         * misc/getttyent.c: Likewise.
67610         * misc/mntent_r.c: Likewise.
67611         * posix/getopt.c: Likewise.
67612         * posix/wordexp.c: Likewise.
67613         * pwd/fgetpwent_r.c: Likewise.
67614         * resolv/Versions: Likewise.
67615         * resolv/res_hconf.c: Likewise.
67616         * shadow/fgetspent_r.c: Likewise.
67617         * shadow/putspent.c: Likewise.
67618         * stdio-common/printf_fphex.c: Likewise.
67619         * stdio-common/tmpfile.c: Likewise.
67620         * stdlib/abort.c: Likewise.
67621         * stdlib/fmtmsg.c: Likewise.
67622         * sunrpc/auth_unix.c: Likewise.
67623         * sunrpc/clnt_perr.c: Likewise.
67624         * sunrpc/clnt_tcp.c: Likewise.
67625         * sunrpc/clnt_udp.c: Likewise.
67626         * sunrpc/clnt_unix.c: Likewise.
67627         * sunrpc/openchild.c: Likewise.
67628         * sunrpc/svc_simple.c: Likewise.
67629         * sunrpc/svc_tcp.c: Likewise.
67630         * sunrpc/svc_udp.c: Likewise.
67631         * sunrpc/svc_unix.c: Likewise.
67632         * sunrpc/xdr.c: Likewise.
67633         * sunrpc/xdr_array.c: Likewise.
67634         * sunrpc/xdr_rec.c: Likewise.
67635         * sunrpc/xdr_ref.c: Likewise.
67636         * sunrpc/xdr_stdio.c: Likewise.
67638 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67640         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67642 2011-07-03  Andreas Jaeger  <aj@suse.de>
67644         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
67645         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
67646         regenerate with gen-libm-tests.pl.
67648 2010-05-12  Petr Baudis  <pasky@suse.cz>
67650         [BZ #11589]
67651         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
67652         around j0() zero points by switching to j1().
67653         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67654         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67655         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67656         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67658 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67660         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
67661         instead of 0.
67662         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
67663         instead of 0.
67664         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67665         Patch in part by Pavel Roskin <proski@gnu.org>.
67667         [BZ #13138]
67668         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
67669         realloc.
67670         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
67671         Free memory block if necessary.
67673         [BZ #12847]
67674         * libio/genops.c (INTDEF): For string streams the _lock pointer can
67675         be NULL.  Don't lock in this case.
67677 2011-09-09  Roland McGrath  <roland@hack.frob.com>
67679         * elf/elf.h (ELFOSABI_GNU): New macro.
67680         (ELFOSABI_LINUX): Define to that.
67682 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
67684         * string/strncat.c (strncat): Undef the symbol in case it has been
67685         defined in bits/string.h.
67687 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67689         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
67691         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
67692         link map.
67694 2011-08-17  Andreas Jaeger  <aj@suse.de>
67696         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
67698 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
67699             Ian Lance Taylor  <iant@google.com>
67701         * math/libm-test.inc (lround_test): New testcase.
67702         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
67704 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
67706         * Makefile: Remove support for automatic cvs check-ins.
67707         * Makerules: Likewise.
67708         * config.make.in: Likewise.
67709         * configure.in: Likewise.
67710         * intl/Makefile: Likewise.
67711         * locale/Makefile: Likewise.
67712         * po/Makefile: Likewise.
67713         * posix/Makefile: Likewise.
67714         * sysdeps/gnu/Makefile: Likewise.
67715         * sysdeps/mach/hurd/Makefile: Likewise.
67716         * sysdeps/sparc/sparc32/Makefile: Likewise.
67718         [BZ #13118]
67719         * posix/Makefile (bug-regex32-ENV): Define.
67720         Patch by John Stanley <jpsinthemix@verizon.net>.
67722         * misc/Makefile (headers): Add bits/select2.h.
67723         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
67724         * misc/bits/select2.h: New file.
67725         * include/bits/select2.h: New file.
67726         * debug/Makefile (routines): Add fdelt_chk.
67727         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
67728         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
67729         FD_ISSET.
67730         * debug/fdelt_chk.c: New file.
67732         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
67733         * wcsmbs/test-wmemcmp.c: Likewise.
67734         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
67735         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
67737 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67739         * string/Makefile (strop-tests): Add memcmp.
67740         * string/test-wmemcmp.c: New file.
67741         * string/test-memcmp.c: Add wmemcmp support.
67743 2011-09-08  Roland McGrath  <roland@hack.frob.com>
67745         [BZ #13153]
67746         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
67747         2011-07-19 change.
67749         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
67750         garbage value in a __mach_port_mod_refs call in the cases of the
67751         task-self and thread-self ports.
67753 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67755         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
67757 2011-09-08  Andreas Schwab  <schwab@redhat.com>
67759         * elf/dl-load.c (lose): Check for non-null L.
67761 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67763         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
67765         * elf/dl-libc.c (dlerror_run): Pass back error code from
67766         dl_catch_error.
67768         [BZ #13123]
67769         * elf/dl-load.c (lose): Free l_origin if it is valid.
67771         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
67772         names.
67773         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
67774         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67775         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67776         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67777         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
67778         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
67780 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67782         * sysdeps/powerpc/fpu/e_hypot.c: New file.
67783         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
67784         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
67785         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
67786         * sysdeps/powerpc/fpu/k_cosf.c: New file.
67787         * sysdeps/powerpc/fpu/k_sinf.c: New file.
67788         * sysdeps/powerpc/fpu/s_cosf.c: New file.
67789         * sysdeps/powerpc/fpu/s_sinf.c: New file.
67790         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
67791         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
67793 2011-08-15  Alan Modra  <amodra@gmail.com>
67795         [BZ #13092]
67796         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
67797         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
67798         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
67799         ppc_mcount to static-only-routines.
67800         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
67801         __mcount_internal.
67802         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
67803         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
67805 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
67807         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
67808         for finite and infinity parameters.
67810 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67812         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
67813         and add nop instructions for throughput optimization.
67814         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67816 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
67818         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
67819         aligned copy for power7 with vector-scalar instructions.
67820         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
67822 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
67824         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
67825         AVX check.
67827 2011-09-07  Andreas Schwab  <schwab@redhat.com>
67829         [BZ #13144]
67830         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
67831         last change.
67833 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67835         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67836         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
67837         syscall wrapper around clock_gettime in __vdso_clock_gettime.
67838         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
67839         clock_gettime.
67841 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67843         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
67844         Forgot to demangle the pointer.
67846         * sysdeps/i386/sysdep.h: Define atom_text_section.
67847         * sysdeps/x86_64/sysdep.h: Likewise.
67848         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
67849         section with atom_text_section.
67850         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67851         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67852         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
67853         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67854         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
67856         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
67857         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
67858         already be defined.  Change to take two parameters and don't assign
67859         result to variable.  Adjust all users.
67860         Define INTERNAL_GETTIME if not already defined.
67861         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
67862         call.
67863         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
67864         HAVE_CLOCK_GETTIME_VSYSCALL.
67865         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
67867         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
67868         gettimeofday vsyscall, just use time.
67870 2011-09-06  Andreas Schwab  <schwab@redhat.com>
67872         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
67873         <errno.h>.
67875 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67877         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
67878         syscall on x86-64.
67879         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
67880         syscall.
67881         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
67882         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
67883         syscall if possible.
67885 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67887         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
67888         e_ident.  Don't pass to find_mapsXX.
67889         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
67891 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67893         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67894         strchr-sse2-no-bsf strrchr-sse2-no-bsf
67895         * sysdeps/x86_64/multiarch/strchr.S: Update.
67896         Check bit_slow_BSF bit.
67897         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67898         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
67899         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
67901 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67903         [BZ #13134]
67904         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
67905         before glibc 2.15.
67906         (tryshell): Define.
67907         (__spawni): Change last parameter to be flag.  Test
67908         SPAWN_XFLAGS_USE_PATH flag to use path or not.
67909         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
67910         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
67911         * posix/spawni.c: Likewise.
67912         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
67913         * posix/spawnp.c: Likewise.  Change normal version to use
67914         SPAWN_XFLAGS_USE_PATH.
67915         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
67916         SPAWN_XFLAGS_TRY_SHELL.
67918         [BZ #13150]
67919         * posix/glob.h: Remove gcc 1.x support.
67921         [BZ #13068]
67922         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
67924 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67926         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67927         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
67928         strrchr-sse2-bsf
67929         * sysdeps/i386/i686/multiarch/strchr.S: New file.
67930         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
67931         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
67932         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
67933         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
67934         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
67936 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67938         * sysdeps/x86_64/wcscmp.S: New file.
67940         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
67941         wcscmp-c wcscmp-sse2
67942         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
67943         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
67944         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
67945         * wcsmbs/wcscmp.c: Allow renaming.
67947 2011-09-05  David S. Miller  <davem@davemloft.net>
67949         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
67950         stack slot, rather than the struct return pointer slot.
67951         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
67952         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
67953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
67954         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
67956 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67958         * po/ja.po: Update from translation team.
67960         [BZ #13144]
67961         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
67962         kernel in 64-bit binaries.
67964 2011-09-01  David S. Miller  <davem@davemloft.net>
67966         * elf/elf.h (HWCAP_SPARC_*): Move to..
67967         * sysdeps/sparc/sysdep.h: this new file and add new values.
67968         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
67969         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
67970         _DL_HWCAP_COUNT to 24.
67971         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
67972         entries.
67973         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
67974         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
67975         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
67976         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
67977         instead of magic constants.
67978         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67980 2011-08-31  David S. Miller  <davem@davemloft.net>
67982         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
67983         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
67984         Reimplement to do errno handling inline.
67985         (SYSCALL_ERROR_HANDLER): New macro.
67986         (__SYSCALL_STRING): Do not do errno handling in asm.
67987         (__CLONE_SYSCALL_STRING): Delete.
67988         (__INTERNAL_SYSCALL_STRING): Delete.
67989         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
67990         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
67991         (PSEUDO): Reimplement to do errno handling inline.
67992         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
67993         (SYSCALL_ERROR_HANDLER): New macro.
67994         (__SYSCALL_STRING): Do not do errno handling in asm.
67995         (__CLONE_SYSCALL_STRING): Delete.
67996         (__INTERNAL_SYSCALL_STRING): Delete.
67997         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
67998         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
67999         i386.
68000         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
68001         (inline_syscall*): Add 'err' argument.
68002         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
68003         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
68004         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
68005         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
68007         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
68008         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68010 2011-08-30  Andreas Schwab  <schwab@redhat.com>
68012         * elf/rtld.c (dl_main): Relocate objects in dependency order.
68014 2011-08-29  Jiri Olsa <jolsa@redhat.com>
68016         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
68017         directive.
68019 2011-08-24  David S. Miller  <davem@davemloft.net>
68021         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
68023 2011-08-24  Andreas Schwab  <schwab@redhat.com>
68025         * elf/Makefile: Add rules to build and run unload8 test.
68026         * elf/unload8.c: New file.
68027         * elf/unload8mod1.c: New file.
68028         * elf/unload8mod1x.c: New file.
68029         * elf/unload8mod2.c: New file.
68030         * elf/unload8mod3.c: New file.
68032         * elf/dl-close.c (_dl_close_worker): Reset private search list if
68033         it wasn't used.
68035 2011-08-23  David S. Miller  <davem@davemloft.net>
68037         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
68038         subtract stack bias.
68039         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
68040         %sp not %fp in calculations.
68041         (_JMPBUF_UNWINDS_ADJ): Likewise.
68043         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
68044         (aio_suspend): Call it to force an exception region around the
68045         AIO_MISC_WAIT() invocation.
68047 2011-08-23  Andreas Schwab  <schwab@redhat.com>
68049         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
68050         backslash.
68052 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
68054         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
68055         protection macro.
68056         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
68057         and <dl-machine.h>.
68058         (Elf64_FuncDesc): Remove.
68060 2011-08-22  David S. Miller  <davem@davemloft.net>
68062         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
68063         sigaltstack check, add missing cfi directives.
68064         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
68065         missing cfi directives, and sigaltstack handling.
68067 2011-08-16  Andreas Schwab  <schwab@redhat.com>
68069         [BZ #11724]
68070         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
68071         object is seen twice.
68072         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68074         * elf/Makefile (distribute): Add tst-initorder2.c.
68075         (tests): Add tst-initorder2.
68076         (modules-names): Add tst-initorder2a tst-initorder2b
68077         tst-initorder2c tst-initorder2d.  Add rules to build them.
68078         ($(objpfx)tst-initorder2.out): New rule.
68079         * elf/tst-initorder2.c: New file.
68080         * elf/tst-initorder2.exp: New file.
68082 2011-08-22  Andreas Schwab  <schwab@redhat.com>
68084         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
68086         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
68087         dependencies back to end of function.
68089         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68090         $(elfobjdir)/ld.so.
68092 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
68094         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
68095         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
68096         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
68097         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
68098         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
68099         of __vdso_gettimeofday.
68100         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
68101         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
68102         attribute_hidden.
68103         (_libc_vdso_platform_setup): Remove initialization of
68104         __vdso_gettimeofday and __vdso_time.
68106 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68108         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
68109         and fgetc_unlocked.
68110         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
68111         getc_unlocked.
68113         * elf/dl-open.c (add_to_global): Report additions to the global scope
68114         for LD_DEBUG=scopes.
68115         (dl_open_worker): Also print scope of newly loaded dependencies.
68116         (_dl_show_scope): Indicate if there is no scope.
68118         [BZ #13114]
68119         * stdio-common/Makefile (tests): Add bug24.
68120         * stdio-common/bug24.c: New file.
68122 2011-08-19  Andreas Jaeger  <aj@suse.de>
68124         [BZ #13114]
68125         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
68126         non-existant file when using close-on-exec mode.
68128 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
68130         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
68131         the very first instruction.
68133         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
68134         the CFI state in the end.
68135         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
68136         inclusion of dl-trampoline.h.
68137         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
68139 2011-08-19  Andreas Schwab  <schwab@redhat.com>
68141         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
68142         expectations for long double.
68144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
68145         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
68147 2011-08-14  David S. Miller  <davem@davemloft.net>
68149         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
68150         artificual limit depends upon the system page size.
68152 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68154         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
68155         * resolv/Makefile: Define CFLAGS-libresolv.
68157 2011-08-17  Andreas Schwab  <schwab@redhat.com>
68159         * nss/makedb.c (compute_tables): Make variables used in nested
68160         function static.
68162 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
68164         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
68165         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
68166         if buffer was too small.
68168         * elf/pldd.c (main): Attach to all threads in the process.
68169         Rewrite /proc handling to use *at functions.
68171 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
68173         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
68174         specifies first scope to show.
68175         (dl_open_worker): Update callers.  Move printing scope of new
68176         object to before the relocation.
68177         * elf/rtld.c (dl_main): Update _dl_show_scope call.
68178         * sysdeps/generic/ldsodefs.h: Update declaration.
68180         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
68181         string for the scope number.
68183 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
68185         * nscd/servicescache.c (cache_addserv): Make sure written is always
68186         initialized.
68188 2011-08-14  Roland McGrath  <roland@hack.frob.com>
68190         * sysdeps/i386/i486/bits/atomic.h
68191         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
68192         statement expression, so as to suppress "set but not used" warning.
68193         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
68195         * string/strncat.c (STRNCAT): Use prototype definition.
68197         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
68198         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
68199         -Iprograms here.
68200         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
68201         (localedef-modules): Add localedef.
68202         (locale-modules): Add locale.
68204         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
68205         * elf/rtld.c (dl_main): Invert order of assignment in last change,
68206         to avoid a warning.
68208 2011-08-14  David S. Miller  <davem@davemloft.net>
68210         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
68211         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
68213 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
68215         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
68216         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
68217         * elf/rtld.c (dl_main): Set l_name of vDSO.
68218         Call _dl_show_scope when DL_DEBUG_SCOPES.
68219         (process_dl_debug): Recognize scopes flag and also set it for all.
68220         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
68221         Declare _dl_show_scope.
68223         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
68224         (do_dlopen): Pass caller_dlopen to dl_open.
68225         (__libc_dlopen_mode): Initialize caller_dlopen.
68227         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
68228         of libc.  Make tolower call locale-independent.  Optimize a bit by
68229         using isdigit instead of isalnum.
68230         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
68232 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
68234         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
68235         was a dependency or dynamically loaded.
68237 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
68239         * intl/l10nflist.c: Allow architecture-specific pop function.
68240         * sysdeps/x86_64/l10nflist.c: New file.
68242         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
68243         classification.
68245 2011-08-10  Andreas Schwab  <schwab@redhat.com>
68247         * include/dirent.h: Add libc_hidden_proto for scandirat and
68248         scandirat64.  Don't declare __scandirat64.
68249         * dirent/scandirat.c: Add libc_hidden_def.
68250         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
68251         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
68253 2011-08-10  David S. Miller  <davem@davemloft.net>
68255         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
68256         enum.
68257         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68258         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68259         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68261 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
68263         * Versions.def [libc]: Add GLIBC_2.15.
68264         * dirent/Makefile (routines): Add scandirat and scandirat64.
68265         * dirent/Versions [libc]: Export scandirat and scandirat64 for
68266         GLIBC_2.15.
68267         * dirent/dirent.h: Declare scandirat and scandirat64.
68268         * dirent/scandirat.c: New file.
68269         * dirent/scandirat64.c: New file.
68270         * sysdeps/wordsize-64/scandirat.c: New file.
68271         * sysdeps/wordsize-64/scandirat64.c: New file.
68272         * dirent/opendir.c: Define opendirat.
68273         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
68274         using scandirat.
68275         * dirent/scandir64.c: Adjust for scandir.c change.
68276         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
68277         __scandirat64, and __scandir_cancel_handler.
68278         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
68279         additional parameter and use openat instead of open (outside of ld.so).
68280         Add new __opendir as wrapper around __opendirat.
68281         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
68282         here without requiring old scandirat implementation.
68284 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
68286         * dirent/scandir.c (cancel_handler): Renamed to
68287         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
68288         defined.  Adjust users.
68289         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
68290         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
68292 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
68294         * string/test-string.h (IMPL): Use __STRING to expand name and then
68295         stringify it.
68297         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
68298         of cleanups.
68300 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68302         * string/Makefile: Update.
68303         (strop-tests): Append strncat.
68304         * string/test-wcscmp.c: New file.
68305         New comprehensive test for wcscmp.
68306         * string/test-strcmp.c: Update.
68307         (WIDE): New define.
68309 2011-07-22  Andreas Schwab  <schwab@redhat.com>
68311         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
68312         line.
68314 2011-07-26  Andreas Schwab  <schwab@redhat.com>
68316         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68317         encoding to ACE if AI_IDN.
68319 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
68321         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
68322         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
68324 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68326         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
68327         Fix overflow bug in strncat.
68328         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
68330         * string/test-strncat.c: Update.
68331         Add new tests for checking overflow bugs.
68333 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68335         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68336         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
68337         * sysdeps/i386/i686/multiarch/strcat.S: New file.
68338         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
68339         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
68340         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
68341         * sysdeps/i386/i686/multiarch/strncat.S: New file.
68342         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
68343         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
68345         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
68346         (USE_AS_STRCAT): Define.
68347         Add strcat and strncat support.
68348         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68350 2011-07-25  Andreas Schwab  <schwab@redhat.com>
68352         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
68353         __n bigger than INT_MAX+1.
68354         (__strncmp_g): Likewise.
68356 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
68358         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
68359         * libio/stido.h: Likewise.
68361         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
68362         (AF_NFC): Define.
68363         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
68364         (AF_NFC): Define.
68366         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
68367         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68368         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68369         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
68370         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68372         [BZ #13021]
68373         * scripts/test-installation.pl: Don't expect libnss_test1 to be
68374         installed.
68376         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
68377         typo.
68378         (_dl_x86_64_save_sse): Likewise.
68380 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
68382         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
68383         OSXSAVE.
68384         (_dl_x86_64_save_sse): Likewise.
68386         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
68388         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
68390 2011-07-21  Andreas Schwab  <schwab@redhat.com>
68392         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
68393         change.
68394         (_dl_x86_64_save_sse): Use correct AVX check.
68396 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68398         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
68399         bug in strncpy/strncat.
68400         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
68402 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
68404         * string/tester.c (test_strcat): Add tests for different alignments
68405         of source and destination.
68406         (test_strncat): Likewise.
68408 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68410         [BZ #12852]
68411         * posix/glob.c (glob): Check passed in values before using them in
68412         expressions to avoid some overflows.
68413         (glob_in_dir): Likewise.
68415         [BZ #13007]
68416         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
68417         check for AVX enablement so that we don't crash with old kernels and
68418         new hardware.
68419         * elf/tst-audit4.c: Add same checks here.
68420         * elf/tst-audit6.c: Likewise.
68422         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
68424 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
68426         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
68428 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68430         * po/cs.po: Update from translation team.
68431         * po/bg.po: Likewise.
68433 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
68435         * misc/sys/cdefs.h: Add support for const attribute.
68436         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
68437         to gnu_dev_{major,minor,makedev} functions.
68439 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
68441         * intl/dcigettext.c (get_output_charset): Add missing bracket.
68443 2011-07-20  Andreas Schwab  <schwab@redhat.com>
68445         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
68446         strlen results.
68448 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68450         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
68451         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
68452         register in order to avoid conflicts with the soft frame pointer
68453         being held in r11 when necessary.
68454         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
68455         (INTERNAL_VSYSCALL_NCS): Likewise.
68457 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
68459         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
68460         * elf/dl-fini.c (_dl_fini): Adjust caller.
68461         * elf/dl-close.c (_dl_close_worker): Likewise.
68462         * sysdeps/generic/ldsodefs.h: Adjust declaration.
68464 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68466         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
68467         "aux_cache->nlibs < 0".
68469         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
68470         in the reload-count case.
68472 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68474         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68475         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
68476         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
68477         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
68478         * sysdeps/x86_64/multiarch/strcat.S: New file.
68479         * sysdeps/x86_64/multiarch/strncat.S: New file.
68480         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
68481         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
68482         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
68483         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
68484         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
68485         (USE_AS_STRCAT): Define.
68486         Add strcat and strncat support.
68487         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68488         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
68489         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
68490         * string/strncat.c: Update.
68491         (USE_AS_STRNCAT): Define.
68492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68493         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
68494         and i7.
68495         * sysdeps/x86_64/multiarch/init-arch.h
68496         (bit_Prefer_PMINUB_for_stringop): New.
68497         (index_Prefer_PMINUB_for_stringop): Likewise.
68498         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
68499         bit_Prefer_PMINUB_for_stringop.
68501 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68503         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
68504         buffer64.
68505         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
68506         of casting of buffer.
68507         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
68508         buffer32 and buffer64.
68509         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
68510         writes instead of casting of buffer.
68511         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
68512         buffer32.
68513         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
68514         casting of buffer.
68516 2011-07-19  Andreas Schwab  <schwab@redhat.com>
68518         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
68520 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68522         * nscd/nscd.c (termination_handler): Don't do anything for a database
68523         if it has not yet been initialized.
68525 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68527         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68529 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68531         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68533 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68535         * po/nl.po: Update from translation team.
68536         * po/sv.po: Likewise.
68538 2011-07-16  Roland McGrath  <roland@hack.frob.com>
68540         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
68541         now disallowed by GCC.
68543         * configure.in (use-default-link): Default to yes if a test -shared
68544         link meets our qualifications.
68545         * configure: Regenerated.
68547         * config.make.in (output-format): New variable.
68548         * configure.in: Check for ld --print-output-format support.
68549         * configure: Regenerated.
68550         * Makerules ($(common-objpfx)format.lds)
68551         [$(output-format) != unknown]: Just use $(output-format),
68552         instead of the linker-script munging.
68554 2011-07-14  Roland McGrath  <roland@hack.frob.com>
68556         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
68557         of $(common-objpfx)shlib.lds.
68558         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
68560         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
68561         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
68563         * configure.in (-z relro check): Adjust test code to add a large
68564         writable data section after it.
68565         * configure: Regenerated.
68567 2011-07-11  Roland McGrath  <roland@hack.frob.com>
68569         * configure.in (-z relro check): Fix test code to make the variable
68570         truly const.
68571         * configure: Regenerated.
68573 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
68575         * nscd/nscd.h (struct traced_file): Define.
68576         (struct database_dyn): Remove inotify_descr, reset_res, and filename
68577         elements.  Add traced_files.
68578         (inotify_fd): Declare.
68579         (register_traced_file): Declare.
68580         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
68581         (inotify_fd): Export.
68582         (resolv_conf_descr): Remove.
68583         (nscd_init): Move inotify descriptor creation to main.
68584         Don't register files for notification here.
68585         (register_traced_file): New function.
68586         (invalidate_cache): Don't use reset_res to determine whether to call
68587         res_init, go through the list of registered files.
68588         (main_loop_poll): The inotify descriptors are now stored in the
68589         structures for the traced files.
68590         (main_loop_epoll): Likewise
68591         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
68592         to __nss_disable_nscd.
68593         * nscd/cache.c (prune_cache): There is no single inotify descriptor
68594         for a database anymore.  Check the records for all the registered
68595         files instead.
68596         * nss/Makefile (libnss_files-routines): Add files-init.
68597         (libnss_db-routines): Add db-init.
68598         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
68599         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
68600         * nss/nss_db/db-init.c: New file.
68601         * nss/nss_files/files-init.c: New file.
68602         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
68603         __nss_lookup_function.
68604         (__nss_lookup_function): Call nss_load_library.
68605         (nss_load_all_libraries): New function.
68606         (__nss_disable_nscd): Take parameter with callback function for files
68607         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
68608         used for the cached services.
68609         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
68610         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
68611         options for features to all the files in nscd.
68613         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
68615 2011-07-10  Roland McGrath  <roland@hack.frob.com>
68617         * csu/elf-init.c (__libc_csu_init): Comment typo.
68619 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
68621         * po/pl.po: Update from translation team.
68622         * po/ja.po: Likewise.
68623         * po/ru.po: Likewise.
68624         * po/ko.po: Likewise.
68625         * po/fr.po: Likewise.
68627 2011-07-09  Roland McGrath  <roland@hack.frob.com>
68629         * configure.in (.ctors/.dtors header and trailer check):
68630         Use an empirical test on a built program.
68631         * configure: Regenerated.
68633         * configure.in (-z relro check): Use an empirical test on a built DSO.
68634         Detect, but do not require, on ia64.
68635         * configure: Regenerated.
68637         * configure.in (READELF): Find it with AC_CHECK_TOOL.
68638         Update tests that use readelf to use $READELF instead.
68639         * configure: Regenerated.
68641 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
68643         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
68644         if the result is not used.
68646 2011-07-05  Andreas Jaeger  <aj@suse.de>
68648         [BZ#9696]
68649         * stdlib/tst-strtod.c: Add testcase.
68651 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
68653         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
68654         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
68655         The latter has a higher limit.  Take additional parameter to pass to
68656         the new function.
68657         (__pathconf): Pass file to __statfs_link_max.
68658         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
68659         __statfs_link_max.
68660         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
68661         __statfs_link_max.
68663         [BZ #12868]
68664         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
68665         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68666         Handle Lustre.
68667         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
68668         (__statfs_filesize_max): Likewise.
68669         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
68671 2011-07-05  Andreas Jaeger  <aj@suse.de>
68673         * resolv/res_comp.c (dn_skipname): Remove unused variable.
68675 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
68677         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
68678         `status' variable.
68679         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
68680         Likewise.
68682 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
68684         * Makefile (strop-tests): Add strncat.
68685         * string/test-strncat.c: New file.
68687 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
68689         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
68691 2011-06-21  Andreas Jaeger  <aj@suse.de>
68693         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
68694         Copy rule from iconvdata/Makefile.
68696 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68698         [BZ #12922]
68699         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
68700         but no long options are defined, just return 'W'.
68702 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
68704         [BZ #9696]
68705         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
68707 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68709         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
68710         netgroups to read.
68711         (innetgr): Likewise.
68713 2011-07-05  Roland McGrath  <roland@hack.frob.com>
68715         * config.make.in (install_root): Default to $(DESTDIR).
68717 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
68719         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
68721 2011-07-02  Roland McGrath  <roland@hack.frob.com>
68723         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
68725         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
68726         containing directory rather than embedding absolute directory names.
68728         * scripts/check-local-headers.sh: Rewritten using awk.
68729         Match by word, not by line.  Print error messages for matches.
68730         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
68732         * Makerules [shlib-lds-flags empty]:
68733         ($(common-objpfx)libc_pic.opts): New target.
68734         ($(common-objpfx)libc_pic.os.clean): New target.
68735         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
68737         * config.make.in (OBJCOPY): New variable.
68738         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
68739         * configure: Regenerated.
68741         * config.make.in (use-default-link): New variable.
68742         * configure.in (use_default_link): Grok --with-default-link to set it.
68743         * configure: Regenerated.
68744         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
68745         (shlib-lds, shlib-lds-flags): Define to empty.
68747         * Makerules (shlib-lds): New variable.
68748         (shlib-lds-flags): New variable.
68749         (build-shlib, build-moduile, build-module-asneeded): Use it.
68750         ($(common-objpfx)libc.so): Use $(shlib-lds).
68751         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
68752         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
68754         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
68755         DT_FLAGS/DT_FLAGS_1 with zero flags.
68757         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
68758         linker script munging.
68760 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
68762         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
68763         as 128-bit value.
68764         * crypt/sha512.c (sha512_process_block): Perform total addition using
68765         128-bit if possible.
68766         (__sha512_finish_ctx): Likewise.
68767         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
68768         as 64-bit value.
68769         * crypt/sha256.c (SWAP64): Define.
68770         (sha256_process_block): Perform total addition using 64-bit if
68771         possible.
68772         (__sha256_finish_ctx): Likewise.
68774 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
68776         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
68777         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68778         * nscd/hstcache.c (cache_addhst): Likewise.
68779         * nscd/grpcache.c (cache_addgr): Likewise.
68780         * nscd/aicache.c (addhstaiX): Likewise
68781         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
68783 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
68785         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
68786         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68787         * nscd/hstcache.c (cache_addhst): Likewise.
68788         * nscd/grpcache.c (cache_addgr): Likewise.
68789         * nscd/aicache.c (addhstaiX): Likewise
68791 2011-07-01  Andreas Schwab  <schwab@redhat.com>
68793         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
68794         domain only when needed.
68796 2011-06-30  Andreas Schwab  <schwab@redhat.com>
68798         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
68799         is always restored.
68801 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
68803         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
68804         are re-adding the entry.
68805         * nscd/servicescache.c (cache_addserv): Likewise.
68807 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
68809         * sysdeps/generic/dl-irel.h: fix protection against multiple
68810         inclusions.
68811         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
68813 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
68815         [BZ #12935]
68816         * malloc/memusage.sh: Fix quoting in message.
68817         * debug/xtrace.sh: Likewise.
68819         * configure.in: Remove support for --experimental-malloc option, make
68820         it the default.
68821         * config.make.in: Likewise.
68822         * malloc/Makefile: Likewise.
68824 2011-06-27  Andreas Schwab  <schwab@redhat.com>
68826         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
68827         two-byte characters.
68829 2011-06-27  Roland McGrath  <roland@hack.frob.com>
68831         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
68832         AC_CACHE_CHECK invocation.
68833         * configure: Regenerated.
68835         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
68837 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
68839         [BZ #12350]
68840         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
68841         bit from old_res_options.
68843         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
68845         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
68846         value type for setfct.
68848 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
68850         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68851         __gettimeofday instead of gettimeofday.
68853 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
68855         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
68857 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
68859         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
68861         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
68862         info.
68864 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68866         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68867         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68868         strcpy-sse2-unaligned strncpy-sse2-unaligned
68869         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
68870         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
68871         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
68872         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
68873         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
68874         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
68875         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
68876         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
68877         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
68878         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
68879         (STRCPY): Support SSE2 and SSSE3 versions.
68881 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
68883         [BZ #12874]
68884         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
68885         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
68886         kernels which artificially limit size of requests.
68888 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68890         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68891         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68892         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
68893         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
68894         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
68895         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
68896         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
68897         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
68898         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
68899         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
68900         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
68901         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
68902         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
68903         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
68904         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
68905         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68906         Enable unaligned load optimization for Intel Core i3, i5 and i7
68907         processors.
68908         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
68909         Define.
68910         (index_Fast_Unaligned_Load): Define.
68911         (HAS_FAST_UNALIGNED_LOAD): Define.
68913 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
68915         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
68917 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68919         [BZ #12907]
68920         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
68921         until it is clear that the information is realy needed.
68922         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
68924 2011-06-22  Andreas Schwab  <schwab@redhat.com>
68926         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
68928 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68930         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68931         /sys/devices/system/cpu/online if it is usable.
68933         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
68934         reading the information from the /proc filesystem to once a second.
68936 2011-06-21  Andreas Jaeger  <aj@suse.de>
68938         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
68939         NULL after inclusion of kernel headers.
68941 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
68943         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
68944         calls to internal_setent.
68946         [BZ #12885]
68947         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
68948         addresses using gethostbyname4_r ignore IPv4 addresses.
68950         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
68951         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
68953         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
68955 2011-06-20  David S. Miller  <davem@davemloft.net>
68957         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
68958         inclusions.
68959         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
68961         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
68962         (elf_irel): Use it.
68963         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
68964         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
68965         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
68966         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
68967         * sysdeps/x86_64/dl-irel.h: Likewise.
68969         * elf/dl-runtime.c: Use elf_ifunc_invoke.
68970         * elf/dl-sym.c: Likewise.
68972 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68974         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
68975         need to dereference resplen2.
68977 2011-06-14  Andreas Schwab  <schwab@redhat.com>
68979         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
68981 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68983         * Makeconfig: Define vardbdir and inst_vardbdir.
68984         * nss/Makefile: Add rules to install db-Makefile.
68986         * nss/nss_db/db-XXX.c: Cleanup.
68988         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
68989         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
68990         GLIBC_PRIVATE.
68991         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
68992         * nss/makedb.c: Implement -g option to specify that value strings
68993         are generated and should not be added to table iterated over for
68994         get*ent calls.
68995         * nss/nss_db/db-initgroups.c: New file.
68997         * nss/getent.c: Add support for initgroups lookups through getgrouplist
68998         interface.
69000         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
69001         (internal_getgrouplist): Adjust to name change.
69002         Update use_initgroups_entry if this is not the first call.
69003         * nss/databases.def: Add initgroups entry.
69005         * nss/makedb.c (compute_tables): Check result of multiple hash table
69006         sizes to minimize maximum chain length.
69008 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
69010         * Versions.def: Add entry for libnss_db.
69011         * shlib-versions: Likewise.
69012         * nss/Makefile: Add rules to build libnss_db.
69013         * nss/Versions: Add libnss_db information.  Organize libnss_files
69014         entries better.
69015         * nss/db-Makefile: Add gshadow support.  Change rules for the new
69016         makedb progra.  Some minor improvements to generate smaller files.
69017         * nss/nss_db/nss_db.h: Move NSS database header data structures to
69018         here from...
69019         * nss/makedb.c: ...here.
69020         Improve database format to be smaller and require less memory at
69021         runtime.
69022         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
69023         db anymore.
69024         * nss/nss_db/db-netgrp.c: Likewise.
69025         * nss/nss_db/db-open.c: Likewise.
69026         * nss/nss_files/flies-XXX.x: Adjust comments.
69027         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
69028         * nss/nss_files/files-grp.c: Likewise.
69029         * nss/nss_files/files-hosts.c: Likewise.
69030         * nss/nss_files/files-network.c: Likewise.
69031         * nss/nss_files/files-proto.c: Likewise.
69032         * nss/nss_files/files-pwd.c: Likewise.
69033         * nss/nss_files/files-rpc.c: Likewise.
69034         * nss/nss_files/files-service.c: Likewise.
69035         * nss/nss_files/files-sgrp.c: Likewise.
69036         * nss/nss_files/files-spwd.c: Likewise.
69037         * nss/nss_db/db-alias.c: Removed.
69038         * nss/nss_db/dummy-db.h: Removed.
69040 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
69042         * nss/makedb.c: Rewritten to not use database library.
69043         * nss/Makefile: Update to build new makedb program.
69045 2011-06-14  Andreas Jaeger  <aj@suse.de>
69047         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
69048         memset declaration.
69050 2011-06-10  Andreas Schwab  <schwab@redhat.com>
69052         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
69053         tmpbuf.
69055 2011-06-10  Roland McGrath  <roland@hack.frob.com>
69057         * Makerules (shlib.lds): Fail if the linker script comes out empty.
69058         * elf/Makefile ($(objpfx)ld.so): Likewise.
69060         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
69061         Don't list ld.so twice in dependencies.
69063         * posix/bug-regex31.c: Include <stdlib.h>.
69065         * nscd/hstcache.c (cache_addhst): Remove unused variable.
69067         * nis/nss_compat/compat-spwd.c
69068         (getspent_next_nss_netgr): Remove unused variable.
69069         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
69071         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
69072         nonmembers" output to use the right array.
69074         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
69076         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
69078         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
69079         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
69080         * catgets/gencat.c (read_input_file): Likewise.
69081         * locale/programs/locarchive.c (enlarge_archive): Likewise.
69083         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
69084         variable definition inside #if's controlling its use.
69086         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
69088         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
69090         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
69092         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
69093         unreachable code.
69095         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
69097         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
69098         * configure: Regenerated.
69100         * Makerules: Revert last change.
69101         * elf/Makefile: Likewise.
69103 2011-06-09  Roland McGrath  <roland@hack.frob.com>
69105         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
69106         * elf/Makefile ($(objpfx)librtld.os): Likewise.
69107         (reloc-link): Likewise.
69109 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
69111         * elf/Makefile: Add rules to build pldd.
69112         * elf/pldd.c: New file.
69113         * elf/pldd-xx.c: New file.
69115 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
69117         * version.h: Update for 2.15 development version.
69119 2011-06-07  David S. Miller  <davem@davemloft.net>
69121         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
69122         ifuncs.
69123         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
69124         elf_machine_lazy_rel): Likewise.
69125         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
69126         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
69127         elf_machine_lazy_rel): Likewise.
69128         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
69129         dl_hwcap via passed in argument.
69130         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
69131         Likewise.
69133 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69135         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
69137 2011-06-06  Roland McGrath  <roland@hack.frob.com>
69139         [BZ #12849]
69140         * manual/fdl-1.1.texi: New file, verbatim from:
69141         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
69142         * manual/lgpl-2.1.texi: New file, verbatim from:
69143         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
69144         * manual/Makefile (licenses): New variable, list those new file names.
69145         (texis): Use it.
69146         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
69148         * manual/fdl.texi: File removed.
69149         * manual/lesser.texi: File removed.
69150         * manual/libc.texinfo (Copying, Documentation License):
69151         Use new @include file names, put @appendix directive before @include.
69153 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
69155         [BZ #12841]
69156         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
69157         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
69158         (mq_open): Add __NTH.
69160 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
69162         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69163         Assume Intel Core i3/i5/i7 processor if AVX is available.
69165 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69167         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69168         typo.
69170 2011-05-31  Andreas Schwab  <schwab@redhat.com>
69172         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
69173         memory.  Use alloca_account.  Fix memory leak when retrying.
69175 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
69177         * version.h (RELEASE): Bump for 2.14 release.
69178         * include/features.h (__GLIBC_MINOR__): Bump to 14.
69180         * config.make.in (RANLIB): Remove entry.
69182 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
69184         * po/Makefile (po-sed-cmd): Add ksh to extensions.
69185         (libc.pot): Work around missing support for .ksh extension in xgettext.
69187         [BZ #12684]
69188         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
69189         if both request failed.
69190         (send_dg): In case of server errors clear resplen or *resplen2.
69192         [BZ #12454]
69193         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
69194         when there are multiple maps.
69195         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
69196         (_dl_fini): Remove test here.
69198         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
69200 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
69202         [BZ #12350]
69203         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
69204         bit from old_res_options.
69205         (gaih_inet): Likewise.
69207         [BZ #11099]
69208         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
69209         as signed.
69211         * resolv/res_init.c (res_setoptions): Make the code more compact.
69213         [BZ #11558]
69214         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
69215         set RES_USEVC.
69217         [BZ #11634]
69218         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
69220         * malloc/malloc.h: Mark malloc hook variables as deprecated.
69222         [BZ #11781]
69223         * malloc/malloc.h: Declare malloc hook variables as volatile.
69225         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
69226         in last patch.
69228         [BZ #11799]
69229         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
69230         raise in the comment.
69231         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69232         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69233         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
69235 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
69237         [BZ #12811]
69238         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
69239         grow the buffers more if it already has to be sufficient.
69240         (build_wcs_upper_buffer): Likewise.
69241         * posix/regexec.c (check_matching): Likewise.
69242         (clean_state_log_if_needed): Likewise.
69243         (extend_buffers): Don't enlarge buffers beyond size of the input
69244         buffer.
69245         Patches mostly by Emil Wojak <emil@wojak.eu>.
69246         * posix/bug-regex32.c: New file.
69247         * posix/Makefile (tests): Add bug-regex32.
69249         * locale/findlocale.c (_nl_find_locale): Return right away if
69250         _nl_explode_name failed.
69251         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
69253         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
69255         * debug/xtrace.sh: Unify messages.
69256         * malloc/memusage.sh: Likewise.
69258         [BZ #12813]
69259         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
69260         time symbol from vDSO.  Substitute with vsyscall if not available.
69261         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
69262         __vdso_time.
69264         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
69265         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
69266         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
69267         Add sendmmsg and internal_sendmmsg.
69268         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
69269         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
69270         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
69272         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
69273         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
69274         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
69276 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
69278         [BZ #12813]
69279         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
69280         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
69281         available.
69282         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
69283         __vdso_getcpu.
69285         [BZ #12814]
69286         * iconvdata/Makefile (tests): Add bug-iconv9.
69287         * iconvdata/bug-iconv9.c: New file.
69289 2011-05-27  Andreas Schwab  <schwab@redhat.com>
69291         [BZ #12814]
69292         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
69294 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
69296         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69297         (struct user_regs_struct): Change intcs field back to cs.
69299 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
69301         * po/ja.po: Update from translation team.
69303 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
69305         [BZ #12795]
69306         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
69307         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
69309 2011-05-20  Andreas Schwab  <schwab@redhat.com>
69311         * stdlib/longlong.h: Update from GCC.
69313 2011-05-23  Andreas Schwab  <schwab@redhat.com>
69315         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
69316         parameter name.
69317         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
69318         Add parameter name.
69319         (__sysconf): Pass it down.
69321 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
69323         [BZ #12671]
69324         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
69325         some situations.
69326         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
69327         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
69328         add in in __libc_use_alloca calls.  Adjust callers.
69329         (glob): Use malloc in some situations.
69331         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
69332         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
69333         pltexit.
69335 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
69337         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
69338         and CLOCK_BOOTTIME_ALARM.
69340         [BZ #12782]
69341         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
69342         is returned.
69344         * string/_strerror.c (__strerror_r): Print negative errors as signed
69345         numbers.
69347         [BZ #12777]
69348         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
69349         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
69350         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
69352         * configure.in: Fix typo in redirection and correct removal of test
69353         files in two cases.
69355         [BZ #12788]
69356         * locale/setlocale.c (new_composite_name): Fix test to check for
69357         identical name of all categories.
69359         [BZ #12792]
69360         * libio/filedoalloc.c (local_isatty): New function.
69361         (_IO_file_doallocate): Use local_isatty.
69362         * stdio-common/perror.c (perror): In case a new stream is used
69363         forward the stream error.
69364         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
69365         error flag.
69367 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
69369         [BZ #11884]
69370         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
69371         alloca.
69372         * include/alloca.h (extend_alloca_account): Define.
69374         [BZ #11857]
69375         * posix/regex.h: Fix comments with documentation of user-accessible
69376         fields after compilation and describe correct free'ing of pattern
69377         after re_compile_pattern.
69378         Patch by Reuben Thomas <rrt@sc3d.org>.
69380 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
69382         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
69383         and -mno-altivec to prevent the compiler from using Altivec and/or
69384         VSX instructions when the corresponding registers are not available.
69386 2011-05-19  Andreas Schwab  <schwab@redhat.com>
69388         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
69390 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
69392         * libio/freopen.c (freopen): Use __dup2, not dup2.
69393         * libio/freopen64.c (freopen64): Likewise.
69395 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69397         [BZ #12775]
69398         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
69399         * math/Makefile (tests): Add test-powl.
69400         (CFLAGS-test-powl.c): Define.
69401         * math/test-powl.c: New file.
69403 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69405         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
69407 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
69409         [BZ #11837]
69410         * iconvdata/gb18030.c: Update to GB18020-2005.
69412 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
69414         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
69415         RE_SYNTAX_POSIX_AWK): Update to match recent development.
69416         Patch by Aharon Robbins <arnold@skeeve.com>.
69418         [BZ #11892]
69419         * stdlib/putenv.c (putenv): Don't always create copy of the variable
69420         on the stack.
69422         [BZ #11895]
69423         * misc/pselect.c (__pselect): Handle timeout value errors hidden
69424         through underflows.
69426         [BZ #12766]
69427         * misc/error.c (error_at_line): Ensure file_name and old_file_name
69428         point to strings before performing equality test for error_one_per_line
69429         mode.
69431         [BZ #11697]
69432         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
69434         [BZ #11820]
69435         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69436         (struct user_fpregs_struct): Avoid __uint*_t types.
69438         [BZ #6420]
69439         * malloc/mtrace.c (tr_where): Add additional parameter to point to
69440         symbol info.  Use it instead of calling _dl_addr locally.
69441         (lock_and_info): New function.
69442         (tr_freehook): Call lock_and_info and pass symbol info as additional
69443         parameter to tr_where.
69444         (tr_mallochook): Likewise.
69445         (tr_reallochook): Likewise.
69446         (tr_memalignhook): Likewise.
69448         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
69449         used and couldn't be at all thread-safe.
69451 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
69453         * libio/freopen.c (freopen): Don't close old file descriptor
69454         before the new one is opened.  Instead dup the new file descriptor
69455         to the old one after the new stream is created.
69456         * libio/freopen64.c (freopen64): Likewise.
69457         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
69458         * libio/fileops.c (_IO_new_file_close_it): Handle new
69459         _IO_FLAGS2_NOCLOSE flag.
69460         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
69461         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
69462         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
69463         _IO_FLAGS2_NOCLOSE flag.
69464         * include/unistd.h: Add hidden_proto for dup3.
69465         Define __have_dup3.
69466         * io/dup3.c: Define hidden symbol.
69467         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
69469         [BZ #7101]
69470         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
69471         when an incomplete long option is used.
69472         * posix/tst-getopt_long1.c: New file.
69473         * posix/Makefile (tests): Add tst-getopt_long1.
69475         [BZ #10138]
69476         * scripts/config.guess: Update from autoconf-2.68.
69477         * scripts/config.sub: Likewise.
69479         [BZ #10157]
69480         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
69481         tests into ...
69482         (has_cpuclock): ...this.  New function.
69483         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
69484         macro here based on has_cpuclock code.
69486         [BZ #10149]
69487         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69488         First byte (not low byte) is now always NUL.
69489         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
69491         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69492         Use non-cancelable interfaces.
69494         [BZ #9809]
69495         * locale/iso-639.def: Add entry for Sorani.
69497         [BZ #11901]
69498         * include/stdlib.h: Move include protection to the right place.
69499         Define abort_msg_s.  Declare __abort_msg with it.
69500         * stdlib/abort.c (__abort_msg): Adjust type.
69501         * assert/assert.c (__assert_fail_base): New function.  Majority
69502         of code from __assert_fail.  Allocate memory for __abort_msg with
69503         mmap.
69504         (__assert_fail): Now call __assert_fail_base.
69505         * assert/assert-perr.c: Remove bulk of implementation.  Use
69506         __assert_fail_base.
69507         * include/assert.hL Declare __assert_fail_base.
69508         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
69509         mmap.
69510         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
69512 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
69514         [BZ #11952]
69515         [BZ #12453]
69516         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
69517         until all modules are registered in the DTV.
69518         * elf/Makefile: Add rules to build and run tst-tls19.
69519         * elf/tst-tls19.c: New file.
69520         * elf/tst-tls19mod1.c: New file.
69521         * elf/tst-tls19mod2.c: New file.
69522         * elf/tst-tls19mod3.c: New file.
69523         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
69525         [BZ #12083]
69526         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
69527         correctly.
69529         [BZ #12601]
69530         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
69531         two-byte sequence errors.
69532         * iconvdata/Makefile (tests): Add bug-iconv8.
69533         * iconvdata/bug-iconv8.c: New file.
69535         [BZ #12626]
69536         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
69537         buf2 definition.
69539         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
69541         [BZ #12432]
69542         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
69543         (dummy_getcfa): New function.
69544         (init): Get _Unwind_GetCFA address, use dummy if not found.
69545         (backtrace_helper): In recursion check, also check whether CFA changes.
69546         (__backtrace): Completely initialize arg.
69548         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
69549         storing incomplete byte sequence in state object.  Avoid testing for
69550         guaranteed too small input if we know there is enough data available.
69552 2011-05-11  Andreas Schwab  <schwab@redhat.com>
69554         * Makeconfig (+link-pie): Indent.
69555         * Rules (binaries-pie): Define if $(have-fpie) and
69556         $(build-shared).
69557         (binaries-shared): Also filter out $(binaries-pie).
69558         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
69559         * nscd/Makefile (others-pie): Add nscd.
69560         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
69561         ($(objpfx)nscd): Remove command override.
69562         * login/Makefile (others-pie): Add pt_chown.
69563         ($(objpfx)pt_chown): Remove command override.
69564         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
69565         remove command overrides.
69567 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
69569         * libio/tst_putwc.c: Fix error messages.
69571         [BZ #12724]
69572         * libio/fileops.c (_IO_new_file_close_it): Always flush when
69573         currently writing and seek to current position when not.
69574         * libio/Makefile (tests): Add bug-fclose1.
69575         * libio/bug-fclose1.c: New file.
69577 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
69579         [BZ #12511]
69580         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
69581         don't set DF_1_NODELETE here.
69582         (do_lookup_x): When entering new entry test for copy relocation
69583         and if necessary set DF_1_NODELETE flag.
69584         * elf/tst-unique4.cc: New file.
69585         * elf/tst-unique4.h: New file.
69586         * elf/tst-unique4lib.cc: New file.
69587         * elf/Makefile: Add rules to build and run tst-unique4.
69588         Patch by Piotr Bury <pbury@goahead.com>.
69590 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
69592         [BZ #12052]
69593         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
69595         [BZ #12625]
69596         * misc/mntent_r.c (addmntent): Flush the stream after the output
69598         [BZ #12393]
69599         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
69600         (is_trusted_path_normalize): Skip initial colon.  Append slash
69601         to empty buffer.  Duplicate is_trusted_path code but allow
69602         constructed patch to be prefix.
69603         (is_dst): Allow $ORIGIN followed by /.
69604         (_dl_dst_substitute): Correct clearing of check_for_trusted.
69605         Correct testing of result of is_trusted_path_normalize
69606         (decompose_rpath): Fix warning.
69608 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
69610         [BZ #11257]
69611         * grp/initgroups.c (internal_getgrouplist): When we found the service
69612         list through the initgroups entry in nsswitch.conf do not always
69613         continue on a successful lookup.  Don't always use the
69614         __nss_group_database value if it is set.
69615         * nss/nsswitch.conf (initgroups): Change action for successful db
69616         lookup to continue for compatibility.
69618 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
69620         [BZ #11532]
69621         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
69622         and CP774 modules.
69623         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
69624         and CP774 modules.
69625         * iconvdata/tst-tables.sh: Likewise.
69626         * iconvdata/cp770.c: New file.
69627         * iconvdata/cp771.c: New file.
69628         * iconvdata/cp772.c: New file.
69629         * iconvdata/cp773.c: New file.
69630         * iconvdata/cp774.c: New file.
69631         * iconvdata/testdata/CP770: New file.
69632         * iconvdata/testdata/CP770..UTF8: New file.
69633         * iconvdata/testdata/CP771: New file.
69634         * iconvdata/testdata/CP771..UTF8: New file.
69635         * iconvdata/testdata/CP772: New file.
69636         * iconvdata/testdata/CP772..UTF8: New file.
69637         * iconvdata/testdata/CP773: New file.
69638         * iconvdata/testdata/CP773..UTF8: New file.
69639         * iconvdata/testdata/CP774: New file.
69640         * iconvdata/testdata/CP774..UTF8: New file.
69642         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
69643         END CHARMAP line.
69644         * iconvdata/gen-8bit-gap.sh: Likewise.
69645         * iconvdata/gen-8bit.sh: Likewise.
69647         * locale/iso-639.def: Add ary entry.
69649         [BZ #11258]
69650         * locale/C-translit.h.in: Add U20A1 transliteration.
69652         [BZ #12178]
69653         * locale/iso-639.def: Add wae entry.
69654         Patch by Kevin Bortis <bortis@translate-wae.ch>.
69656         [BZ #12545]
69657         * locale/programs/localedef.c (construct_output_path): Use ssize_t
69658         for n.
69660         [BZ #12711]
69661         * locale/C-translit.h.in: Add entry for U20B9.
69662         Patch by pravin.d.s@gmail.com.
69664 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
69666         [BZ #12713]
69667         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
69668         ENAMETOOLONG use generic getcwd.
69669         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
69670         in rtld.  Use *stat64.
69671         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
69672         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
69673         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
69674         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
69675         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
69676         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
69677         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
69678         __fstatat64 macros.
69679         * include/dirent.h: Add libc_hidden_proto for rewinddir.
69680         * dirent/rewinddir.c: Add libc_hidden_def.
69681         * sysdeps/mach/hurd/rewinddir.c: Likewise.
69682         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
69684         * include/dirent.h (__alloc_dir): Add flags parameter.
69685         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
69686         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
69687         __alloc_dir.
69688         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
69689         from fdopendir if O_CLOEXEC is already set.
69691 2011-03-15  Alan Modra  <amodra@gmail.com>
69693         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
69694         l_tls_firstbyte_offset non-zero.  Save padding offset in
69695         l_tls_firstbyte_offset for later use.
69696         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
69697         freeing static tls block.
69699 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
69701         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
69702         where #ifdef was intended.  The intent is to prevent ARG_MAX from
69703         being defined by the kernel headers.
69705 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
69707         [BZ #12734]
69708         * resolv/resolv.h: Define RES_NOTLDQUERY.
69709         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
69710         no-tld-query and set RES_NOTLDQUERY.
69711         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
69712         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
69713         modern BIND to search name as TLD unless forbidden.
69715 2011-05-07  Petr Baudis  <pasky@suse.cz>
69716             Ulrich Drepper  <drepper@gmail.com>
69718         [BZ #12393]
69719         * elf/dl-load.c (fillin_rpath): Move trusted path check...
69720         (is_trusted_path): ...to here.
69721         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
69722         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
69723         using is_trusted_path_normalize() in setuid scripts.
69725 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69727         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
69728         __BEGIN/__END_DECLS.
69730 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
69732         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
69733         NSS_STATUS_NOTFOUND if no record was found.
69735 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69737         * sunrpc/Makefile (headers): Add rpc/netdb.h.
69738         (headers-not-in-tirpc): Remove rpc/netdb.h
69739         * resolv/netdb.h: Revert last change.
69741 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69743         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
69744         circular dependency between libgcc.a and libc.a.
69746 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69748         * resolv/netdb.h: Don't include <rpc/netdb.h>.
69749         * nis/Makefile: Don't install rpcsvc/*.
69750         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
69751         instead of <rpc/types.h>.
69752         (MAXHOSTNAMELEN): Define.
69754 2011-05-03  Andreas Schwab  <schwab@redhat.com>
69756         * elf/ldconfig.c (add_dir): Don't crash on empty path.
69758 2011-04-28  Maciej Babinski  <mbabinski@google.com>
69760         [BZ #12714]
69761         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
69762         gethostbyname4_r when IPv6 results are possible.
69764 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
69766         [BZ #12723]
69767         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
69768         _PC_PIPE_BUF handling.
69770 2011-04-30  Bruno Haible  <bruno@clisp.org>
69772         [BZ #12717]
69773         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
69774         * resolv/netdb.h (getnameinfo): Change type of flags parameter
69775         to 'int'.
69776         * inet/getnameinfo.c (getnameinfo): Likewise.
69778 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
69780         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
69781         to groups setting in database lookup.
69782         * nss/nsswitch.conf: Add initgroups entry.
69784 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
69786         [BZ #12685]
69787         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
69788         mode string.
69789         Patch by Eric Blake <eblake@redhat.com>.
69791 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
69793         * sunrpc/Makefile (need-export-routines): Add svc_run.
69794         (routines): Remove svc_run.
69795         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
69796         * sunrpc/clnt_perr.c (clnt_perrno): Export.
69797         * sunrpc/svc_run.c (svc_run): Likewise.
69798         * sunrpc/svc_udp.c (svcudp_create): Likewise.
69800 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
69802         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
69803         problem in reallocation in last patch.
69805 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
69807         * sunrpc/Makefile: Move inclusion of Rules.
69809 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69811         * nss/nss_files/files-initgroups.c: New file.
69812         * nss/Makefile (libnss_files-routines): Add files-initgroups.
69813         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
69814         _nss_files_initgroups_dyn.
69816 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
69818         * elf/elf.h (R_ARM_IRELATIVE): Define.
69820 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69822         * po/ru.po: Update from translation team.
69824 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69826         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
69827         dependencies.
69829 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
69831         [BZ #12653]
69832         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
69833         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
69834         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69835         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69836         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69838 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
69840         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
69841         differing bytes.
69842         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69843         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69844         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69846 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69848         [BZ #12420]
69849         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
69850         storing it.
69851         * stdlib/bug-getcontext.c: New file.
69852         * stdlib/Makefile: Add rules to build and run bug-getcontext.
69854 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69856         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
69857         instructions into .machine "z9-109".
69858         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
69859         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
69861 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69863         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
69864         between environment variables and auxiliary vector.
69866 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
69868         * Makefile: Add rules to build linkobj/libc.so.
69869         * include/libc-symbols.h: Define libc_hidden_nolink.
69870         * include/rpc/auth.h: Mark functions which are to be hidden.
69871         * include/rpc/auth_des.h: Likewise.
69872         * include/rpc/auth_unix.h: Likewise.
69873         * include/rpc/clnt.h: Likewise.
69874         * include/rpc/des_crypt.h: Likewise.
69875         * include/rpc/key_prot.h: Likewise.
69876         * include/rpc/pmap_clnt.h: Likewise.
69877         * include/rpc/pmap_prot.h: Likewise.
69878         * include/rpc/pmap_rmt.h: Likewise.
69879         * include/rpc/rpc_msg.h: Likewise.
69880         * include/rpc/svc.h: Likewise.
69881         * include/rpc/svc_auth.h: Likewise.
69882         * include/rpc/xdr.h: Likewise.
69883         * nis/Makefile: Link all DSOs against linkobj/libc.so.
69884         * nss/Makefile: Likewise.
69885         * sunrpc/Makefile: Don't install headers.  Build library with normal
69886         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
69887         * sunrpc/auth_des.c: Hide exported symbols by default, export some
69888         for the compat linking library.  Remove use of INTDEF/INTUSE.
69889         * sunrpc/auth_none.c: Likewise.
69890         * sunrpc/auth_unix.c: Likewise.
69891         * sunrpc/authdes_prot.c: Likewise.
69892         * sunrpc/authuxprot.c: Likewise.
69893         * sunrpc/clnt_gen.c: Likewise.
69894         * sunrpc/clnt_perr.c: Likewise.
69895         * sunrpc/clnt_raw.c: Likewise.
69896         * sunrpc/clnt_simp.c: Likewise.
69897         * sunrpc/clnt_tcp.c: Likewise.
69898         * sunrpc/clnt_udp.c: Likewise.
69899         * sunrpc/clnt_unix.c: Likewise.
69900         * sunrpc/des_crypt.c: Likewise.
69901         * sunrpc/des_soft.c: Likewise.
69902         * sunrpc/get_myaddr.c: Likewise.
69903         * sunrpc/key_call.c: Likewise.
69904         * sunrpc/key_prot.c: Likewise.
69905         * sunrpc/netname.c: Likewise.
69906         * sunrpc/pm_getmaps.c: Likewise.
69907         * sunrpc/pm_getport.c: Likewise.
69908         * sunrpc/pmap_clnt.c: Likewise.
69909         * sunrpc/pmap_prot.c: Likewise.
69910         * sunrpc/pmap_prot2.c: Likewise.
69911         * sunrpc/pmap_rmt.c: Likewise.
69912         * sunrpc/publickey.c: Likewise.
69913         * sunrpc/rpc_cmsg.c: Likewise.
69914         * sunrpc/rpc_common.c: Likewise.
69915         * sunrpc/rpc_dtable.c: Likewise.
69916         * sunrpc/rpc_prot.c: Likewise.
69917         * sunrpc/rpc_thread.c: Likewise.
69918         * sunrpc/rtime.c: Likewise.
69919         * sunrpc/svc.c: Likewise.
69920         * sunrpc/svc_auth.c: Likewise.
69921         * sunrpc/svc_authux.c: Likewise.
69922         * sunrpc/svc_raw.c: Likewise.
69923         * sunrpc/svc_run.c: Likewise.
69924         * sunrpc/svc_simple.c: Likewise.
69925         * sunrpc/svc_tcp.c: Likewise.
69926         * sunrpc/svc_udp.c: Likewise.
69927         * sunrpc/svc_unix.c: Likewise.
69928         * sunrpc/svcauth_des.c: Likewise.
69929         * sunrpc/xcrypt.c: Likewise.
69930         * sunrpc/xdr.c: Likewise.
69931         * sunrpc/xdr_array.c: Likewise.
69932         * sunrpc/xdr_float.c: Likewise.
69933         * sunrpc/xdr_intXX_t.c: Likewise.
69934         * sunrpc/xdr_mem.c: Likewise.
69935         * sunrpc/xdr_rec.c: Likewise.
69936         * sunrpc/xdr_ref.c: Likewise.
69937         * sunrpc/xdr_sizeof.c: Likewise.
69938         * sunrpc/xdr_stdio.c: Likewise.
69940 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
69942         [BZ #12650]
69943         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
69944         * sysdeps/ia64/dl-tls.h: Likewise.
69945         * sysdeps/powerpc/dl-tls.h: Likewise.
69946         * sysdeps/s390/dl-tls.h: Likewise.
69947         * sysdeps/sh/dl-tls.h: Likewise.
69948         * sysdeps/sparc/dl-tls.h: Likewise.
69949         * sysdeps/x86_64/dl-tls.h: Likewise.
69950         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
69952 2011-03-14  Andreas Schwab  <schwab@redhat.com>
69954         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
69955         rpath element also skip the following colon.
69956         (expand_dynamic_string_token): Add is_path parameter and pass
69957         down to DL_DST_REQUIRED and _dl_dst_substitute.
69958         (decompose_rpath): Call expand_dynamic_string_token with
69959         non-zero is_path.  Ignore empty rpaths.
69960         (_dl_map_object_from_fd): Call expand_dynamic_string_token
69961         with zero is_path.
69963 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
69965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69966         Make cancelable.
69968 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
69970         [BZ #12655]
69971         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
69972         Patch by Filipe David Manana <fdmanana@apache.org>.
69974 2011-04-07  Andreas Schwab  <schwab@redhat.com>
69976         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
69977         Maintain aligned stack.
69978         (CHECK_RSP): Remove unused macro.
69980 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
69982         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
69983         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
69985 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
69987         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
69989         * include/features.h: Mention __USE_XOPEN2K8 in comment.
69991 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
69993         [BZ #12518]
69994         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
69995         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
69996         * sysdeps/x86_64/memmove.c: New file.
69997         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
69998         (memcpy): Renamed to ...
69999         (__new_memcpy): This.
70000         (memcpy): Provide GLIBC_2_14 memcpy.
70001         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
70002         (memcpy): Provide GLIBC_2_2_5 memcpy.
70004 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70006         [BZ #12631]
70007         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
70009 2011-03-30  Andreas Schwab  <schwab@redhat.com>
70011         * misc/syncfs.c: New file.
70012         * misc/Makefile (routines): Add syncfs.
70013         * posix/unistd.h: Declare syncfs.
70014         * sysdeps/unix/syscalls.list: Add syncfs.
70016 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70018         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
70019         open_by_handle_at.
70020         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70021         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70022         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70023         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70024         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70025         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
70026         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70028 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70030         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
70031         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70032         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
70033         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70034         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70035         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70036         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70038         * io/Makefile: Compile fallocate.c, fallocate64.c, and
70039         sync_file_range.c with -fexceptions.
70040         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
70041         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
70042         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
70043         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
70044         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
70045         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70046         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
70047         sync_file_range as cancellation point
70048         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
70049         now a wrapper around __call_sync_file_range with cancellation handling.
70050         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
70051         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
70052         function name to __call_sync_file_range.
70053         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
70054         Add call_sync_file_range.
70056 2011-04-01  Andreas Schwab  <schwab@redhat.com>
70058         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70059         bits/timex.h.
70061 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
70063         * iconv/iconv.h: Fix typo in comment.
70064         * io/fcntl.h: Likewise.
70065         * libio/stdio.h: Likewise.
70066         * posix/spawn.h: Likewise.
70067         * posix/unistd.h: Likewise.
70068         * stdlib/stdlib.h: Likewise.
70069         * time/time.h: Likewise.
70070         * wcsmbs/wchar.h: Likewise.
70072         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
70073         open_by_handle): Add.
70074         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
70075         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
70076         Augment a few comments.
70077         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70078         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70079         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70080         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70081         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70082         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
70083         open_by_handle.
70085         * io/fcntl.h (AT_EMPTY_PATH): Define.
70087 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
70089         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
70090         * sysdeps/unix/sysv/linux/bits/time.h: New file.
70091         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
70092         to...
70093         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
70094         * Versions.def: Add GLIBC_2.14.
70095         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
70096         Export.
70098 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
70100         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
70101         round counter.
70102         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70104 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70106         [BZ #12597]
70107         * string/test-strncmp.c (do_page_test): New function.
70108         (check2): Likewise.
70109         (test_main): Call check2.
70110         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
70112 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
70114         [BZ #12587]
70115         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
70116         Handle cache information in CPU leaf 4.
70117         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70119 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
70121         [BZ #12583]
70122         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
70123         character representation.
70124         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
70126 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
70128         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
70129         END(__isnan) to END(__isnanf) to match function entry point/label
70130         EALIGN(__isnanf,...).
70132 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
70134         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
70136 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
70138         [BZ #12510]
70139         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
70140         copy from the symbol referenced in the relocation to initialize the
70141         used variable.
70142         Patch by Piotr Bury <pbury@goahead.com>.
70143         * elf/Makefile: Add rules to build and tst-unique3.
70144         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
70145         * elf/tst-unique3.cc: New file.
70146         * elf/tst-unique3.h: New file.
70147         * elf/tst-unique3lib.cc: New file.
70148         * elf/tst-unique3lib2.cc: New file.
70150         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
70152 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
70154         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
70155         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
70156         to _start.
70158 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
70160         * elf/dl-load.c (_dl_map_object): If we are looking for the first
70161         to-be-loaded object along a path to loader is ld.so.
70163 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70164             Ulrich Drepper  <drepper@gmail.com>
70166         * sysdeps/x86_64/memset.S: After aligning destination, code
70167         branches to different locations depending on the value of
70168         misalignment, when multiarch is enabled. Fix this.
70170 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
70172         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
70173         Set _x86_64_preferred_memory_instruction for AMD processsors.
70174         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70175         Set bit_Prefer_SSE_for_memop for AMD processors.
70177 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
70179         * libio/fmemopen.c (fmemopen): Optimize a bit.
70181 2011-03-03  Andreas Schwab  <schwab@redhat.com>
70183         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
70185 2011-03-03  Roland McGrath  <roland@redhat.com>
70187         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
70189 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
70191         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
70192         __bzero_ultra1 instead of __memset_ultra1.
70194 2011-02-23  Andreas Schwab  <schwab@redhat.com>
70195             Ulrich Drepper  <drepper@gmail.com>
70197         [BZ #12509]
70198         * include/link.h (struct link_map): Add l_orig_initfini.
70199         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
70200         returning unsuccessfully.
70201         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
70202         close of a file loaded at startup, restore the original l_initfini
70203         list.
70204         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
70205         list, store the pointer.
70206         * elf/Makefile ($(objpfx)noload-mem): New rule.
70207         (noload-ENV): Define.
70208         (tests): Add $(objpfx)noload-mem.
70209         * elf/noload.c: Include <memcheck.h>.
70210         (main): Call mtrace.  Close all opened handles.
70212 2011-02-17  Andreas Schwab  <schwab@redhat.com>
70214         [BZ #12454]
70215         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
70216         dependencies are missing.
70218 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70220         Fix __if_freereq crash: Unlike the generic version which uses free,
70221         Hurd needs munmap.
70222         * sysdeps/mach/hurd/ifreq.h: New file.
70224 2011-01-27  Petr Baudis  <pasky@suse.cz>
70225             Ulrich Drepper  <drepper@gmail.com>
70227         [BZ 12445]#
70228         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
70229         to extend_alloca().
70230         * stdio-common/bug23.c: New file.
70231         * stdio-common/Makefile (tests): Add bug23.
70233 2010-09-28  Andreas Schwab  <schwab@redhat.com>
70234             Ulrich Drepper  <drepper@gmail.com>
70236         [BZ #12489]
70237         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
70238         before performing relro protection.  At old place add assertion
70239         to make sure nothing changed.
70241 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
70242             Glauber de Oliveira Costa  <glommer@gmail.com>
70244         * elf/elf.h: Add new ARM TLS relocs.
70246 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
70248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70249         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
70250         cast from r3.
70251         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
70252         'tests' variable.
70253         * sysdeps/wordsize-64/tst-writev.c: New file.
70255 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
70257         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
70258         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
70259         insns in _dl_start to prevent a TOC reference before relocs are
70260         resolved.
70262 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
70264         [BZ #12469]
70265         * Makeconfig: Remove RANLIB definition.
70266         * Makerules: Don't use RANLIB.
70267         * aclocal.m4: Remove ranlib test.
70268         * configure.in: No need to check for ranlib.
70269         * elf/rtld-Rules: Don't use RANLIB.
70271 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70273         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
70274         protection macro.
70275         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
70276         inclusion protection macro.
70278         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
70279         SIGRTMIN and SIGRTMAX and print information in that case only when
70280         SIGRTMIN is defined.
70282 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
70284         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
70285         arginfo fn returning -1.
70287         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
70288         and thousands string is zero terminated.
70290 2011-02-03  Andreas Schwab  <schwab@redhat.com>
70292         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
70293         sysdeps/unix/sysv/linux/bits/socket.h.
70295 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70297         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
70298         (__CPU_COUNT): Remove old macros.
70299         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
70300         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
70301         (__CPU_ALLOC, __CPU_FREE): Add macros.
70302         (__sched_cpualloc, __sched_cpufree): Add declarations.
70304 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
70306         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
70307         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
70308         * nscd/aicache.c (addhstaiX): Return timeout of added value.
70309         (readdhstai): Return value of addhstaiX call.
70310         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
70311         (addgrbyX): Return value returned by cache_addgr.
70312         (readdgrbyname): Return value returned by addgrbyX.
70313         (readdgrbygid): Likewise.
70314         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
70315         (addpwbyX): Return value returned by cache_addpw.
70316         (readdpwbyname): Return value returned by addhstbyX.
70317         (readdpwbyuid): Likewise.
70318         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
70319         (addservbyX): Return value returned by cache_addserv.
70320         (readdservbyname): Return value returned by addservbyX:
70321         (readdservbyport): Likewise.
70322         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
70323         (addhstbyX): Return value returned by cache_addhst.
70324         (readdhstbyname): Return value returned by addhstbyX.
70325         (readdhstbyaddr): Likewise.
70326         (readdhstbynamev6): Likewise.
70327         (readdhstbyaddrv6): Likewise.
70328         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
70329         (readdinitgroups): Return value returned by addinitgroupsX.
70330         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
70331         (prune_cache): Keep track of timeout value of re-added entries.
70332         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
70333         * nscd/nscd.h: Adjust prototypes of readd* functions.
70335 2011-02-04  Roland McGrath  <roland@redhat.com>
70337         * nis/nis_server.c (nis_servstate): Use the right name for 0.
70338         (nis_stats): Likewise.
70339         * nis/nis_modify.c (nis_modify): Likewise.
70340         * nis/nis_remove.c (nis_remove): Likewise.
70341         * nis/nis_add.c (nis_add): Likewise.
70343         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
70345         * posix/fnmatch_loop.c: Add some consts.
70347         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
70349 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
70351         [BZ #12460]
70352         * config.make.in (config-cflags-novzeroupper): Define.
70353         * configure.in: Substitute libc_cv_cc_novzeroupper.
70354         * elf/Makefile (AVX-CFLAGS): Define.
70355         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
70356         (CFLAGS-tst-auditmod4a.c): Likewise.
70357         (CFLAGS-tst-auditmod4b.c): Likewise.
70358         (CFLAGS-tst-auditmod6b.c): Likewise.
70359         (CFLAGS-tst-auditmod6c.c): Likewise.
70360         (CFLAGS-tst-auditmod7b.c): Likewise.
70361         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
70363 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
70365         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
70366         function to the callback.
70367         Patch partly by Jiri Olsa <jolsa@redhat.com>.
70369 2011-02-02  Andreas Schwab  <schwab@redhat.com>
70371         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
70372         of errno.
70374 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
70376         [BZ #11724]
70377         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
70378         of constructors.
70379         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
70380         of destructors.
70381         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
70383         [BZ #11724]
70384         * elf/Makefile: Add rules to build and run new test.
70385         * elf/tst-initorder.c: New file.
70386         * elf/tst-initorder.exp: New file.
70387         * elf/tst-initordera1.c: New file.
70388         * elf/tst-initordera2.c: New file.
70389         * elf/tst-initordera3.c: New file.
70390         * elf/tst-initordera4.c: New file.
70391         * elf/tst-initorderb1.c: New file.
70392         * elf/tst-initorderb2.c: New file.
70393         * elf/tst-order-a1.c: New file.
70394         * elf/tst-order-a2.c: New file.
70395         * elf/tst-order-a3.c: New file.
70396         * elf/tst-order-a4.c: New file.
70397         * elf/tst-order-b1.c: New file.
70398         * elf/tst-order-b2.c: New file.
70399         * elf/tst-order-main.c: New file.
70400         New test case by George Gensure <werkt0@gmail.com>.
70402 2010-10-01  Andreas Schwab  <schwab@redhat.com>
70404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70405         decoding ACE if AI_CANONIDN.
70407 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
70409         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
70411 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
70413         * version.h (RELEASE): Bump for 2.13 release.
70414         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
70416         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
70418         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
70419         MADV_NOHUGEPAGE.
70420         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
70421         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70422         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70423         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70424         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70425         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70427         * posix/getconf.c: Update copyright year.
70428         * catgets/gencat.c: Likewise.
70429         * csu/version.c: Likewise.
70430         * debug/catchsegv.sh: Likewise.
70431         * debug/xtrace.sh: Likewise.
70432         * elf/ldconfig.c: Likewise.
70433         * elf/ldd.bash.in: Likewise.
70434         * elf/sprof.c (print_version): Likewise.
70435         * iconv/iconv_prog.c: Likewise.
70436         * iconv/iconvconfig.c: Likewise.
70437         * locale/programs/locale.c: Likewise.
70438         * locale/programs/localedef.c: Likewise.
70439         * malloc/memusage.sh: Likewise.
70440         * malloc/mtrace.pl: Likewise.
70441         * nscd/nscd.c (print_version): Likewise.
70442         * nss/getent.c: Likewise.
70444         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
70445         PF_CAIF, and PF_ALG.
70446         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70448 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
70450         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
70451         (modules-names): Use them.
70452         (ifunc-test-modules, ifunc-pie-tests): Define.
70453         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
70454         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
70455         (test-extras): Likewise.
70456         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
70457         $(compile-command.c).
70458         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
70459         (all-built-dso): Define.
70460         (check-textrel.out, check-execstack.out): Depend on it.
70462         * configure.in: Don't override --enable-multi-arch.
70464 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
70466         [BZ #6812]
70467         * nscd/hstcache.c (tryagain): Define.
70468         (cache_addhst): Return tryagain not notfound for temporary errors.
70469         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
70470         failed.
70472 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
70474         [BZ #10563]
70475         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
70476         to make the syscall.
70477         * sysdeps/unix/sysv/linux/setgroups.c: New file.
70479         [BZ #12378]
70480         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
70481         and fall back to matching as normal character if the string ends before
70482         the matching ']' is found.  This is what POSIX requires.
70483         * posix/testfnm.c: Adjust test result.
70484         * posix/globtest.sh: Adjust test result.  Add new test.
70485         * posix/tst-fnmatch.input: Likewise.
70486         * posix/tst-fnmatch2.c: Add new test.
70488 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
70490         * elf/Makefile (check-execstack): Revert last change.  Depend on
70491         check-execstack.h.
70492         (check-execstack.h): New target.
70493         (generated): Add check-execstack.h.
70494         * elf/check-execstack.c: Include "check-execstack.h".
70495         (main): Revert last change.
70496         (handle_file): Return zero if GNU_STACK is absent and
70497         DEFAULT_STACK_PERMS doesn't include PF_X.
70499 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
70501         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
70502         in child fails because the descriptor is already closed.
70503         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
70504         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
70505         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
70507         [BZ #12397]
70508         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
70509         syscall.
70511         [BZ #10484]
70512         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
70513         temporary buffer used to handle multi lookups locally.
70514         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
70516 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70518         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
70519         loader is ld.so.
70521 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
70523         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
70524         alignment for SSE2.
70526 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70528         [BZ #12394]
70529         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
70530         characters.  When rounding increased number of integer digits recompute
70531         number of groups.
70532         * stdio-common/tst-grouping.c: New file.
70533         * stdio-common/Makefile: Add rules to build and run tst-grouping.
70535 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
70537         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
70538         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
70540         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
70541         void.
70542         * bits/select.h: Likewise.
70544 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
70546         * po/ja.po: Update from translation team.
70548 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
70550         [BZ #11155]
70551         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
70552         implementation just like for lxstat, fxstatat, et al.
70554 2010-12-27  Jim Meyering  <meyering@redhat.com>
70556         [BZ #12348]
70557         * posix/regexec.c (build_trtable): Return failure indication upon
70558         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
70560 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
70562         [BZ #12201]
70563         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
70564         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
70565         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
70566         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
70568         [BZ #12207]
70569         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
70571         [BZ #12204]
70572         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
70573         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
70575 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
70577         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
70578         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
70579         script has SORT_BY_INIT_PRIORITY.
70580         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
70581         NO_CTORS_DTORS_SECTIONS is defined.
70582         * elf/soinit.c: Likewise.
70583         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
70584         NO_CTORS_DTORS_SECTIONS is defined.
70585         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
70586         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
70587         * sysdeps/sh/init-first.c: Likewise.
70588         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
70590 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
70592         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
70593         always use the slow path.
70595 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
70597         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
70598         similar rule which adds the sysdep directories to the header search in
70599         order to pick up the correct platform stackinfo.h.
70600         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
70601         perform test if it is, otherwise return successfully without testing.
70602         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
70603         DEFAULT_STACK_PERMS define in stackinfo.h.
70604         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
70605         defined in stackinfo.h.
70606         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
70607         DEFAULT_STACK_PERMS defined in stackinfo.h.
70608         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
70609         * sysdeps/ia64/stackinfo.h: Likewise.
70610         * sysdeps/s390/stackinfo.h: Likewise.
70611         * sysdeps/sh/stackinfo.h: Likewise.
70612         * sysdeps/sparc/stackinfo.h: Likewise.
70613         * sysdeps/x86_64/stackinfo.h: Likewise.
70614         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
70615         PF_X for powerpc64.  Retain PF_X for powerpc32.
70617 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
70619         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
70620         accurately.
70621         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
70622         GETDENTS_64BIT_ALIGNED.
70624 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
70626         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
70628 2010-12-10  Andreas Schwab  <schwab@redhat.com>
70630         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
70631         _GNU_SOURCE.
70633         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
70634         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
70635         Remove __restrict.
70636         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
70637         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
70639 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
70641         [BZ #11655]
70642         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
70643         are initialized.
70645 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
70647         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
70649 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
70651         * po/it.po: Update from translation team.
70653 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
70655         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
70656         unused codes.
70658 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
70660         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
70662 2010-11-24  Andreas Schwab  <schwab@redhat.com>
70664         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
70665         specially.
70666         (gaih_getanswer_slice): Likewise.
70668 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
70670         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
70672 2010-05-31  Petr Baudis  <pasky@suse.cz>
70674         [BZ #11149]
70675         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
70676         silently even in the chroot mode.
70678 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
70680         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
70681         last patch a bit.  Pretty printing
70683 2010-05-31  Petr Baudis <pasky@suse.cz>
70685         [BZ #10085]
70686         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
70687         initialization of skip_initgroups_dyn.
70689 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
70691         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
70692         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70694 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
70696         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
70698 2010-11-11  Andreas Schwab  <schwab@redhat.com>
70700         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
70701         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
70702         (tst-fnmatch-ENV): Set MALLOC_TRACE.
70703         ($(objpfx)tst-fnmatch-mem): New rule.
70704         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
70705         * posix/tst-fnmatch.c (main): Call mtrace.
70707 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
70709         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70710         Support Intel processor model 6 and model 0x2c.
70712 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
70714         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
70715           signed comparison.
70717 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
70719         [BZ #12205]
70720         * string/test-strncasecmp.c (check_result): New function.
70721         (do_one_test): Use it.
70722         (check1): New function.
70723         (test_main): Use it.
70724         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
70725         Support strcasecmp and strncasecmp.
70727 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
70729         [BZ #12194]
70730         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
70731         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70733 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70735         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
70736         IFUNC support.
70737         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70738         memset-x86-64.
70739         * sysdeps/x86_64/multiarch/bzero.S: New file.
70740         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
70741         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
70742         * sysdeps/x86_64/multiarch/memset.S: New file.
70743         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
70744         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70745         Set bit_Prefer_SSE_for_memop for Intel processors.
70746         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
70747         Define.
70748         (index_Prefer_SSE_for_memop): Define.
70749         (HAS_PREFER_SSE_FOR_MEMOP): Define.
70751 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
70753         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
70754         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
70756 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
70758         [BZ #12191]
70759         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70760         (__x86_64_raw_data_cache_size_half): Likewise.
70761         (__x86_64_raw_shared_cache_size): Likewise.
70762         (__x86_64_raw_shared_cache_size_half): Likewise.
70764         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70765         (__x86_64_raw_data_cache_size_half): Likewise.
70766         (__x86_64_raw_shared_cache_size): Likewise.
70767         (__x86_64_raw_shared_cache_size_half): Likewise.
70768         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
70769         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
70770         and __x86_64_raw_shared_cache_size_half.  Round
70771         __x86_64_data_cache_size_half, __x86_64_data_cache_size
70772         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
70773         to multiple of 256 bytes.
70775 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
70777         [BZ #12167]
70778         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
70779         of inacessible symlinks.  Verify result of symlink before returning it.
70780         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
70781         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
70783 2010-10-28  Erich Ritz  <erichritz@gmail.com>
70785         * math/math.h (isinf): Fix typo in comment.
70787 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
70789         * po/da.po: Update from translation team.
70791 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
70793         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
70794         is added to the list.
70796 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70797             Ulrich Drepper  <drepper@gmail.com>
70799         * elf/dl-object.c (_dl_new_object): Don't append the new object to
70800         the global list here.  Move code to...
70801         (_dl_add_to_namespace_list): ...here.  New function.
70802         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
70803         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
70804         * elf/dl-load.c (lose): Don't remove the element from the list.
70805         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
70806         (_dl_map_object): Likewise.
70808 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
70810         [BZ #12159]
70811         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
70812         into all bytes of SSE register.
70813         Patch by Richard Li <richardpku@gmail.com>.
70815 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
70817         [BZ #12140]
70818         * malloc/malloc.c (_int_free): Fill correct number of bytes when
70819         perturbing.
70821 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
70823         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
70824         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
70825         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
70826         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
70828         submachine.
70829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
70831 2010-10-22  Andreas Schwab  <schwab@redhat.com>
70833         * include/dlfcn.h (__RTLD_SECURE): Define.
70834         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
70835         mode & __RTLD_SECURE instead.
70836         (open_path): Rename preloaded parameter to secure.
70837         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
70838         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
70839         * elf/dl-deps.c (openaux): Likewise.
70840         * elf/rtld.c (struct map_args): Remove is_preloaded.
70841         (map_doit): Don't use it.
70842         (dl_main): Likewise.
70843         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
70844         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
70846 2010-09-09  Andreas Schwab  <schwab@redhat.com>
70848         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
70849         (sysd-rules-targets): Remove duplicates.
70850         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
70851         rtld-%.$o dependency.
70853 2010-10-18  Andreas Schwab  <schwab@redhat.com>
70855         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
70856         _dl_map_object do it.
70858 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
70860         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
70861         fast fma builtins, define the macros in the C99 standard.
70862         (FP_FAST_FMAF): Likewise.
70863         (FP_FAST_FMAL): Likewise.
70864         * sysdeps/x86_64/bits/mathdef.h: Likewise.
70866         * bits/mathdef.h: Update copyright year.
70867         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70869 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
70871         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
70872         builtins, define the macros in the C99 standard.
70873         (FP_FAST_FMAF): Likewise.
70874         (FP_FAST_FMAL): Likewise.
70875         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
70876         multiply/add.
70877         (FP_FAST_FMAF): Likewise.
70879 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
70881         [BZ #3268]
70882         * math/libm-test.inc (fma_test): Some new testcases.
70883         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
70884         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
70885         y and infinite z.  Do multiplication by C already in long double.
70886         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
70887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
70888         y and infinite z.  Do bitwise or of inexact bit into u.d.
70889         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
70890         * sysdeps/i386/fpu/s_fmaf.S: Removed.
70891         * sysdeps/i386/fpu/s_fma.S: Removed.
70892         * sysdeps/i386/fpu/s_fmal.S: Removed.
70894 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
70896         [BZ #3268]
70897         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
70898         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
70899         computation is not scheduled after fetestexcept.  Fix value
70900         of minimum denormal long double.
70902 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
70904         [BZ #3268]
70905         * math/libm-test.inc (fma_test): Add some more tests.
70906         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
70907         correctly.
70909 2010-10-15  Andreas Schwab  <schwab@redhat.com>
70911         * scripts/data/localplt-s390-linux-gnu.data: New file.
70912         * scripts/data/localplt-s390x-linux-gnu.data: New file.
70914 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
70916         [BZ #3268]
70917         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
70918         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
70919         instead of dbl-64.
70920         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
70921         inlines.
70922         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
70923         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
70924         if one of x and y is very large and the other is subnormal.
70925         * sysdeps/s390/fpu/s_fmaf.c: New file.
70926         * sysdeps/s390/fpu/s_fma.c: New file.
70927         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
70928         * sysdeps/powerpc/fpu/s_fma.S: New file.
70929         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
70930         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
70931         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
70933 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
70935         [BZ #3268]
70936         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
70937         fma tests.
70938         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
70939         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
70940         * sysdeps/i386/i686/multiarch/s_fma.c: Include
70941         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
70942         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
70943         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
70944         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
70946 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
70948         [BZ #12078]
70949         * posix/regcomp.c (parse_branch): One more memory leak plugged.
70950         * posix/bug-regex31.input: Add test case.
70952 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70954         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
70955         * posix/bug-regex31.input: New file.
70957         [BZ #12078]
70958         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
70959         (parse_sub_exp): Fix last change, use postorder.
70961         * posix/bug-regex31.c: New file.
70962         * posix/Makefile: Add rules to build and run bug-regex31.
70964         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
70966         [BZ #12078]
70967         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
70969         [BZ #12108]
70970         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
70971         to have entries in sys_siglist.
70973         [BZ #12093]
70974         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
70975         be NULL.
70977 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
70979         [BZ #3268]
70980         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
70981         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
70982         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
70983         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
70984         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70985         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
70986         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
70987         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
70988         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
70989         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
70990         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
70991         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
70992         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
70993         * math/ftestexcept.c (fetestexcept): Likewise.
70994         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
70995         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
70996         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
70997         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
70998         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
70999         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
71000         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71002 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
71004         [BZ #12107]
71005         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
71006         newline.
71008 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
71010         * string/bug-strstr1.c: New file.
71011         * string/Makefile: Add rules to build and run bug-strstr1.
71013 2010-10-05  Eric Blake  <eblake@redhat.com>
71015         [BZ #12092]
71016         * string/str-two-way.h (two_way_long_needle): Always clear memory
71017         when skipping input due to the shift table.
71019 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
71021         [BZ #12005]
71022         * malloc/mcheck.c: Handle large requests.
71024         [BZ #12077]
71025         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
71026         for strncmp and strncasecmp.
71027         * string/stratcliff.c: Add tests for strcmp and strncmp.
71028         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
71030 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71032         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
71033         __set_fpscr.
71035 2010-09-30  Andreas Jaeger  <aj@suse.de>
71037         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
71038         (CGROUP_SUPER_MAGIC): Define.
71039         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71040         Handle btrfs and cgroup file systems.
71041         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
71042         Likewise.
71044 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
71046         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
71047         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
71049 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71051         [BZ #12067]
71052         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
71053         trying to locate the ELF header.
71055 2010-09-27  Andreas Schwab  <schwab@redhat.com>
71057         [BZ #11611]
71058         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
71059         Mask out sign-bit copies when constructing f_fsid.
71061 2010-09-24  Petr Baudis <pasky@suse.cz>
71063         * debug/stack_chk_fail_local.c: Add missing licence exception.
71064         * debug/warning-nop.c: Likewise.
71066 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
71068         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
71069         implementing getdents64 using getdents syscall, set d_type if
71070         __ASSUME_GETDENTS32_D_TYPE.
71072 2010-09-16  Andreas Schwab  <schwab@redhat.com>
71074         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
71075         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
71077 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
71079         [BZ #12037]
71080         * posix/unistd.h: Undo change of feature selection for ftruncate from
71081         2010-01-11.
71083 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
71085         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
71086         detection.
71088 2010-09-20  Andreas Schwab  <schwab@redhat.com>
71090         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
71091         fanotify_mark.
71092         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71094 2010-09-14  Andreas Schwab  <schwab@redhat.com>
71096         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
71097         variables after CHECK_SP call.
71098         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
71100 2010-09-13  Andreas Schwab  <schwab@redhat.com>
71101             Ulrich Drepper  <drepper@redhat.com>
71103         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
71104         re-relocationg ld.so.
71105         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
71106         _dl_init_paths call.
71107         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
71108         here anymore.
71110 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
71112         * resolv/res_init.c (__res_vinit): Count the default server we added.
71114 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
71115             Ulrich Drepper  <drepper@redhat.com>
71117         [BZ #11968]
71118         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71119         (____longjmp_chk): Use %ebx for saving value across system call.
71120         Add unwind info.
71122 2010-09-06  Andreas Schwab  <schwab@redhat.com>
71124         * manual/Makefile: Don't mix pattern rules with normal rules.
71126 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71128         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
71129         operation.
71130         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
71131         * libio/iofopncook.c (_IO_cookie_init): Likewise.
71132         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
71133         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
71134         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71135         Likewise.
71137 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
71139         [BZ #11979]
71140         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
71141         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
71143 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
71145         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
71146         * sysdeps/x86_64/addmul_1.S: Likewise.
71147         * sysdeps/x86_64/lshift.S: Likewise.
71148         * sysdeps/x86_64/mul_1.S: Likewise.
71149         * sysdeps/x86_64/rshift.S: Likewise.
71150         * sysdeps/x86_64/sub_n.S: Likewise.
71151         * sysdeps/x86_64/submul_1.S: Likewise.
71153 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71155         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
71156         Define __sched_param instead of SCHED_* and sched_param when
71157         <bits/sched.h> is included with __need_schedparam defined.
71158         * bits/sched.h [__need_schedparam]
71159         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
71160         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
71161         (__defined_schedparam): Define to 1.
71162         (__sched_param): New structure, identical to sched_param.
71163         (__need_schedparam): Undefine.
71165 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
71167         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
71168         (epoll_create1): Declare.
71170         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
71172 2010-08-31  Andreas Schwab  <schwab@redhat.com>
71174         [BZ #7066]
71175         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
71176         shifting retval into place.
71178 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
71180         * nis/rpcsvc/nis.h: Update copyright notice.
71181         * nis/rpcsvc/nis.x: Likewise.
71182         * nis/rpcsvc/nis_callback.h: Likewise.
71183         * nis/rpcsvc/nis_callback.x: Likewise.
71184         * nis/rpcsvc/nis_object.x: Likewise.
71185         * nis/rpcsvc/nis_tags.h: Likewise.
71186         * nis/rpcsvc/yp.h: Likewise.
71187         * nis/rpcsvc/yp.x: Likewise.
71188         * nis/rpcsvc/ypupd.h: Likewise.
71189         * nis/yp_xdr.c: Likewise.
71190         * nis/ypupdate_xdr.c: Likewise.
71192         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
71193         mainly the body of pmap_getport.  Add parameters to specify timeouts.
71194         (pmap_getport): Use __libc_rpc_getport.
71195         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
71196         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
71197         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
71199 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
71201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
71202         fanotify_mark.
71204 2010-08-27  Roland McGrath  <roland@redhat.com>
71206         * sysdeps/i386/i686/multiarch/Makefile
71207         (CFLAGS-varshift.c): New variable.
71209 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
71211         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
71212         * sysdeps/i386/i686/multiarch/varshift.c: New file.
71214         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
71216         * sysdeps/x86_64/strlen.S: Minimal code improvement.
71218 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
71220         * sysdeps/x86_64/strlen.S: Unroll the loop.
71221         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71222         strlen-sse2 strlen-sse2-bsf.
71223         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
71224         __strlen_no_bsf if bit_Slow_BSF is set.
71225         (__strlen_sse42): Removed.
71226         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
71227         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
71229 2010-08-25  Roland McGrath  <roland@redhat.com>
71231         * sysdeps/x86_64/multiarch/varshift.S: File removed.
71232         * sysdeps/x86_64/multiarch/varshift.c: New file.
71233         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
71234         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
71235         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
71236         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71238 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
71240         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71241         strlen-sse2 strlen-sse2-bsf.
71242         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
71243         __strlen_sse2_bsf if bit_Slow_BSF is unset.
71244         (__strlen_sse2): Removed.
71245         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
71246         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
71247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
71248         bit_Slow_BSF for Atom.
71249         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
71250         (index_Slow_BSF): Define.
71251         (HAS_SLOW_BSF): Define.
71253 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
71255         [BZ #10851]
71256         * resolv/res_init.c (__res_vinit): When no server address at all
71257         is given default to loopback.
71259 2010-08-24  Roland McGrath  <roland@redhat.com>
71261         * configure.in: Remove config-name.h generation.
71262         * configure: Regenerated.
71263         * config-name.in: File removed.
71264         * scripts/config-uname.sh: New file.
71265         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
71266         ($(objdir)config-name.h): New target.
71268         * sunrpc/rpc_parse.h: Avoid nested comment.
71270 2010-08-24  Richard Henderson  <rth@redhat.com>
71271             Ulrich Drepper  <drepper@redhat.com>
71272             H.J. Lu  <hongjiu.lu@intel.com>
71274         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
71275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
71276         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
71277         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
71278         _mm_alignr_epi8 with _mm_loadu_si128.
71279         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
71280         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
71281         (__m128i_shift_right): Removed.
71282         * sysdeps/i386/i686/multiarch/varshift.h: New file.
71283         * sysdeps/i386/i686/multiarch/varshift.S: New file.
71284         * sysdeps/x86_64/multiarch/varshift.h: New file.
71285         * sysdeps/x86_64/multiarch/varshift.S: New file.
71287 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
71289         * configure.in: Move assembler checks to before sysdep dir checking.
71291 2010-08-20  Petr Baudis  <pasky@suse.cz>
71293         * LICENSES: Sync the sunrpc license.
71295 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
71297         * sunrpc/auth_des.c: Update copyright notice once again.
71298         * sunrpc/auth_none.c: Likewise.
71299         * sunrpc/auth_unix.c: Likewise.
71300         * sunrpc/authdes_prot.c: Likewise.
71301         * sunrpc/authuxprot.c: Likewise.
71302         * sunrpc/bindrsvprt.c: Likewise.
71303         * sunrpc/clnt_gen.c: Likewise.
71304         * sunrpc/clnt_perr.c: Likewise.
71305         * sunrpc/clnt_raw.c: Likewise.
71306         * sunrpc/clnt_simp.c: Likewise.
71307         * sunrpc/clnt_tcp.c: Likewise.
71308         * sunrpc/clnt_udp.c: Likewise.
71309         * sunrpc/clnt_unix.c: Likewise.
71310         * sunrpc/des_crypt.c: Likewise.
71311         * sunrpc/des_soft.c: Likewise.
71312         * sunrpc/get_myaddr.c: Likewise.
71313         * sunrpc/getrpcport.c: Likewise.
71314         * sunrpc/key_call.c: Likewise.
71315         * sunrpc/key_prot.c: Likewise.
71316         * sunrpc/openchild.c: Likewise.
71317         * sunrpc/pm_getmaps.c: Likewise.
71318         * sunrpc/pm_getport.c: Likewise.
71319         * sunrpc/pmap_clnt.c: Likewise.
71320         * sunrpc/pmap_prot.c: Likewise.
71321         * sunrpc/pmap_prot2.c: Likewise.
71322         * sunrpc/pmap_rmt.c: Likewise.
71323         * sunrpc/rpc/auth.h: Likewise.
71324         * sunrpc/rpc/auth_unix.h: Likewise.
71325         * sunrpc/rpc/clnt.h: Likewise.
71326         * sunrpc/rpc/des_crypt.h: Likewise.
71327         * sunrpc/rpc/key_prot.h: Likewise.
71328         * sunrpc/rpc/netdb.h: Likewise.
71329         * sunrpc/rpc/pmap_clnt.h: Likewise.
71330         * sunrpc/rpc/pmap_prot.h: Likewise.
71331         * sunrpc/rpc/pmap_rmt.h: Likewise.
71332         * sunrpc/rpc/rpc.h: Likewise.
71333         * sunrpc/rpc/rpc_des.h: Likewise.
71334         * sunrpc/rpc/rpc_msg.h: Likewise.
71335         * sunrpc/rpc/svc.h: Likewise.
71336         * sunrpc/rpc/svc_auth.h: Likewise.
71337         * sunrpc/rpc/types.h: Likewise.
71338         * sunrpc/rpc/xdr.h: Likewise.
71339         * sunrpc/rpc_clntout.c: Likewise.
71340         * sunrpc/rpc_cmsg.c: Likewise.
71341         * sunrpc/rpc_common.c: Likewise.
71342         * sunrpc/rpc_cout.c: Likewise.
71343         * sunrpc/rpc_dtable.c: Likewise.
71344         * sunrpc/rpc_hout.c: Likewise.
71345         * sunrpc/rpc_main.c: Likewise.
71346         * sunrpc/rpc_parse.c: Likewise.
71347         * sunrpc/rpc_parse.h: Likewise.
71348         * sunrpc/rpc_prot.c: Likewise.
71349         * sunrpc/rpc_sample.c: Likewise.
71350         * sunrpc/rpc_scan.c: Likewise.
71351         * sunrpc/rpc_scan.h: Likewise.
71352         * sunrpc/rpc_svcout.c: Likewise.
71353         * sunrpc/rpc_tblout.c: Likewise.
71354         * sunrpc/rpc_util.c: Likewise.
71355         * sunrpc/rpc_util.h: Likewise.
71356         * sunrpc/rpcinfo.c: Likewise.
71357         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
71358         * sunrpc/rpcsvc/key_prot.x: Likewise.
71359         * sunrpc/rpcsvc/klm_prot.x: Likewise.
71360         * sunrpc/rpcsvc/mount.x: Likewise.
71361         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
71362         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
71363         * sunrpc/rpcsvc/rex.x: Likewise.
71364         * sunrpc/rpcsvc/rstat.x: Likewise.
71365         * sunrpc/rpcsvc/rusers.x: Likewise.
71366         * sunrpc/rpcsvc/sm_inter.x: Likewise.
71367         * sunrpc/rpcsvc/spray.x: Likewise.
71368         * sunrpc/rpcsvc/yppasswd.x: Likewise.
71369         * sunrpc/rtime.c: Likewise.
71370         * sunrpc/svc.c: Likewise.
71371         * sunrpc/svc_auth.c: Likewise.
71372         * sunrpc/svc_authux.c: Likewise.
71373         * sunrpc/svc_raw.c: Likewise.
71374         * sunrpc/svc_run.c: Likewise.
71375         * sunrpc/svc_simple.c: Likewise.
71376         * sunrpc/svc_tcp.c: Likewise.
71377         * sunrpc/svc_udp.c: Likewise.
71378         * sunrpc/svc_unix.c: Likewise.
71379         * sunrpc/svcauth_des.c: Likewise.
71380         * sunrpc/xcrypt.c: Likewise.
71381         * sunrpc/xdr.c: Likewise.
71382         * sunrpc/xdr_array.c: Likewise.
71383         * sunrpc/xdr_float.c: Likewise.
71384         * sunrpc/xdr_mem.c: Likewise.
71385         * sunrpc/xdr_rec.c: Likewise.
71386         * sunrpc/xdr_ref.c: Likewise.
71387         * sunrpc/xdr_sizeof.c: Likewise.
71388         * sunrpc/xdr_stdio.c: Likewise.
71390         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
71391         handling.
71393 2010-08-19  Andreas Schwab  <schwab@redhat.com>
71395         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
71397 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
71399         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
71400         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
71401         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
71402         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
71403         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
71404         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
71405         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
71406         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
71407         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
71408         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
71409         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
71410         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
71411         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
71412         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
71414 2010-07-26  Anton Blanchard  <anton@samba.org>
71416         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
71417         * malloc/arena.c (heap_trim): Likewise.
71419 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
71421         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
71422         here.  Not...
71423         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
71424         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
71426 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
71428         * sysdeps/i386/elf/Makefile: New file.
71430 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71432         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
71433         from fanotify_init.
71434         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
71435         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71437 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
71439         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
71440         of strncasecmp_l.
71441         * sysdeps/multiarch/strcmp.S: Likewise.
71443 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
71445         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71446         strncase_l-nonascii.
71447         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71448         Add strncase_l-ssse3.
71449         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
71450         * sysdeps/x86_64/strcmp.S: Likewise.
71451         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
71452         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
71453         * sysdeps/x86_64/strncase.S: New file.
71454         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
71455         * sysdeps/x86_64/strncase_l.S: New file.
71456         * string/Makefile (strop-tests): Add strncasecmp.
71457         * string/test-strncasecmp.c: New file.
71459         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
71460         warning.
71462         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
71463         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
71465 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71467         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
71469 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
71471         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
71472         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
71473         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
71475 2010-05-01  Alan Modra  <amodra@gmail.com>
71477         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
71478         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
71479         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
71480         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
71481         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
71482         tidying.  Don't tail-call __sigjmp_save for static lib.
71483         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
71484         save location.
71485         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
71486         (CALL_MCOUNT): Add eh info, and nop after bl.
71487         (TAIL_CALL_SYSCALL_ERROR): New macro.
71488         (PSEUDO_RET): Use it.
71489         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
71490         Correct save location of integer regs and cr.
71491         (_dl_profile_resolve): Correct cr save location.  Delete nops
71492         after bl when SHARED.  Reduce cfi size a little by better
71493         placement of cfi directives.
71494         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
71495         make a stack frame.  Instead use parm save area as a temp.
71496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
71497         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
71498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
71499         Don't make a stack frame for parent, use parm save area.
71500         Increase child stack frame to 112 bytes.  Don't save unused reg,
71501         and adjust reg usage.  Set up cfi on error recovery and
71502         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
71503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71504         (__makecontext): Add dummy nop after jump to exit.
71505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
71506         Use correct parm save area and cr save, reduce stack frame.
71507         Correct cfi for possible PSEUDO_RET frame setup.
71508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
71509         Branch to local label emitted by PSEUDO_RET rather than
71510         __syscall_error.
71512 2010-08-12  Andreas Schwab  <schwab@redhat.com>
71514         [BZ #11904]
71515         * locale/programs/locale.c (print_assignment): New function.
71516         (show_locale_vars): Use it.
71518 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
71520         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
71521         field.
71522         (struct statfs64): Likewise.
71523         (_STATFS_F_FLAGS): Define.
71524         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
71525         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71526         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
71527         (ST_VALID): Define locally.
71528         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
71529         __statvfs_getflags, use the provided value.
71530         * sysdeps/unix/sysv/linux/kernel-features.h: Define
71531         __ASSUME_STATFS_F_FLAGS.
71533         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
71535         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
71536         Add sys/fanotify.h.
71537         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
71538         fanotify_mask for GLIBC_2.13.
71539         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
71540         fanotify_init and fanotify_mark.
71541         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71542         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
71544         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
71545         Add prlimit.
71546         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
71547         prlimit64 for GLIBC_2.13.
71548         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
71549         prlimit64.
71550         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
71551         syscall.
71552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
71553         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71554         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
71555         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
71556         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
71557         add prlimit alias.
71558         * sysdeps/unix/sysv/linux/prlimit.c: New file.
71560         [BZ #11903]
71561         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
71562         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
71564         * nss/Makefile: Add rules to build and run tst-nss-test1.
71565         * shlib-versions: Add entry for libnss_test1.
71566         * nss/nss_test1.c: New file.
71567         * nss/tst-nss-test1.c: New file.
71569         * nss/nsswitch.c (__nss_database_custom): Define new variable.
71570         (__nss_configure_lookup): Set appropriate entry in
71571         __nss_configure_lookup to true.
71572         * nss/nsswitch.h: Define enum with indeces of databases in
71573         databases and __nss_database_custom arrays.  Declare
71574         __nss_database_custom.
71575         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
71576         to avoid using nscd when custom rules are installed.
71577         * nss/getXXbyYY_r.c: Likewise.
71578         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
71580         * nss/nss_files/files-parse.c: Whitespace fixes.
71582 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
71584         [BZ #11883]
71585         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
71586         * posix/fnmatch_loop.c: Likewise.
71588 2010-07-17  Andi Kleen  <ak@linux.intel.com>
71590         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
71591         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
71592         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
71593         * Versions.def [GLIBC_2.13]: Add.
71595 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
71597         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71598         Also fail if tpwd after pwuid call is NULL.
71600 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71602         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
71603         when converting to ms.
71605 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71607         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
71608         EOPNOTSUPP errors with ENOTTY.
71609         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
71610         EOPNOTSUPP errors with ENOTTY.
71612 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
71614         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71615         Add strcasecmp_l-ssse3.
71616         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
71617         strcasecmp.
71618         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
71619         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
71620         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
71622 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
71624         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
71626         * string/Makefile (strop-tests): Add strcasecmp.
71627         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71628         strcasecmp_l-nonascii.
71629         (gen-as-const-headers): Add locale-defines.sym.
71630         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
71631         * sysdeps/x86_64/strcasecmp.S: New file.
71632         * sysdeps/x86_64/strcasecmp_l.S: New file.
71633         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
71634         * sysdeps/x86_64/locale-defines.sym: New file.
71635         * string/test-strcasecmp.c: New file.
71637         * string/test-strcasestr.c: Test both ends of the range of characters.
71638         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
71640 2010-07-29  Roland McGrath  <roland@redhat.com>
71642         [BZ #11856]
71643         * manual/locale.texi (Yes-or-No Questions): Fix example code.
71645 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
71647         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
71648         for ld.so.
71650 2010-07-27  Andreas Schwab  <schwab@redhat.com>
71652         * manual/memory.texi (Malloc Tunable Parameters): Document
71653         M_PERTURB.
71655 2010-07-26  Roland McGrath  <roland@redhat.com>
71657         [BZ #11840]
71658         * configure.in (-fgnu89-inline check): Set and substitute
71659         gnu89_inline, not libc_cv_gnu89_inline.
71660         * configure: Regenerated.
71661         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
71663 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
71665         * string/test-strnlen.c: New file.
71666         * string/Makefile (strop-tests): Add strnlen.
71667         * string/tester.c (test_strnlen): Add a few more test cases.
71668         * string/tst-strlen.c: Better error reporting.
71670         * sysdeps/x86_64/strnlen.S: New file.
71672 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
71674         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
71675         lower-latency instructions.
71677 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
71679         * string/test-strcasestr.c: New file.
71680         * string/test-strstr.c: New file.
71681         * string/Makefile (strop-tests): Add strstr and strcasestr.
71682         * string/str-two-way.h: Don't undefine MAX.
71683         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
71685 2010-07-21  Andreas Schwab  <schwab@redhat.com>
71687         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71688         strcasestr-nonascii.
71689         (CFLAGS-strcasestr-nonascii.c): Define.
71690         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
71691         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
71692         Remove unused attribute.
71694 2010-07-20  Roland McGrath  <roland@redhat.com>
71696         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
71697         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
71698         ld.so.cache was broken.  With it, there is no way to disable dsocaps
71699         like LD_HWCAP_MASK can disable hwcaps.
71701 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71703         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
71705 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
71707         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
71708         call in strcasestr.
71709         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
71710         __strcasestr_sse42_nonascii.
71711         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
71712         strcasestr-nonascii.c.
71713         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
71715 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
71717         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
71718         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
71719         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
71720         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
71722 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
71724         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
71725         fcntl.
71727 2010-07-06  Andreas Schwab  <schwab@redhat.com>
71729         [BZ #11577]
71730         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
71731         dl_signal_cerror.
71733 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
71735         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
71736         _PC_PIPE_BUF using F_GETPIPE_SZ.
71738 2010-07-05  Roland McGrath  <roland@redhat.com>
71740         * manual/arith.texi (Rounding Functions): Fix rint description
71741         implicit in round description.
71743 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
71745         * elf/Makefile: Fix linking for a few tests to make recent linker
71746         happy.
71748 2010-06-30  Andreas Schwab  <schwab@redhat.com>
71750         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71751         $(common-objpfx)libc_nonshared.a.
71753 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
71755         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
71756         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
71757         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71758         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71759         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
71760         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
71761         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71762         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
71764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
71765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
71766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
71768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
71770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
71771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
71772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
71773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
71775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
71777         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
71778         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
71779         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
71780         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
71781         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
71782         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
71783         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
71784         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
71785         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
71786         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
71787         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
71788         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
71789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
71790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
71791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
71792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
71793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
71794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
71795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
71796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
71797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
71798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
71799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
71800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
71801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
71802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
71804 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
71806         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
71807         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
71808         * string/memmove.c (memmove): Renamed to ...
71809         (MEMMOVE): ...this.  Default to memmove.
71810         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
71811         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
71812         (END_CHK): Define.
71813         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71814         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
71815         mempcpy-ssse3-back memmove-ssse3-back.
71816         * sysdeps/x86_64/multiarch/bcopy.S: New file .
71817         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
71818         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
71819         * sysdeps/x86_64/multiarch/memcpy.S: New file.
71820         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
71821         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
71822         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
71823         * sysdeps/x86_64/multiarch/memmove.c: New file.
71824         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
71825         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
71826         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
71827         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
71828         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
71829         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
71830         Define.
71831         (index_Fast_Copy_Backward): Define.
71832         (HAS_ARCH_FEATURE): Define.
71833         (HAS_FAST_REP_STRING): Define.
71834         (HAS_FAST_COPY_BACKWARD): Define.
71836 2010-06-21  Andreas Schwab  <schwab@redhat.com>
71838         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71839         Restore proper fallback handling.
71841 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
71843         [BZ #11701]
71844         * posix/group_member.c (__group_member): Correct checking loop.
71846         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
71847         OOM in getpwuid_r correctly.  Return error number when the caller
71848         should return, otherwise -1.
71849         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
71850         call returning > 0 value.
71851         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
71853 2010-06-07  Andreas Schwab  <schwab@redhat.com>
71855         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
71856         libc_nonshared.a from targets in modules-names.
71858 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
71860         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
71861         requires it.
71863 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
71865         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
71866         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
71867         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
71868         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
71870 2010-06-02  Andreas Schwab  <schwab@redhat.com>
71872         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
71874 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
71876         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
71877         and F_GETPIPE_SZ.
71878         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71879         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71880         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71881         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71882         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71883         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
71885 2010-06-14  Roland McGrath  <roland@redhat.com>
71887         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
71889 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
71891         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
71892         __REDIRECT followed by __THROW.
71893         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
71894         * posix/getopt.h (getopt): Likewise.
71896 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71898         * hurd/lookup-at.c (__file_name_lookup_at): Accept
71899         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
71900         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
71901         in AT_FLAGS.
71902         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
71903         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
71905 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
71907         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
71909 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
71911         [BZ #11640]
71912         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71913         Properly check family and model.
71915 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
71917         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
71919 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
71921         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
71923 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
71925         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
71926         symbol reference.
71928 2010-05-19  Andreas Schwab  <schwab@redhat.com>
71930         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
71931         symbol reference.
71933 2010-05-21  Andreas Schwab  <schwab@redhat.com>
71935         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
71936         and internal_recvmmsg.
71937         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
71938         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
71939         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
71940         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
71942         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
71943         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71944         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71946 2010-05-20  Andreas Schwab  <schwab@redhat.com>
71948         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
71950 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
71952         POWER7 optimizations.
71953         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
71954         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
71956 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
71958         * version.h: Update for 2.13 development version.
71960 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
71962         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
71963         exceptions.  Return 0.
71965 2010-05-07  Roland McGrath  <roland@redhat.com>
71967         * elf/ldconfig.c (main): Add a const.
71969 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
71971         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
71972         (args_options): Add no-idn option.
71973         (ahosts_keys_int): Add idn_flags to ai_flags.
71974         (parse_option): Handle 'i' option to clear idn_flags.
71976         * malloc/malloc.c (_int_free): Possible race in the most recently
71977         added check.  Only act on the data if no current modification
71978         happened.
71980 See ChangeLog.17 for earlier changes.